Jorge Arellano Cid wrote:
On Sun, Dec 09, 2012 at 04:14:01PM +0000, Jeremy Henty wrote:
Everything that sends the start_send_page DPI command also sends a url attribute with it, but I think this attribute is always ignored.
Dillo processes the command in capi.c but it does nothing with it because the Cache is already set up to receive the following raw data. So it doesn't look at any attributes. The only other thing that receives a start_send_page is the view source DPI and it doesn't look at any of the attributes either (it extracts a url from the previous tag in the stream, which it then sends back to Dillo to be ignored).
View source shows the URL as page title.
Yes, but it gets that url from the open_url tag that Dillo sends first. The DPI then reads the start_send_page tag but ignores its url attribute. Nothing reads the url attribute from any start_send_page tag. Regards, Jeremy Henty