From c712e2c908a03640dae2e4e5fb84ae3e49394b58 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 6 Dec 2007 14:48:06 +0000 Subject: contrib: angstrom/rss.php: quick & dirty rss generator for autobuilder uploads * point your newsreader to http://www.angstrom-distribution.org/unstable/autobuild/rss.php to view it in actions --- contrib/angstrom/rss.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 contrib/angstrom/rss.php (limited to 'contrib/angstrom/rss.php') diff --git a/contrib/angstrom/rss.php b/contrib/angstrom/rss.php new file mode 100644 index 0000000000..85b0a51fb4 --- /dev/null +++ b/contrib/angstrom/rss.php @@ -0,0 +1,43 @@ +');?> + + + Ångstrom autobuilder updates + http://www.anstrom-distribution.org/unstable/autobuild + + en +\n"); +print("$file/$file2 uploaded\n"); +print(" http://www.anstrom-distribution.org/unstable/autobuild/$file/$file2\n"); + +$rsstime = strftime("%a, %d %b %Y %T +0000", $fmtime); + +print("$rsstime\n"); +print("Angstrom autobuilder"); +print("\n"); + + } + } + closedir($second_handle); + } + + } + closedir($handle); +} +?> + + + + -- cgit v1.2.3 From a8a23bb8cd3ede2b44097d7145c40702f7d70a63 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 6 Dec 2007 15:24:14 +0000 Subject: angstrom/rss.php: fix links --- contrib/angstrom/rss.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/angstrom/rss.php') diff --git a/contrib/angstrom/rss.php b/contrib/angstrom/rss.php index 85b0a51fb4..8970ba1797 100644 --- a/contrib/angstrom/rss.php +++ b/contrib/angstrom/rss.php @@ -1,8 +1,8 @@ ');?> - + Ångstrom autobuilder updates - http://www.anstrom-distribution.org/unstable/autobuild + http://www.angstrom-distribution.org/unstable/autobuild en \n"); print("$file/$file2 uploaded\n"); -print(" http://www.anstrom-distribution.org/unstable/autobuild/$file/$file2\n"); +print(" http://www.angstrom-distribution.org/unstable/autobuild/$file/$file2\n"); -$rsstime = strftime("%a, %d %b %Y %T +0000", $fmtime); +$rsstime = strftime("%a, %d %b %Y %T +0100", $fmtime); print("$rsstime\n"); print("Angstrom autobuilder"); -- cgit v1.2.3 From fb89e1265c288b619f04c0f6c06193c8e1a0a46d Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 6 Dec 2007 20:04:26 +0000 Subject: =?UTF-8?q?=C3=85ngstr=C3=B6m=20autobuilder:=20new=20RSS=20generat?= =?UTF-8?q?or?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contrib/angstrom/rss.php | 57 ++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 26 deletions(-) (limited to 'contrib/angstrom/rss.php') diff --git a/contrib/angstrom/rss.php b/contrib/angstrom/rss.php index 8970ba1797..cf5a9e0218 100644 --- a/contrib/angstrom/rss.php +++ b/contrib/angstrom/rss.php @@ -1,43 +1,48 @@ -');?> +'); ?> - - Ångstrom autobuilder updates - http://www.angstrom-distribution.org/unstable/autobuild - - en + + Ångström autobuilder updates + http://www.angstrom-distribution.org/unstable/autobuild/ + + en \n"); -print("$file/$file2 uploaded\n"); -print(" http://www.angstrom-distribution.org/unstable/autobuild/$file/$file2\n"); + while (false !== ($file2 = readdir($second_handle))) + { + if(is_file("/$base_path/$file/$file2")) + { + $fmtime = filemtime("$file/$file2"); -$rsstime = strftime("%a, %d %b %Y %T +0100", $fmtime); + echo "\n" + echo "$file/$file2 uploaded\n"; + echo " http://www.angstrom-distribution.org/unstable/autobuild/$file/$file2\n"; -print("$rsstime\n"); -print("Angstrom autobuilder"); -print("\n"); + $rsstime = strftime("%a, %d %b %Y %T +0100", $fmtime); - } + echo "$rsstime\n"; + echo "Angstrom autobuilder"; + echo "\n"; } - closedir($second_handle); - } + } + closedir($second_handle); } + closedir($handle); } ?> - + - - -- cgit v1.2.3