Andrew M. Bishop <[EMAIL PROTECTED]> wrote:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=203882
> Two things that I sometimes get asked for as new features in WWWOFFLE
> are the ability to change URLs or to modify the contents of web pages
> (both using a user supplied program).
> 
> In both cases these are not features that I have a very strong feeling
> for adding to WWWOFFLE.  It would take a lot of CPU effort to pass
> every URL or every page through an external script.  You have the
> overhead of starting the scripting engine and people are going to want
> to use perl or other fully featured script languages not simple shell
> scripts for this.

I think this would be a very useful feature, saving a lot of bandwidth
and disk space for some sites, but not implemented as an external
script, but implemented internally in WWWOFFLE in C, in such a way that
one could write in the config file:

[<URL-SPEC>] wash-cgi = <string>

which would remove any CGI parameter which has the <string> in
it, for example:

http://www.simplus.pl/*   wash-cgi = 'PHPSESSID'
http://allegro.pl/*       wash-cgi = 'st=gtext'
http://cgi.ebay.com/*     wash-cgi = 'ssPageName'

I don't think such implementation would use too much CPU effort.
Especially the ssPageName is very annoying on eBay, it has an argument
with a number which changes with each e-mail notification about an item,
washing it would save a lot of bandwith here.

-- 
Miernik             _________________________  xmpp:[EMAIL PROTECTED]
___________________/_______________________/      mailto:[EMAIL PROTECTED]
Protect Europe from a legal disaster. Petition against software patents
http://www.noepatents.org/index_html?LANG=en


Reply via email to