View Single Post
Old 01-03-2025, 05:41 PM   #568
jwes
Connoisseur
jwes began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Jul 2023
Device: none
Quote:
Originally Posted by KevinH View Post
As for base url, I prepend the path of the stored epub to the bookpath (properly handling url encode and decode if needed) to create an absolute file path to the xhtml file in question then use Qt's routine to create a url from the absolute file path.
As far as I can tell, I need basedir from wrapper.py, which is ebook_root or outdir if the file has been written. I don't see a function to get that.
jwes is offline   Reply With Quote