Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2024, 06:45 PM   #1
Evil Overlord
Enthusiast
Evil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-booksEvil Overlord has learned how to read e-books
 
Posts: 43
Karma: 972
Join Date: Jul 2011
Device: Kobo Aura One, Kobo Libra Colour
Question Clean up various OEPBS references?

How can I clean up references to virtual OEBPS folders?

I used Calibre's EPUB merge feature to merge 9 EPUBs of a series for my own convenience.

(Because there were some overlapping file names?) Calibre created 9 virtual sub-folders. While I had the omnibus, I took the chance to harmonize style definitions, images, etc. across books in the omnibus.

There are a couple of recurring images (for scene breaks) across all volumes. I necessarily chose one iteration of the image for harmonization. For example: src="../../../9/OEBPS/Images/MyImage.png"

I'd like to get rid of the virtual folder, and just refer to, e.g., src="../../Images/MyImage.png"

I'm not sure how to go about that. Could I just use Regex to remove/simplify all the references in content.opf (e.g., to convert "1/OEBPS/Text" to "Text") and then recreate nav.html, or do I need to look elsewhere as well?

* I grant that this probably wasn't the best way to harmonize things. That effort grew out of the omnibus rather than being a primary purpose of the merger.

** I also grant that the virtual folders probably don't make much difference. But it will make me feel better if things are neat and tidy.
Evil Overlord is offline   Reply With Quote
Reply

Tags
cleanup, oebps, virtual folder


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Short Fiction Martinez, Brian: A Good Clean, A Harsh Clean. v1. PDF, 13th Dec 2010 BrianMartinez Other Books 0 12-13-2010 09:27 PM
Short Fiction Martinez, Brian: A Good Clean, A Harsh Clean. v1. 13th Dec 2010 BrianMartinez Kindle Books 0 12-13-2010 09:25 PM
Short Fiction Martinez, Brian: A Good Clean, A Harsh Clean. v1. 13th Dec 2010 BrianMartinez ePub Books 0 12-13-2010 09:23 PM
multiple references troymc Sigil 3 05-06-2010 03:20 PM
Unutterably Silly Why all the Lovecraft references? Mobile Mason Lounge 3 12-03-2009 12:53 PM


All times are GMT -4. The time now is 06:46 AM.


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