2009/1/12 Girish Redekar <girish.rede...@gmail.com>:
> is still tedious as font sizes in html/css can be expressed in multiple
> methods (like <FONT> tags, sizes in pixels, relative sizes, default larger
> size for header etc). One can get down and code each of these cases, but I
> was hoping someone has already (and reliably) worked on the same

So basically you want a full-on headless browser? Pretty non-trivial.

Your best bet would probably be to hook into a Mozilla instance
somehow (PyXPCOM, anyone?) and try to read the styles from the DOM
there.

Cheers,

Dirkjan
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to