[Dillo-dev]Protocol Handlers
Hello there, I was playing with the dpi's and made one for ed2k:// links (based on the Hello World example). It was just a quicky, and not generally useful, but I was wondering if anyone was working on a general protocol handler. Along these lines: - Dillo doesn't recognize the protocol so sends it to say external.dpi - external.dpi reads an external.conf file that has a list of protocols and respective external handlers. - If it finds a matching protocol it sends the url(%s), or just the url data (%r), to the handler. - If there's no matching protocol it could show an edit page (like bookmarks modify) for the external.conf. This could be used for mailto:, nntp:, telnet:, etc.. Anyhow, I starting playing with it, and I thought I should check to see if anyone else was also working on it before I went any further. Also, if there's any advice on the approach, or code I should look at, that would be cool. I am no expert C programer, I'm just reading the docs and modifying the code the other fellows already did. (I hope that's ok) -- Lee Bigelow <ligelowbee@yahoo.com>
Hi, On Thu, Oct 28, 2004 at 04:07:06AM -0230, Lee Bigelow wrote:
Hello there, I was playing with the dpi's and made one for ed2k:// links (based on the Hello World example). It was just a quicky, and not generally useful, but I was wondering if anyone was working on a general protocol handler.
This is a good idea and some prototypes have been tried in the past. It'd be very good to implement this as a dpi. Please read: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2004-October/002278.html and ask Matthias (and Lars IIRC). If you're interested I can answer/develop/help with the dpi part.
Along these lines:
- Dillo doesn't recognize the protocol so sends it to say external.dpi
- external.dpi reads an external.conf file that has a list of protocols and respective external handlers.
- If it finds a matching protocol it sends the url(%s), or just the url data (%r), to the handler.
- If there's no matching protocol it could show an edit page (like bookmarks modify) for the external.conf.
This could be used for mailto:, nntp:, telnet:, etc..
Anyhow, I starting playing with it, and I thought I should check to see if anyone else was also working on it before I went any further.
Also, if there's any advice on the approach, or code I should look at, that would be cool. I am no expert C programer, I'm just reading the docs and modifying the code the other fellows already did. (I hope that's ok)
Yes, that's OK, and good for the project. :-) -- Cheers Jorge.-
participants (2)
-
Jorge Arellano Cid
-
Lee Bigelow