View Single Post
Old 01-25-2018, 02:36 AM   #5
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by GrannyGrump View Post
@AlanHK -- It seems you can have comments in the *manifest* section, I see them all the time in Gutenberg books. But apparently not in the Metadata section.
Well, epubcheck didn't raise a flag in either case, and it's pretty strict.

Anyway, Sigil deletes comments in the Manifest too. Does it when you open them so unless you crack the epub with another tool, you'll never know.

One I just got at random (https://www.gutenberg.org/ebooks/56410) originally had this:
Code:
<manifest>
    <!--Image: 530 x 800 size=113823 -->
    <item media-type="image/jpeg" href="@public@vhost@g@gutenberg@html@files@56410@56410-h@images@cover.jpg" id="item1"/>
In Sigil the comment is deleted and the text URL encoded, to become:

Code:
<manifest>
    <item id="item1" href="Images/%40public%40vhost%40g%40gutenberg%40html%40files%4056410%4056410-h%40images%40cover.jpg" media-type="image/jpeg"/>
Gutenberg uses pretty annoying and extremely long filenames, if I get one first thing I do is rename them all.

Last edited by AlanHK; 01-25-2018 at 02:58 AM.
AlanHK is offline   Reply With Quote