View Single Post
Old 06-15-2009, 01:04 PM   #53
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by HarryT View Post
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.
Valloric is offline   Reply With Quote