On Sun, 12 May 2002, Muli Ben-Yehuda wrote: > 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.organd > > > 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")
make that: "cat whatever_file" with a cron job does 'finger @kernel.org' hourly That way the loading of our pages won't be delayed when the connection to kernel.org becomes problematic. -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir ---------------------------------------------------------------------------- To unsubscribe, send a message to [EMAIL PROTECTED] Archives available at http://www.mail-archive.com/[email protected]/
