Re: php-master-web /scripts update-backend

From: Date: Tue, 19 Nov 2002 19:18:47 +0000
Subject: Re: php-master-web /scripts update-backend
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-13694@lists.php.net to get a copy of this message
With what part of the code? It was not intentional ;) Goba ----- Original Message ----- From: "James Cox" <james@imajes.info> To: "Gabor Hojtsy" <gabor@hojtsy.hu>; <php-mirrors@lists.php.net> Sent: Tuesday, November 19, 2002 8:16 PM Subject: RE: php-master-web /scripts update-backend > good try, but you broke the update script. :) > > -- james > > > -----Original Message----- > > From: Gabor Hojtsy [mailto:gabor@hojtsy.hu] > > Sent: Tuesday, November 19, 2002 5:54 PM > > To: php-mirrors@lists.php.net > > Subject: cvs: php-master-web /scripts update-backend > > > > > > goba Tue Nov 19 12:54:25 2002 EDT > > > > Modified files: > > /php-master-web/scripts update-backend > > Log: > > Add the RSS generator code to the flow of autogeneration, > > and see what will happen now (the rss_parser code is > > tested to work) > > > > > > Index: php-master-web/scripts/update-backend > > diff -u php-master-web/scripts/update-backend:1.6 > > php-master-web/scripts/update-backend:1.7 > > --- php-master-web/scripts/update-backend:1.6 Sun Mar 3 13:53:10 2002 > > +++ php-master-web/scripts/update-backend Tue Nov 19 12:54:25 2002 > > @@ -21,6 +21,15 @@ > > > > > > fetch_into_file("http://master.php.net/fetch/events.php?nm=3&token > > =$token", > > "$root/backend/events.csv"); > > > > +/* create RSS news feed file */ > > +$dest = fopen("$root/news.rss", "w"); > > +if (!$dest) { echo "failed to open $root/news.rss for writing"; } > > +else { > > + include "rss_parser"; > > + fwrite($dest, $RSS); > > + fclose($dest); > > +} > > + > > function fetch_into_file($url,$file) { > > $source = @fopen($url,"r"); > > if (!$source) { > > > > > > >

« previous php.mirrors (#13694) next »