Quote:
Originally Posted by HarryT
I am talking here about images displayed in HTML pages, via <img> tags. Any ePub renderer or converter, no matter how it works, has got to parse those links and hence will "know" that the file is required.
|
No. No it doesn't. Why would it?
All the images are listed in the manifest. You parse that, follow the links
in that manifest (because they're there; they have to be, it's in the spec) and you just add those files to whatever new container you are filling up.
No need to write an HTML parser. Saves a
ton of work. For some strange reason, I get the feeling that was the whole point of the manifest section: you can get to all the files in the publication
without having to go through all the HTML files and scan them line by line.