3 * rss_foundry_mostactive.php - Stats export page for Foundry most active projects.
5 * SourceForge: Breaking Down the Barriers to Open Source Development
6 * Copyright 1999-2001 (c) VA Linux Systems
7 * http://sourceforge.net
9 * @author Darrell Brogdon <dbrogdon@valinux.com>
11 * @version $Id: rss_foundry_mostactive.php,v 1.2 2001/06/14 21:54:23 dbrogdon Exp $
14 require_once('pre.php');
15 require_once('rss_utils.inc');
17 header("Content-Type: text/plain");
18 print '<?xml version="1.0" encoding="utf-8"?>';
20 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/">
21 <channel rdf:about="http://www.xml.com/xml/news.rss">
22 <title>Most Active Projects</title>
23 <description>SourceForge.net Site Statistics</description>
28 foundry_project_rankings_agg
30 foundry_id='$foundry_id'
34 $result=db_query($sql, 20, 0, SYS_DB_STATS);
35 if (!$result || db_numrows($result) < 1) {
38 while ($row=db_fetch_array($result)) {
40 echo ' <title>' . $row['group_name'] . "</title>\n";
41 echo ' <description>' . $row['percentile'] . "%</description>\n";
42 echo ' <link>http://' . $GLOBALS[sys_default_domain] . '/projects/' . $row['unix_group_name'] . "</link>\n";