View Single Post
Old 11-17-2019, 07:49 AM   #177
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by KevinH View Post
Sigil doesn't need to use that mediatype until it has to update links because of a rename or a move. If you do not do either, the broken media type is just that. However once you rename or move, Sigil will be unable to update links in that file because it does not know what type of xml file it is.
I don't think I clearly explained what I meant by the rename or move scenario. If I rename any file in the epub, I get a popup that just says:
Code:
Unsupported XML media-type: application/vnd.adobe-page-map+xml
That doesn't tell me which file in the epub doesn't have a valid media type.

Your proposal of checking each file on load/import and popping up a warning on load sounds like the best fix. If that proves to be not too easy, can you please reference the offending file's name in the popup so the user at least knows which file that they need to adjust?
snarkophilus is offline   Reply With Quote