Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-14-2017, 05:40 PM   #1
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,888
Karma: 10764058
Join Date: Dec 2010
Device: Kindle PW2
[Plugin] epub2 output

Updated: September 1, 2017
Current Version: "0.2.2"

This simple plugin will convert most valid commercial epub3 fiction books to valid epub2 books for use with older epub2 apps and readers. (Some post-editing might still be required.)

Note that this plugin is not a full-fledged epub3 converter; it handles only the most frequently used epub3 tags and attributes and won't work with enhanced epub3 books that contain JavaScript, MathML, audio, video or SMIL files.

Installation:

1. Select Manage Plugins from the Plugins menu and select Use Bundled Python, if it isn't already selected.
2. Click Add Plugin and select ePub2_v0.2.2.zip. This will install the epub2 output plugin, which you can select via Plugins > Output > ePub2.

Settings:

The plugin doesn't come with a GUI, but a couple of settings can be changed via ePub2.json entries:

Code:
{
  "delete_epub_type": false,
  "output_dir": "C:\\Users\\User\\Desktop",
  "ncx_from_nav": false
}
delete_epub_type: Change this value to true, if you want the plugin to delete epub:type attributes. (By default, they'll be changed to class attributes.)

output_dir: Change this path, if you don't want the plugin to write epub2 files to the Desktop. (Note that on Windows machines, you'll need to use two backslashes in path names.)

ncx_from_nav: Change this value to true, if you want the plugin to always generate a new toc.ncx file from the Nav xhtml file.

License: GNU General Public License v3 (GPL-3)
Attached Files
File Type: zip ePub2_v0.2.2.zip (8.2 KB, 42 views)

Last edited by Doitsu; 09-01-2017 at 05:05 PM. Reason: Attached new version with minor bug fixes
Doitsu is offline   Reply With Quote
Advert
Old 08-15-2017, 10:08 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 17,038
Karma: 89654632
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Thanks! I'll get it added to the plugin index later today.
DiapDealer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] ePub3-itizer - epub3 output plugin for Sigil KevinH Plugins 244 08-23-2017 11:38 AM
[Conversion Output] KePub Output Plugin jgoguen Plugins 273 08-14-2017 08:01 AM
[Plugin] KePub Output djazz Plugins 33 01-15-2017 10:25 AM
HTMLZ output plugin? Toxaris Plugins 12 01-06-2015 07:39 AM
Plugin not customizable: Plugin: HTML Output does not need customization flyingfoxlee Conversion 2 02-24-2012 02:24 AM


All times are GMT -4. The time now is 02:41 PM.


MobileRead.com is a privately owned, operated and funded community.