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 09-27-2017, 03:03 AM   #151
AlanHK
Fanatic
AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40AlanHK is slicker than a case of WD-40
 
AlanHK's Avatar
 
Posts: 505
Karma: 73392
Join Date: Apr 2014
Device: PW-3, Android phone
This may have to be referred to unpacker coders, but:

Imported from a KF8 using the KindleImport plugin, and every file had code like this:

Code:
<body id="7629">
Which of course caused epubcheck to error since the numeric id is illegal (giving the obscure "without colons" message).

the toc.ncx was fine though, it had

Code:
<navPoint id="np_4" playOrder="4">
Can these ids be made conformant when the epub is created?
AlanHK is offline   Reply With Quote
Old 09-27-2017, 06:05 PM   #152
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: 21,535
Karma: 117061760
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm not doing a lot of extra diddling of the xhtml/xml that KindleUnpack extracts from a binary Kindlebook. The plugin is intended to get the kindlebook into Sigil as an editable Epub with as little modification as possible. From there it's up to the user to get it all cleaned up and compliant.

Changing an xhtml id would require parsing every single xhtml file and css file to determine if the id was used in a link or a css selector that would need to be subsequently updated.

KindleUnpack devs probably won't be very receptive to the idea either. Mainly because KindleUnpack is used to inspect/study the contents of Kindlebooks. As such, it tries very hard not to change anything it doesn't have to.

Last edited by DiapDealer; 09-27-2017 at 06:11 PM.
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
[Plugin] ePub3-itizer - epub3 output plugin for Sigil KevinH Plugins 330 01-07-2020 12:24 PM
epubcheck plugin for Sigil Doitsu Plugins 291 12-30-2019 04:47 PM
kindlegen plugin for Sigil Doitsu Plugins 130 11-11-2019 03:24 AM
[Plugin] PunctuationSmarten Sigil plugin DiapDealer Plugins 80 09-01-2019 01:43 AM
smoothRemove_v010 plugin for Sigil kbanelas Plugins 15 01-27-2017 06:51 PM


All times are GMT -4. The time now is 12:14 PM.


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