View Single Post
Old 04-04-2008, 12:46 PM   #223
delphidb96
Wizard
delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.
 
Posts: 2,999
Karma: 300001
Join Date: Jan 2007
Location: Citrus Heights, California
Device: TWO Kindle 2s, one each Bookeen Cybook Gen3, Sony PRS-500, Axim X51V
Quote:
Originally Posted by tompe View Post
I really do not know what you are not understanding.

The current algorithm seems just to count characters and they count markup characters and characters in the <head> that is not displayed. To be able to count lines in an html file you have to render it in some way.

Remember also that the Cybook can read html files.
Why? I mean a good html parser module can be used to ignore any <metadata>, <title>, etc. sections while just counting the displayed characters. That's one of the reasons why html parsers were created.

And to state that the Cybook can read html files ignores the 800-pound-gorilla - that it can't handle external links. This isn't a problem with monolithic html ebooks, but is a real pain-in-the-ass for multi-file html ebooks.

Derek
delphidb96 is offline   Reply With Quote