> -----Original Message-----
> From: Muli Ben-Yehuda [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 12, 2002 1:33 PM
> To: Chen Shapira
> Cc: 'Shlomi Fish'; 'iglu-web'
> Subject: Re: Our "Latest Kernel" Box
> 

> Fichs. Why do it on the client side, when it can be done on the server
> side? All it requires a one line cgi script to finger kernel.org  and
> output the result. THe reason I did not implement it yet is that doing
> it within zope is not trivial, and I did not have the time to delve
> into it. 

Running the script is simple:
os.system("/bin/finger kernel.org") in an external method should do the
trick.

The difficult part is in catching the reply. The output isn't returned by
the function, it is sent to stdout, and Zope is using stdout for something
other than writing to the browser.

If you care to take over the research from here, enjoy.

Chen.

----------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED]
Archives available at http://www.mail-archive.com/[email protected]/

Reply via email to