View Single Post
Old 02-10-2011, 10:55 AM   #1
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Fontencrypt.py: Figiure it out

I've been having trouble with Paul Durrant's Fontencrypt.py script (Thanks, Paul!) and I think I've figured it out:

Calibre outputs a dc:identifier line that looks like this:
Quote:
<dc:identifier id="uuid_id" opf:scheme="uuid">4e577f7f-4adb-4322-abc7-bd30293c822b</dc:identifier>
For Paul's script to work, it needs to look like this:
Quote:
<dc:identifier id="uuid_id" opf:scheme="uuid">urn:uuid:4e577f7f-4adb-4322-abc7-bd30293c822b</dc:identifier>
and I don't know how to get calibre to do this; sure I could hand-hack the file, or try to botch encrypter script even more than I have already, but I'm at a bit of a loss as to how to do that, too.

Ideas?

-brewt

p.s. I can't spell headlines in a hurry in the morning - I'm "figuring" it out, doh.

Last edited by brewt; 02-10-2011 at 11:45 AM. Reason: typos
brewt is offline   Reply With Quote