[KongchangAI]
Concept

spine

The spine is an element in the EPUB OPF file that references resource IDs from the manifest via itemref elements in linear reading order, and is the authoritative source for defining a book's reading order.

Timeline (last 90 days)

Oct 19

In an EPUB's OPF file, the manifest lists all resource entries by ID, while the spine lists these IDs in reading order.

Unverified50%
Oct 19

An EPUB's table of contents file (toc.ncx or, in EPUB3, the nav document) may not match the spine order and cannot be equated with the book's linear structure.

Unverified50%
Oct 19

Parsing the spine is the correct way to determine EPUB reading order: for each itemref, resolve its ID to the manifest entry and then read the corresponding file; if a spine entry points to a non-XHTML resource, it should be skipped gracefully.

Unverified50%
Oct 17

In EPUB spine entries, the linear="no" attribute indicates that the document is auxiliary content that can be skipped during linear reading.

Unverified50%
Oct 17

Translating paragraph by paragraph is too slow and loses context; the actual pipeline extracts all paragraphs of the whole book in spine order, sends them to the LLM in batches of 50 paragraphs, and maps the results back in the same order to the corresponding elements in each XHTML file.

Unverified50%
Oct 12

In an OPF file, the manifest lists every file in the book, and the spine is an ordered set of itemref elements that specifies the reading order in declaration sequence

Unverified50%
Oct 12

The correct parsing process is: read container.xml to locate the OPF, parse the manifest to build an id-to-href mapping, then traverse and convert in the itemref declaration order of the spine

Unverified50%
Oct 12

EPUB 3 additionally introduced the Navigation Document (nav.xhtml) as a human-readable table of contents, but the spine remains the authoritative source for programmatic parsing of reading order

Unverified50%

All Facts (8)

Unverified

In an EPUB's OPF file, the manifest lists all resource entries by ID, while the spine lists these IDs in reading order.

50%
Unverified

An EPUB's table of contents file (toc.ncx or, in EPUB3, the nav document) may not match the spine order and cannot be equated with the book's linear structure.

50%
Unverified

Parsing the spine is the correct way to determine EPUB reading order: for each itemref, resolve its ID to the manifest entry and then read the corresponding file; if a spine entry points to a non-XHTML resource, it should be skipped gracefully.

50%
Unverified

In EPUB spine entries, the linear="no" attribute indicates that the document is auxiliary content that can be skipped during linear reading.

50%
Unverified

Translating paragraph by paragraph is too slow and loses context; the actual pipeline extracts all paragraphs of the whole book in spine order, sends them to the LLM in batches of 50 paragraphs, and maps the results back in the same order to the corresponding elements in each XHTML file.

50%
Unverified

In an OPF file, the manifest lists every file in the book, and the spine is an ordered set of itemref elements that specifies the reading order in declaration sequence

50%
Unverified

The correct parsing process is: read container.xml to locate the OPF, parse the manifest to build an id-to-href mapping, then traverse and convert in the itemref declaration order of the spine

50%
Unverified

EPUB 3 additionally introduced the Navigation Document (nav.xhtml) as a human-readable table of contents, but the spine remains the authoritative source for programmatic parsing of reading order

50%

Source Articles