09-23-2013, 10:46 AM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Change opf filename from content.opf to title.opf
Hi. When the opf filename is the same as the title of the book, it makes it easier for me when I'm converting to Kindle or other formats.
I haven't noticed it before, but Sigil always outputs the opf file with the name "content.opf." There doesn't appear to be any place in Preferences to change this behavior. Is there a way to change the way the opf file is named? Thanks in advance. |
09-23-2013, 11:24 AM | #2 |
Grand Sorcerer
Posts: 27,591
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
There's no way to customize that in Sigil. You'd have to change it manually, outside of Sigil (the filename and its corresponding entry in the container file), and then properly zip everything back up.
You do have me curious, though, how changing the filename would affect the conversion to the Kindle format at all. Not that the name really matters much, but I've only really ever seen content.opf or package.opf being used, myself. |
Advert | |
|
09-23-2013, 12:03 PM | #3 |
Member
Posts: 11
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
kindlegen and opf name
Hi. I've never had any problem converting books to kindle with opf files named with the title.
I usually build ebooks by writing HTML by hand or by visual basic programs and always name the opf file with the book's title. When one is working on a large number of books, it's very convenient to name the opf file with the titles. Unfortunately, Sigil doesn't permit renaming them. Changing it manually in container.xml and the opf file is no use. Sigil just reverts them both to "content.opf" I rely on Sigil so completely, though, I'll just have to live with it. Thanks for the info. |
09-23-2013, 12:44 PM | #4 | ||
Grand Sorcerer
Posts: 27,591
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
I'm still not following your process exactly, though. You say you your HTML by hand, but yet say you "rely on Sigil so completely." After writing your HTML by hand and then finishing everything off in Sigil, why not just use the resulting epub as the source (or master) document for all future edits/conversions? Then the name of the opf file would never really come into play. Last edited by DiapDealer; 09-23-2013 at 12:51 PM. |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? | DHahn | Kindle Formats | 3 | 04-17-2012 04:06 AM |
Sigil corrupting content.opf (0.4, 0.5) | cyana | Sigil | 21 | 02-11-2012 05:25 PM |
Can I cut and paste the Calibre opf into the ePub opf? | wannabee | ePub | 0 | 07-12-2011 02:09 AM |
News Recipes Q's: Filename logic, subdirectory creation, stop cover and OPF? | spedinfargo | Calibre | 5 | 06-20-2011 06:12 PM |
OPF file OPS/package.opf is missing | Run2Eat | ePub | 2 | 05-31-2011 06:52 PM |