Re: apt protocol handler

Simon Edwards <[email protected]>
Newsgroups gmane.comp.kde.debian
Message-ID <[email protected]>
On Mon, 19 Jan 2004 10:23 pm, Kevin Krammer wrote:
> Hi again,
> 
> thanks for all your input, special thanks to Marcin Pawlik for the help on 
> apt.
> 
> This is my current concept for an apt protocol handler:
> 
> - Input is an URL: format not yet specified, input welcome

A small technical point. You don't need a new URL protocol per se. Consider:

* The user clicks on the install now link.
* The link is to a small text file containing info about the new apt source.
* The server sends the file with the mimetype application/x-aptsource for 
example.
* Client side application/x-aptsource is associated with your small handler 
program.
* Konq downloads the file and starts your handler.
* The handler does its thing.

This is the same way that realaudio streams are started. No special foobar:// 
protocols.

cheers,

-- 
Simon Edwards             | Guarddog Firewall
[email protected]       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.