go-toolkit
go-toolkit copied to clipboard
Return pageNavigation instead of pageBreakNumbers when inferring metadata
printPageNumbers has been gradually deprecated in favor of two different values:
pageBreakMarkerswhich is meant to indicate that the text of the publication contains page break markers using ARIA- and
pageNavigationwhich is meant to indicate that the publication contains a list of pages, usually based on HTML IDs
The current inference technique is based on the presence of pageList in the RWPM output which can either come from:
- a Navigation Document in EPUB 3.x
- or an NCX in EPUB 2.x
Given the nature of what is inferred here, the toolkit should return pageNavigation instead of printPageNumbers.