-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some kind of edition tracker inside the generated EPUBs #46
Comments
If we can get a date instead of a version number, then at least in EPUB 3, it looks like We should also probably include publication date. |
As part of this, a few invisible structural improvements: * Use the same cover HTML everywhere, instead of one per book. * Include each chapter's publication date as microdata in each output chapter. * Move each chapter's original URL from a HTML comment to microdata. And a few possibly-visible improvements: * Include the publication date for each book in the EPUB's metadata. (It's set to the last chapter's publication date.) * Add a last-modified date to the EPUB metadata, equal to the date the EPUB was generated. This might suffice for #46, but you could also imagine something better... * Add a landmark for the beginning of the content, which should allow some readers to skip past the cover when desired. * Stop marking the cover as "auxiliary", which makes sure the cover appears in certain viewers (such as Calibre). Fixes #45.
As of fba981f there is a This isn't fully satisfactory, because we would ideally want to output the same version/modified date for multiple people building at separate times, as long as the contents are the same. Possible improvements:
Rejected ideas:
|
It'd be nice, if one sees a worm-scraper-produced EPUB in the wild, to know what version it is, and therefore how many of the text fixups it has.
The ideal version of this would only count changes that cause different EPUB outputs, but I don't think that's feasible without error-prone manual updates. So we'll probably just inject the worm-scraper version.
The text was updated successfully, but these errors were encountered: