[cfgeeks] lynx/wget cgi

Liston Bias bias at pobox.com
Sat Mar 17 10:09:14 EDT 2007


Cool, thanks...  I will save, that could come in handy.

I seem to have got the basic sh working so will go with that for now, 
since it is now is production.  The scripts were used on private network 
to communicate with foundry load balancer to enable l7 health checking.


On Sat, 17 Mar 2007, Kevin P. Inscoe wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Liston Bias wrote:
>> I am trying to use something like lynx/wget in a cgi script.
>>
>> Based on parsing, I want to add comments to the top/bottom of webpage
>> that is present but I am only getting text for output.
>>
>> Does anyone know what I need here?
>>
>> -----------------------------------
>>
>> #!/bin/sh
>> echo ""Content-type: text/html"
>> echo
>> lynx -source "http://url/"
>
> I forgot I had this yesterday but if it helps here is a CGI Perl script
> I cobbled together for Albert a few years back.
>
> http://www.kevininscoe.com/pub/scripts/fhp_display.pl.txt
>
> Hah and it's still working (well except for the Google map part)
>
> http://inscoe.org/fhp/
>


More information about the cfgeeks mailing list