From 43ccda16412ef964f20f16501e2053dd0220d936 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 22 May 2019 12:57:06 +0200 Subject: feeds are now served from a single php file --- feeds/index.php | 194 -------------------------------------------------------- 1 file changed, 194 deletions(-) delete mode 100644 feeds/index.php (limited to 'feeds/index.php') diff --git a/feeds/index.php b/feeds/index.php deleted file mode 100644 index e74717b..0000000 --- a/feeds/index.php +++ /dev/null @@ -1,194 +0,0 @@ - fetch_assoc()) - $archs[$row['name']] = $row['name'] . '/'; - -$print_archs = array_merge( - array( - '' => '', - 'All Arches' => 'all/' - ), - $archs -); - -$result = mysql_run_query( - "SELECT DISTINCT `repositories`.`name` FROM `repositories` WHERE `repositories`.`is_on_master_mirror` ORDER BY `name`" -); -$repos = array(); -while ($row = $result -> fetch_assoc()) - $repos[$row['name']] = $row['name'] . '/'; - -$print_repos = array_merge( - array( - 'All Repos' => '' - ), - $repos -); - -$bugtracker_projects = array( - 0 => 'All Projects', - 1 => 'Arch Linux 32' -); - -$bugtracker_operations = array( - 'Opened' => '', - 'Edited' => 'topic=edit&', - 'Closed' => 'topic=clo&' -); - -function print_arches_header() { - global $print_archs; - foreach ($print_archs as $arch => $dummy) { - print " \n"; - print " " . $arch . "\n"; - print " \n"; - }; -} - -function print_feeds($prefix) { - global $print_archs; - global $print_repos; - foreach ($print_repos as $repo => $dummy) { - print " \n"; - print " \n"; - print " " . $repo . "\n"; - print " \n"; - foreach ($print_archs as $arch => $dummy) { - if ($arch == '') - continue; - print " \n"; - print " Feed\n"; - print " \n"; - } - print " \n"; - } -} - -function print_feeds_table($prefix) { - print " \n"; - print " \n"; - print " \n"; - print_arches_header(); - print " \n"; - print " \n"; - print " \n"; - print_feeds($prefix); - print " \n"; - print "
\n"; -} - -?> -
-

- RSS Feeds -

-

- Several RSS feeds are available for consumption from the Arch32 website. - The majority of these are package-related and allow feeds to be customized for the updates you care about. -

-

- News Feed -

-

- Grab the - news item feed - to keep up-to-date with the latest news from the Arch Linux development staff. -

-

- Package Feeds -

-

- If you are interested in - all package updates, - then grab this feed. - -

- Recently added packages. (to be implemented) -

- -

- Recently removed packages. (to be implemented) -

- -

- Release Feed -

-

- Grab the - ISO release feed - if you want to help seed the ISO release torrents as they come out. -

-

- Development Feeds -

-

- Subscribe to any of the following to track bug tickets and feature requests from the - Arch Linux 32 Bugtracker: -

- - - - - $dummy) { - print " \n"; -} - -?> - - - - $project) { - print " \n"; - print " \n"; - foreach ($bugtracker_operations as $label => $option) { - print " \n"; - } - print " \n"; -} - -?> - -
- Project - \n"; - print " Recently " . $label . " Tasks\n"; - print "
\n"; - print " " . $project . "\n"; - print " \n"; - print " Feed\n"; - print "
-
-