View Single Post
Old 07-23-2014, 01:11 PM   #91
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,860
Karma: 6120478
Join Date: Nov 2009
Device: many
Hi theDucks,

Are there really epubs out there that use the exact same filename (including extension) more than once in the same ebook? Or are you talking about importing raw html when just starting to create the book?

if the latter, then eventually you want to have all of the text filenames be unique correct? If so, there may be a way to change Sigil to add a numeric unique identifier at the end of the filename (just before the extension) for files the exact same name being imported. Similar to how Mac OS X handles things when you drag a file of the same name ot the same folder.

Would that be of any value, or would you really like to have duplicate file names just placed in multiple folders?

If the latter, I am not sure that is a good idea in the long run. Just like some ebook editors who repeat identical target id attributes in every file ... it is just asking for trouble. Given how Kindlegen and other packages jam all of the source into one file, then extract the skeletons and the fragments repeating ids and repeating filenames would not be a good mix, imho.

KevinH

Quote:
Originally Posted by theducks View Post
DiapDealer has it.

Sigil has a single OEBS folder structure (Text, Images, Styles)

You can NOT import multiple HTML safely with any overlapping path filenames because Sigil flattens the import, then shoves those into the above structure. All filenames must be unique to survive a Sigil import.

Last edited by KevinH; 07-23-2014 at 01:14 PM.
KevinH is online now   Reply With Quote