-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
9 changed files
with
115 additions
and
123 deletions.
There are no files selected for viewing
File renamed without changes
This file was deleted.
Oops, something went wrong.
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<title>Cover</title> | ||
<style> | ||
body { | ||
text-align: center; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
img { | ||
max-width: 100%; | ||
height: 100%; | ||
margin: 0 auto; | ||
} | ||
</style> | ||
</head> | ||
<body epub:type="cover"> | ||
<img src="cover.jpg" alt="" role="doc-cover"/> | ||
</body> | ||
</html> |