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

From: Date: Tue, 19 Nov 2002 17:54:25 +0000
Subject: cvs: php-master-web /scripts update-backend
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-13685@lists.php.net to get a copy of this message
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 (#13685) next »