Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 05-15-2012, 02:49 PM   #256
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Ok, thx Kovid. I've since found a few bits in the conversion pipeline which actually do affect covers such as "Clean" and "MergeMetadata" in the structure section. That calibre_raster_cover stuff just was very weird though, because it does quite a complex piece of work to generate it all in the input plugin and then it gets thrown away by Clean.

I'll keep plugging away to see what else turns up. Since I know I can't reuse much of that code anyway its going to be a case of writing my own logic but just trying to find as many of the edge cases to handle that calibre has built up over the years. And fingers crossed I avoid some of the problems that exit in the current conversion handling that result in orphaned TOC cover entries or pages containing only a broken cover link... well eventually, anyway.
kiwidude is online now   Reply With Quote
Old 05-15-2012, 02:53 PM   #257
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC calibre_raster_cover has its type set to cover, which Clean will not throwaway. MergeMetadata will throw it away if the user specifies a cover as a command line option, since that cover obviously takes precedence over the cover from the input plugin.
kovidgoyal is offline   Reply With Quote
Old 05-15-2012, 02:58 PM   #258
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Ahhh, maybe that's the secret then - the conversion dialog is doing the equivalent of the command line option of passing in a cover. I hadn't yet dissected Clean/Merge Metadata in detail, I just saw that they both "did stuff" related to the cover entries and that the calibre_raster_cover is "gone" by the time it hits the end of that structural section.
kiwidude is online now   Reply With Quote
Old 05-15-2012, 03:01 PM   #259
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@JSWolf - you have been hovering near my Ignore List for a long time. Stop trolling and hijacking threads with your personal tirades, no-one gives a crap about this except you, and it has absolutely nothing to do with this plugin, which will as I said earlier on this thread inherit your calibre default setting.

If you post again on this subject on this thread I am going to use my power as an administrator to delete all your posts from it. Or at least move them into a "JSWolf's bitching" thread. Stop spamming.
kiwidude is online now   Reply With Quote
Old 05-21-2012, 06:50 AM   #260
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
I see that the calibre code when it does a conversion discards all of the guide reference entries which are of the "other." type. So if there are thumbnail images of various sizes etc they are all discarded.
e.g. after conversion, the following three will be removed
Code:
  <guide>
    <reference href="Images/sand_9781101140536_msr_cvi_r1.jpg" title="Cover" type="other.ms-coverimage-standard" />
    <reference href="Images/sand_9781101140536_msr_cvt_r1.jpg" title="ThumbImageStandard" type="other.ms-thumbimage-standard" />
    <reference href="Images/sand_9781101140536_msr_ppl_r1.jpg" title="PPCThumbnailImage" type="other.ms-thumbimage" />
and replaced with calibre's cover page:
Code:
  <guide>
    <reference href="Text/titlepage.xhtml" title="Cover" type="cover" />
I assume in theory I could just replace that top entry above for a minimal change to the ePub. Perhaps Kovid can tell me the rationale for removing all the other entries? Wondering whether I should do the same or not.
kiwidude is online now   Reply With Quote
Old 05-21-2012, 07:09 AM   #261
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
All the other.* entries are removed for sanity. They serve no purpose (are a legacy from LIT files) and just complicate everything down the line.
kovidgoyal is offline   Reply With Quote
Old 05-21-2012, 12:33 PM   #262
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,798
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I've never seen a need for a thumbnail image for ePub and for the Kindle. When I see them, I do remove them as all they do is make the eBook larger for no reason.
JSWolf is offline   Reply With Quote
Old 05-25-2012, 11:21 AM   #263
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Beta for next version - insert/replace & delete covers

Alrighty then... after an absolutely horrific number of hours of trawling through thousands of lines of calibre conversion pipeline code and rewriting to the specific needs of this plugin, here at last is a feature that has been "on the list" since the plugin was first incepted - the ability to insert/replace covers for an ePub (without doing a conversion obviously). Yay...

And while I was at it I also added a "Remove existing cover" option, for those of you who had converted text files or whatever and want to rip out the calibre generated covers without reconverting.

You will need calibre 0.8.53 to install this beta, because the plugin needs a fix in the calibre code Kovid kindly sorted for me. However you really should be upgrading to this release anyways - in recent weeks Kovid has made a number of important fixes/changes to the ePub conversions which address some of the problems it used to have - mucho thanks!

The plugin has various ways of attempting to identify a cover page, removing what it can safely for it, inserting a new cover page (respecting your default options for whether to use SVG or not), rescaling the cover image if required, updating any TOC entry and setting all the appropriate internal manifest data including the device specific workarounds that calibre's conversion pipeline does.

I've also rewritten a few of the other features (removing unused image files and remove broken covers) and quite a number of bits of the core in order to do the job "properly". So if you spot any other features broken, please yell. Likewise it would be great to hear from any Mac OS/Unix users to verify these features still work for them since I can only test it on Windows...

Needless to say make sure you have a backup of your ePub before trialling the new features in this beta phase in case you hit a combination I haven't tested yet.

If you have a problem, just PM me a link to the ePub in its *before* state so I can easily replicate it. Thanks for the help with testing...
Attached Thumbnails
Click image for larger version

Name:	Screenshot_NewOptions.png
Views:	337
Size:	33.9 KB
ID:	86860   Click image for larger version

Name:	EditMetadata.png
Views:	292
Size:	107.3 KB
ID:	87177   Click image for larger version

Name:	Win7EditMetadata.png
Views:	295
Size:	258.7 KB
ID:	87183  

Last edited by kiwidude; 06-01-2012 at 02:07 PM. Reason: DO NOT DOWNLOAD THIS ZIP - sending code to home
kiwidude is online now   Reply With Quote
Old 05-25-2012, 11:50 AM   #264
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,798
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I'll test this new cover modification with iBooks and see if it allows for the cover to be shown.

Here is what works just in case this doesn't.

Quote:
Originally Posted by wannabee View Post
This is what works for me.
Add the bold meta statement to your opf file refering to the cover image.
Refer to it in the manifest.
To make it open at the cover add the guide statement

Code:
<?xml version="1.0"?>
<package xmlns="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" unique-identifier="bookid" version="2.0">
<metadata>
<meta name="cover" content="cover-image" />
<dc:title>deleted</dc:title>
<dc:creator>deleted</dc:creator>
<dc:creator>deleted</dc:creator>
<dc:subject>breasts</dc:subject>
<dc:subject>breast cancer</dc:subject>
<dc:subject>cancer prevention</dc:subject>
<dc:subject>women's health</dc:subject>
<dc:subject>hormones</dc:subject>
<dc:subject>nutrition</dc:subject>
<dc:subject>diet</dc:subject>
<dc:description>deleted</dc:description>
<dcublisher>deleted</dcublisher>
<dc:date>2011</dc:date>
<dc:source />
<dc:relation />
<dc:coverage />
<dc:rights>All rights reserved</dc:rights>
<dc:identifier id="bookid">urn:uuid:deleted</dc:identifier>
<dc:language>en</dc:language>
<dcublisher>deleted</dcublisher>
</metadata>
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml" />
<item id="bcpg" href="bcpg.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-1" href="bcpg-1.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-2" href="bcpg-2.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-3" href="bcpg-3.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-4" href="bcpg-4.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-5" href="bcpg-5.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-6" href="bcpg-6.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-7" href="bcpg-7.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-8" href="bcpg-8.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-9" href="bcpg-9.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-10" href="bcpg-10.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-11" href="bcpg-11.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-12" href="bcpg-12.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-13" href="bcpg-13.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-14" href="bcpg-14.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-15" href="bcpg-15.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-16" href="bcpg-16.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-17" href="bcpg-17.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-18" href="bcpg-18.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-19" href="bcpg-19.xhtml" media-type="application/xhtml+xml" />
<item id="bcpg-20" href="bcpg-20.xhtml" media-type="application/xhtml+xml" />
<item id="cover-image" href="images/your-cover-name.jpeg" media-type="image/jpeg" />
<item id="breast-final-fmt-jpeg" href="images/breast%20final_fmt.jpeg" media-type="image/jpeg" />
<item id="breast-structure-fmt-jpeg" href="images/breast-structure_fmt.jpeg" media-type="image/jpeg" />
<item id="breast1-fmt-jpeg" href="images/breast1_fmt.jpeg" media-type="image/jpeg" />
<item id="breast2-3-fmt-jpeg" href="images/breast2_3_fmt.jpeg" media-type="image/jpeg" />
<item id="breast4-fmt-jpeg" href="images/breast4_fmt.jpeg" media-type="image/jpeg" />
<item id="lymph-nodes-fmt-jpeg" href="images/lymph-nodes_fmt.jpeg" media-type="image/jpeg" />
<item id="css" href="template.css" media-type="text/css" />
</manifest>
<spine toc="ncx">
<itemref idref="bcpg" />
<itemref idref="bcpg-1" />
<itemref idref="bcpg-2" />
<itemref idref="bcpg-3" />
<itemref idref="bcpg-4" />
<itemref idref="bcpg-5" />
<itemref idref="bcpg-6" />
<itemref idref="bcpg-7" />
<itemref idref="bcpg-8" />
<itemref idref="bcpg-9" />
<itemref idref="bcpg-10" />
<itemref idref="bcpg-11" />
<itemref idref="bcpg-12" />
<itemref idref="bcpg-13" />
<itemref idref="bcpg-14" />
<itemref idref="bcpg-15" />
<itemref idref="bcpg-16" />
<itemref idref="bcpg-17" />
<itemref idref="bcpg-18" />
<itemref idref="bcpg-19" />
<itemref idref="bcpg-20" />
</spine>
<guide>
<reference type="cover" href="the-cover-filename.xhtml" />
</guide>
</package>
JSWolf is offline   Reply With Quote
Old 05-25-2012, 11:56 AM   #265
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
New beta uploaded above - thx to JimmXinu for spotting the jackets functionality got "broke".

@JSWolf - first I have seen of that particular post, but in theory it should do what you want I think... except the content id is going to have a slightly different value (one of the calibre conversion workarounds I replicated to make it "cover", not "cover-image").
kiwidude is online now   Reply With Quote
Old 05-26-2012, 03:36 AM   #266
Firedancer885
Occassional Beta Tester
Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.
 
Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
Hi Kiwidude,

I just tried the new feature on Linux, and got this error:

Here is the error message:
Code:
calibre, version 0.8.53
HIBA: Modify ePub failed: No ePub files were updated

Modify ePubs
Logfile for book ID 245 (Three Warriors (Mariah's version) / Mariah)
245
  Modifying:  /tmp/calibre_0.8.53_tmp_dWcgQt/__4YUp_modify_epub/245.epub
	Insert or replace cover
	...Looking for guide cover reference
	...Looking for meta cover
	...Looking for other.ms-* guide references to clean out
	...Writing new cover image and titlepage html
	  New cover image written to: cover.jpeg
	  New titlepage html written to: titlepage.xhtml
	...Updating manifest and TOC for the new cover
	  Manifest item added: titlepage.xhtml (titlepage)
	  Manifest item added: cover.jpeg (cover)
	  Meta item inserted: cover:cover
	  Spine item inserted: titlepage at pos: 0
Three Warriors (Mariah's version) - ERROR: Traceback (most recent call last):
  File "calibre_plugins.modify_epub.modify", line 69, in process_book
  File "calibre_plugins.modify_epub.modify", line 180, in _process_book
  File "calibre_plugins.modify_epub.modify", line 649, in _insert_replace_cover
  File "calibre_plugins.modify_epub.covers", line 57, in insert_or_replace_cover
  File "calibre_plugins.modify_epub.covers", line 367, in _add_new_cover_to_manifest
  File "calibre_plugins.modify_epub.container", line 459, in add_to_guide
IndexError: list index out of range

ePub not changed after 0.15 seconds
Can you help? The only thing checked was the "insert or replace cover" option.
Firedancer885 is offline   Reply With Quote
Old 05-26-2012, 05:13 AM   #267
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@Firedancer885 - I would need to look at the epub to confirm, but it looks to me like the .opf file inside your epub does not have a <guide> element in it. Any chance you could either PM me a link to the epub, or else use the Tweak epub feature, grab the contents of the .opf file inside it and post them in a spoiler on this thread?

Not having a <guide> entry while "unusual" is probably not illegal as far as an epub specification is concerned, so I will need to add some code to add it to the .opf manifest before trying to add the cover reference inside it. However I would like to confirm that is indeed the case in your situation.
kiwidude is online now   Reply With Quote
Old 05-26-2012, 05:41 AM   #268
Firedancer885
Occassional Beta Tester
Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.Firedancer885 can teach chickens to fly.
 
Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
I use the Fanfictiondownloader plugin to grab new fanfiction and update the ones already in my library. I'll try the plugin on another of them and see what happens.

Yup, I tried 3 different stories grabbed with FFDL from 2 different sites, all give the same error. The ones not downloaded with FFDL I could modify without a problem.

I think the problem is with the FFDL template.

Spoiler:
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="fanficdownloader-uid" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"><dc:creator opf:role="aut" opf:file-as="Aspeninthesunlight">Aspeninthesunlight</dc:creator>
<dc:identifier id="fanficdownloader-uid">fanficdownloader-uid:archive.skyehawke.com-u781-s5036</dc:identifier><dc:title>A Year Like None Other</dc:title><dc:contributor opf:role="bkp">fanficdownloader [http://fanficdownloader.googlecode.com]</dc:contributor><dc:rights/><dc:date opf:event="publication">2004-12-03</dc:date><dc:date opf:event="creation">2012-05-14</dc:date><dc:date opf:event="modification">2004-12-02T23:00:00+00:00</dc:date><meta content="2007-03-25T00:00:00" name="calibre:timestamp"/><dc:description>COMPLETE. It all started with a letter from home and family. Except, Harry doesn't really have either, does he? He's about to get them. A Snape-adopts-Harry story providing an alternate 6th year. Winner: Multifaceted Best Genfic, Best Draco Fic.</dc:description><dc:publisher>archive.skyehawke.com </dc:publisher><dc:identifier opf:scheme="URL">http://archive.skyehawke.com/story.php?no=5036</dc:identifier><dc:source>http://archive.skyehawke.com/story.php?no=5036</dc:source><meta name="calibre:title_sort" content="A Year Like None Other,"/>
<meta name="calibre:series" content="A Year Like None Other"/>
<meta name="calibre:series_index" content="1.0"/>
<meta name="calibre:rating" content="0.0"/>
<meta name="calibre:user_categories" content="{}"/>
<meta name="calibre:author_link_map" content="{&quot;Aspeninthesunlight&quot;: &quot;http://archive.skyehawke.com/authors.php?no=781&quot;}"/>
<dc:subject>Fanfiction</dc:subject>
<dc:subject>HP</dc:subject>
<dc:subject>Drama</dc:subject>
<dc:subject>Completed</dc:subject>
<dc:subject>Harry Potter</dc:subject>
<dc:subject>Draco Malfoy</dc:subject>
<dc:subject>Severus Snape</dc:subject>
<dc:language>en</dc:language>
<meta name="calibre:user_metadata:#megjegyzes" content="{&quot;is_category&quot;: true, &quot;#extra#&quot;: null, &quot;kind&quot;: &quot;field&quot;, &quot;is_custom&quot;: true, &quot;is_csp&quot;: false, &quot;colnum&quot;: 1, &quot;column&quot;: &quot;value&quot;, &quot;rec_index&quot;: 22, &quot;search_terms&quot;: [&quot;#megjegyzes&quot;], &quot;link_column&quot;: &quot;value&quot;, &quot;label&quot;: &quot;megjegyzes&quot;, &quot;is_multiple&quot;: null, &quot;datatype&quot;: &quot;text&quot;, &quot;#value#&quot;: null, &quot;category_sort&quot;: &quot;value&quot;, &quot;table&quot;: &quot;custom_column_1&quot;, &quot;is_editable&quot;: true, &quot;is_multiple2&quot;: {}, &quot;display&quot;: {}, &quot;name&quot;: &quot;Megjegyzés&quot;}"/>
<meta name="calibre:user_metadata:#olvasott" content="{&quot;is_category&quot;: false, &quot;#extra#&quot;: null, &quot;kind&quot;: &quot;field&quot;, &quot;is_custom&quot;: true, &quot;is_csp&quot;: false, &quot;colnum&quot;: 5, &quot;column&quot;: &quot;value&quot;, &quot;rec_index&quot;: 23, &quot;search_terms&quot;: [&quot;#olvasott&quot;], &quot;link_column&quot;: &quot;value&quot;, &quot;label&quot;: &quot;olvasott&quot;, &quot;is_multiple&quot;: null, &quot;datatype&quot;: &quot;bool&quot;, &quot;#value#&quot;: null, &quot;category_sort&quot;: &quot;value&quot;, &quot;table&quot;: &quot;custom_column_5&quot;, &quot;is_editable&quot;: true, &quot;is_multiple2&quot;: {}, &quot;display&quot;: {}, &quot;name&quot;: &quot;Olvasott&quot;}"/>
<meta name="calibre:user_metadata:#complete" content="{&quot;is_category&quot;: false, &quot;#extra#&quot;: null, &quot;kind&quot;: &quot;field&quot;, &quot;is_custom&quot;: true, &quot;is_csp&quot;: false, &quot;colnum&quot;: 6, &quot;column&quot;: &quot;value&quot;, &quot;rec_index&quot;: 24, &quot;search_terms&quot;: [&quot;#complete&quot;], &quot;link_column&quot;: &quot;value&quot;, &quot;label&quot;: &quot;complete&quot;, &quot;is_multiple&quot;: null, &quot;datatype&quot;: &quot;bool&quot;, &quot;#value#&quot;: null, &quot;category_sort&quot;: &quot;value&quot;, &quot;table&quot;: &quot;custom_column_6&quot;, &quot;is_editable&quot;: true, &quot;is_multiple2&quot;: {}, &quot;display&quot;: {}, &quot;name&quot;: &quot;Kész&quot;}"/>
</metadata>
<manifest>
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/>
<item href="OEBPS/stylesheet.css" id="style" media-type="text/css"/>
<item href="OEBPS/title_page.xhtml" id="title_page" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0001.xhtml" id="file0001" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0002.xhtml" id="file0002" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0003.xhtml" id="file0003" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0004.xhtml" id="file0004" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0005.xhtml" id="file0005" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0006.xhtml" id="file0006" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0007.xhtml" id="file0007" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0008.xhtml" id="file0008" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0009.xhtml" id="file0009" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0010.xhtml" id="file0010" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0011.xhtml" id="file0011" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0012.xhtml" id="file0012" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0013.xhtml" id="file0013" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0014.xhtml" id="file0014" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0015.xhtml" id="file0015" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0016.xhtml" id="file0016" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0017.xhtml" id="file0017" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0018.xhtml" id="file0018" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0019.xhtml" id="file0019" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0020.xhtml" id="file0020" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0021.xhtml" id="file0021" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0022.xhtml" id="file0022" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0023.xhtml" id="file0023" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0024.xhtml" id="file0024" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0025.xhtml" id="file0025" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0026.xhtml" id="file0026" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0027.xhtml" id="file0027" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0028.xhtml" id="file0028" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0029.xhtml" id="file0029" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0030.xhtml" id="file0030" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0031.xhtml" id="file0031" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0032.xhtml" id="file0032" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0033.xhtml" id="file0033" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0034.xhtml" id="file0034" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0035.xhtml" id="file0035" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0036.xhtml" id="file0036" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0037.xhtml" id="file0037" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0038.xhtml" id="file0038" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0039.xhtml" id="file0039" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0040.xhtml" id="file0040" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0041.xhtml" id="file0041" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0042.xhtml" id="file0042" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0043.xhtml" id="file0043" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0044.xhtml" id="file0044" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0045.xhtml" id="file0045" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0046.xhtml" id="file0046" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0047.xhtml" id="file0047" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0048.xhtml" id="file0048" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0049.xhtml" id="file0049" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0050.xhtml" id="file0050" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0051.xhtml" id="file0051" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0052.xhtml" id="file0052" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0053.xhtml" id="file0053" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0054.xhtml" id="file0054" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0055.xhtml" id="file0055" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0056.xhtml" id="file0056" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0057.xhtml" id="file0057" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0058.xhtml" id="file0058" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0059.xhtml" id="file0059" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0060.xhtml" id="file0060" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0061.xhtml" id="file0061" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0062.xhtml" id="file0062" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0063.xhtml" id="file0063" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0064.xhtml" id="file0064" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0065.xhtml" id="file0065" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0066.xhtml" id="file0066" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0067.xhtml" id="file0067" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0068.xhtml" id="file0068" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0069.xhtml" id="file0069" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0070.xhtml" id="file0070" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0071.xhtml" id="file0071" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0072.xhtml" id="file0072" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0073.xhtml" id="file0073" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0074.xhtml" id="file0074" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0075.xhtml" id="file0075" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0076.xhtml" id="file0076" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0077.xhtml" id="file0077" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0078.xhtml" id="file0078" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0079.xhtml" id="file0079" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0080.xhtml" id="file0080" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0081.xhtml" id="file0081" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0082.xhtml" id="file0082" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0083.xhtml" id="file0083" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0084.xhtml" id="file0084" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0085.xhtml" id="file0085" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0086.xhtml" id="file0086" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0087.xhtml" id="file0087" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0088.xhtml" id="file0088" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0089.xhtml" id="file0089" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0090.xhtml" id="file0090" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0091.xhtml" id="file0091" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0092.xhtml" id="file0092" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0093.xhtml" id="file0093" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0094.xhtml" id="file0094" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0095.xhtml" id="file0095" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0096.xhtml" id="file0096" media-type="application/xhtml+xml"/>
<item href="OEBPS/file0097.xhtml" id="file0097" media-type="application/xhtml+xml"/>
</manifest>
<spine toc="ncx">
<itemref idref="title_page" linear="yes"/>
<itemref idref="file0001" linear="yes"/>
<itemref idref="file0002" linear="yes"/>
<itemref idref="file0003" linear="yes"/>
<itemref idref="file0004" linear="yes"/>
<itemref idref="file0005" linear="yes"/>
<itemref idref="file0006" linear="yes"/>
<itemref idref="file0007" linear="yes"/>
<itemref idref="file0008" linear="yes"/>
<itemref idref="file0009" linear="yes"/>
<itemref idref="file0010" linear="yes"/>
<itemref idref="file0011" linear="yes"/>
<itemref idref="file0012" linear="yes"/>
<itemref idref="file0013" linear="yes"/>
<itemref idref="file0014" linear="yes"/>
<itemref idref="file0015" linear="yes"/>
<itemref idref="file0016" linear="yes"/>
<itemref idref="file0017" linear="yes"/>
<itemref idref="file0018" linear="yes"/>
<itemref idref="file0019" linear="yes"/>
<itemref idref="file0020" linear="yes"/>
<itemref idref="file0021" linear="yes"/>
<itemref idref="file0022" linear="yes"/>
<itemref idref="file0023" linear="yes"/>
<itemref idref="file0024" linear="yes"/>
<itemref idref="file0025" linear="yes"/>
<itemref idref="file0026" linear="yes"/>
<itemref idref="file0027" linear="yes"/>
<itemref idref="file0028" linear="yes"/>
<itemref idref="file0029" linear="yes"/>
<itemref idref="file0030" linear="yes"/>
<itemref idref="file0031" linear="yes"/>
<itemref idref="file0032" linear="yes"/>
<itemref idref="file0033" linear="yes"/>
<itemref idref="file0034" linear="yes"/>
<itemref idref="file0035" linear="yes"/>
<itemref idref="file0036" linear="yes"/>
<itemref idref="file0037" linear="yes"/>
<itemref idref="file0038" linear="yes"/>
<itemref idref="file0039" linear="yes"/>
<itemref idref="file0040" linear="yes"/>
<itemref idref="file0041" linear="yes"/>
<itemref idref="file0042" linear="yes"/>
<itemref idref="file0043" linear="yes"/>
<itemref idref="file0044" linear="yes"/>
<itemref idref="file0045" linear="yes"/>
<itemref idref="file0046" linear="yes"/>
<itemref idref="file0047" linear="yes"/>
<itemref idref="file0048" linear="yes"/>
<itemref idref="file0049" linear="yes"/>
<itemref idref="file0050" linear="yes"/>
<itemref idref="file0051" linear="yes"/>
<itemref idref="file0052" linear="yes"/>
<itemref idref="file0053" linear="yes"/>
<itemref idref="file0054" linear="yes"/>
<itemref idref="file0055" linear="yes"/>
<itemref idref="file0056" linear="yes"/>
<itemref idref="file0057" linear="yes"/>
<itemref idref="file0058" linear="yes"/>
<itemref idref="file0059" linear="yes"/>
<itemref idref="file0060" linear="yes"/>
<itemref idref="file0061" linear="yes"/>
<itemref idref="file0062" linear="yes"/>
<itemref idref="file0063" linear="yes"/>
<itemref idref="file0064" linear="yes"/>
<itemref idref="file0065" linear="yes"/>
<itemref idref="file0066" linear="yes"/>
<itemref idref="file0067" linear="yes"/>
<itemref idref="file0068" linear="yes"/>
<itemref idref="file0069" linear="yes"/>
<itemref idref="file0070" linear="yes"/>
<itemref idref="file0071" linear="yes"/>
<itemref idref="file0072" linear="yes"/>
<itemref idref="file0073" linear="yes"/>
<itemref idref="file0074" linear="yes"/>
<itemref idref="file0075" linear="yes"/>
<itemref idref="file0076" linear="yes"/>
<itemref idref="file0077" linear="yes"/>
<itemref idref="file0078" linear="yes"/>
<itemref idref="file0079" linear="yes"/>
<itemref idref="file0080" linear="yes"/>
<itemref idref="file0081" linear="yes"/>
<itemref idref="file0082" linear="yes"/>
<itemref idref="file0083" linear="yes"/>
<itemref idref="file0084" linear="yes"/>
<itemref idref="file0085" linear="yes"/>
<itemref idref="file0086" linear="yes"/>
<itemref idref="file0087" linear="yes"/>
<itemref idref="file0088" linear="yes"/>
<itemref idref="file0089" linear="yes"/>
<itemref idref="file0090" linear="yes"/>
<itemref idref="file0091" linear="yes"/>
<itemref idref="file0092" linear="yes"/>
<itemref idref="file0093" linear="yes"/>
<itemref idref="file0094" linear="yes"/>
<itemref idref="file0095" linear="yes"/>
<itemref idref="file0096" linear="yes"/>
<itemref idref="file0097" linear="yes"/>
</spine>
</package>
Firedancer885 is offline   Reply With Quote
Old 05-26-2012, 05:47 AM   #269
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Thx Firedancer - I can see from that opf file that indeed it is missing a <guide> reference as I thought. As to why the ePubs don't have that, not knowing anything about FFDL as I don't use it I couldn't say, perhaps if JimmXinu spots this he can comment.

Certainly my plugin should cope better with this situation regardless, I've already made the fix which I will post soon, got something else I want to look into first.
kiwidude is online now   Reply With Quote
Old 05-26-2012, 06:42 AM   #270
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
New beta version

This contains a few small fixes - download from the previous post here.

It should now handle epubs without a <guide> element in the opf manifest (as per FFDL it seems) and now also won't fail if you happen to tick the "Rewrite CSS" option at the same time.

Please let me know here how you are getting on with it - particularly as I said previously Mac OS or Linux users as I am relying on you to test the changes there.

How about JSWolf - does the ePub now work with iBooks as you posted about?
kiwidude is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any web-to-epub plugin for internet browser? bthoven ePub 7 07-10-2011 05:14 AM
[Old Thread] Reading epub on viewer inexplicably changes the time stamp of epub greenapple Library Management 20 03-19-2011 10:18 PM
Easy way to modify thread subscription emails in bulk? snipenekkid Feedback 11 02-06-2011 03:47 AM
Another plugin dev question DiapDealer Plugins 2 12-11-2010 01:46 PM
Epub plugin dev DiapDealer Plugins 15 11-12-2010 09:36 AM


All times are GMT -4. The time now is 08:23 AM.


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