GtkHTML 0.1 question, bug?!?!




 Hi,

 I am using gnome-python the latest. Gtkhmtl works fine until you load 
urls.

 I am not sure how the python bindings use gtkhtml or python urllib 
stuff, but all relative urls are scrapped somehow. Which means that it 
will look for <img src="gifs/whatever.png"> locally instead of 
relatively to the base url I gave it.

 I have used the gtkhtml_demo.py stuff as basic ingredient. For python 
illiterates

 you usually use something like urllib.urlopen(url) which returns the 
whole page as raw data that you then feed to gtkhtml using its write 
method.

 And this where I don't know how things go, but relative urls don't 
work, and believe me when I say all out there are usually relative 
stuff.

   





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]