-
1. Re: directly revising underlying html/xml ePub code
[Jongware] Oct 9, 2009 3:47 PM (in response to cyberbaffled)Textedit? Notepad? Both HTML and XML should be regular ASCII files (probably using UTF8 encoding), and can dircetly be edited with the simplest of editors.
.. so that an ePub reader subsequently recognizes it ..
Do you mean that your ePub reader (there are quite a few ones) does not recognize it? You can hardly blaim ID for that If there is something like a "magic code" that your reader specifically needs, you have to insert it yourself.
If you are into javascripting and are using the Dreamweaver/XHTML export to generate your stuff, you might be interested in the actual source of this. It's not a binary program; rather, it consists of a huge set of Javascripts that you can edit at will. Provided you can make head or tails of it -- I'd tag it to be "extremely expert code". Nevertheless, if you need your file(s) to start with a custom set of tags, for example, you might be able to locate and amend that piece of code.
-
2. Re: directly revising underlying html/xml ePub code
cyberbaffled Oct 11, 2009 8:51 AM (in response to [Jongware])The problem with Notepad is that the code is displayed in one long line that is difficult to fathom. I'm hoping to find an editor that keeps the code formated. The mobilereader forum tells me that a program called sigil will accomplish what I want. When I specified that the code be saved by the (sought) editor in ePub format I was thinking that for example importing the file into Notepad and subsequently saving only saves it as a txt file; not in the ePub format.
Thanks for your input.
-
3. Re: directly revising underlying html/xml ePub code
Jeremy bowmangraphics-DQuh1B Oct 11, 2009 11:27 AM (in response to cyberbaffled)Have you tried PDFXML Inspector, free from Adobe Labs?
http://labs.adobe.com/technologies/mars/
(You may need to look around a bit to find the link you want -- which is for the stand-alone inspector program, not the Acrobat plug-in.)
I haven't used it all that much, but when I first started looking into epub files, I found it very helpful as it made the anatomy of the whole thing very clear.
Jeremy
-
4. Re: directly revising underlying html/xml ePub code
cyberbaffled Oct 11, 2009 3:06 PM (in response to Jeremy bowmangraphics-DQuh1B)Jeremy,
I've installed the Labs application and will check it out. Thanks for your idea.
-
5. Re: directly revising underlying html/xml ePub code
cyberbaffled Oct 12, 2009 3:23 PM (in response to Jeremy bowmangraphics-DQuh1B)I looked into this. What the "inspector" examines is files of type pdfxml and not epub; and the former file type requires an Acrobat 9 plug-in to generate, which in turn requires Acrobat 9, which I don't own.
-
6. Re: directly revising underlying html/xml ePub code
Jeremy bowmangraphics-DQuh1B Oct 13, 2009 12:25 AM (in response to cyberbaffled)Are you looking at the Acrobat plug-in, which I said you should avoid, or the stand alone PDFXML inspector? The latter displays and edits the contents of epub files for me!
-
8. Re: directly revising underlying html/xml ePub code
cyberbaffled Oct 16, 2009 8:52 AM (in response to Jeremy bowmangraphics-DQuh1B)Jeremy,
I've installed the pdfxml Inspector and it works as advertised. Previously to change xml code in an .epub doc I was having to (1) rename the doc as .zip, (2) unzip the file, (3) make the changes in the xml using Dreamweaver, (4) zip the files back together again, and (5) rename the file .epub. The Inspector eliminates 4 of the 5 steps. Thanks greatly for your idea. If this was a mobile reader forum I'd definitely increase your "karma."
Now the remaining problem I have to solve is why my graphical images don't display in Digital Editions, even though they are present in the ePub's OEPBS folder.
Richard.



