Quote:
Originally Posted by BeckyEbook
This function not fix guide section in OPF file (links to .html files remain)
|
That... is a good point.
Here's a version that also updates <guide><reference> tags pointing to renamed .xhtml files.
Quote:
Originally Posted by JimmXinu
@Bilal93 approached me to add some features to Modify ePub. Which I have.
Bilal93 has asked that I also make a public version containing the added features in case others find them useful.
Features added:
- Add spine rtl - Make sure <spine> tag has attribute page-progression-direction="rtl".
- Remove spine rtl - Make sure <spine> tag doesnt have attribute page-progression-direction="rtl".
- Rename .html files .xhtml - Change any .html files to .xhtml.
- Remove files named - Remove files with any of the names (comma separated) below. Case insensitive.
I also bumped the version number. I leave it up to the community whether these features are worth including in the general release.
This version also addresses the _remove_files_if_exist() issue from my previous post.
|
EDIT: BTW, yes, .htm is also changed with that option.
And actually, no I didn't do a name collision check. In theory, it would be nice, but seriously, if your epub has chap01.htm and chap01.xhtml in the same dir in the same epub, you have bigger problems.
EDIT2: Implementation rejected by the current maintainer. Test version removed.