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: 4,263
Karma: 14242649
Join Date: Dec 2010
Device: Kindle PW2
[Plugin] epub2 output

Updated: August 12, 2018
Current Version: "0.2.4"

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.4.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.4.zip (6.4 KB, 37 views)

Last edited by Doitsu; 08-12-2018 at 06:04 AM. Reason: Attached new version with minor bug fixes
Doitsu is offline   Reply With Quote
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: 18,843
Karma: 97805504
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
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 298 09-07-2018 08:53 PM
[Plugin] ePub3-itizer - epub3 output plugin for Sigil KevinH Plugins 307 08-12-2018 02:27 PM
[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:55 AM.


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