Quote:
Originally Posted by tompe
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