Quote:
Originally Posted by davidspring
I have xhtml files that I have exported from LibreOffice that I would like to edit with Sigil and then import to my Joomla website. Joomla requires that all images be placed in a folder called “images”. I can create folders inside of the images folders to keep my images organized for example folders called images/chapter1, images/chapter2, etc. This makes the relative URL for Chapter 1 images: images/chapter1/image1name.jpg., etc. My relative URLs are correct in the Xhtml document I exported from Libre Writer. However, when the xhtml file is opened in Sigil, Sigil places all the images in a folder called Images and changes the relative URL for each image to Image/image1name.jpg, etc. I am hoping someone can tell me how to change the name of the Sigil Images folder from Images (upper case I) to images (lower case I). I am also hoping the developers of Sigil can change Sigil so that it does not change the relative URLs of images when importing an HTML or XHTML file - but instead uses the folder structure of the HTML or XHTML file. Thanks for your assistance in this important matter!
|
Perhaps I'm just stupid--it's been suggested--but I don't yet see the relevance of Joomla to this? You are, apparently, exporting files/images from Libre Office, to Sigil, yes? And you make whatever edits you wish--although I don't see how that pertains to the images, but, carrying on--and then at some point, you have an ePUB, presumably the way you want it.
Why not simply unzip the ePUB, copy the folders, rename them "images" and regex the interior, and export same to Joomla? It's not as though Joomla has a native eReading app, last I looked?
Perhaps I misunderstand how Joomla plays into this. The "import/export" part of your discussion, thus far, seems to be LO to Sigil, for editing. Then you have an ePUB, in which, yes, the image folder is named Images.
At what point, and in what context, is the ePUB folder imported to Joomla? Is the entire ePUB imported? That doesn't seem right, because it would set up its own structure, presumably. Are you trying to create blog articles, or articles (of whatever name) for Joomla, using an ePUB? (Our CMS for our site is Joomla, so I have some passing familiarity with it--the CMS that's too "for dummies" to be fast and easy, and too rigid to be great for advanced CMS usage...(sigh))
If that's the case, I'd just unzip the ePUB. Rename the folders. Regex the HTML,and import. That's likely the fastest method,
IF (that's the caveat),
IF I understand what you are trying to do.
Is that what you're doing? Trying to create articles, in Joomla, using ePUB formats?
Hitch