On Sun, May 12, 2002 at 08:56:37PM +0300, Chen Shapira wrote:

> > -----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.

import os
versions = os.popen("finger @kernel.org") 
if (len(versions)):
   print versions

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

The problem is how to integrate this within zope. I don't have time to
research zope, nor do I have the necessary usernames/passsords
whatnot. If you care to share them, I'll take care of it. 
-- 
The ill-formed Orange
Fails to satisfy the eye:       http://vipe.technion.ac.il/~mulix/
Segmentation fault.             http://syscalltrack.sf.net/

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

Reply via email to