|
From: <ai...@us...> - 2013-09-25 05:45:02
|
Revision: 12528
http://sourceforge.net/p/plplot/code/12528
Author: airwin
Date: 2013-09-25 05:44:57 +0000 (Wed, 25 Sep 2013)
Log Message:
-----------
Update news feed location to be consistent with Allura version
of SourceForge.
N.B. This change does not deal with the remaining news sidebar issues
mentioned on list (too many news items, broken rendering of each
webpage with the sidebar, old version of simplepie software).
Modified Paths:
--------------
trunk/www/corefunctions.php
Modified: trunk/www/corefunctions.php
===================================================================
--- trunk/www/corefunctions.php 2013-09-25 04:34:57 UTC (rev 12527)
+++ trunk/www/corefunctions.php 2013-09-25 05:44:57 UTC (rev 12528)
@@ -65,7 +65,7 @@
echo ' <div id="menubar">';
echo ' <ul>';
echo ' <li><a href="index.php" ' . (($item=='index') ? ('id="selected"') : ('')) .'>Home</a></li>';
- echo ' <li><a href="http://sourceforge.net/news/?group_id=2915" ' . (($item=='news') ? ('id="selected"') : ('')) .'>News</a></li>';
+ echo ' <li><a href="http://sourceforge.net/p/plplot/news" ' . (($item=='news') ? ('id="selected"') : ('')) .'>News</a></li>';
echo ' <li><a href="download.php" ' . (($item=='download') ? ('id="selected"') : ('')) .'>Download</a></li>';
echo ' <li><a href="examples.php" ' . (($item=='examples') ? ('id="selected"') : ('')) .'>Examples</a></li>';
echo ' <li><a href="documentation.php" ' . (($item=='documentation') ? ('id="selected"') : ('')) .'>Documentation</a></li>';
@@ -98,7 +98,10 @@
// Open the PLplot News RSS feed and parse it
$feed = new SimplePie();
$feed->enable_cache(false); // disable cache
- $url = sprintf("http://sourceforge.net/export/rss2_projnews.php?group_id=2915&rss_limit=%d", $newscount);
+// This old url just redirects to the correct one below (without
+// rss_limit).
+// $url = sprintf("http://sourceforge.net/export/rss2_projnews.php?group_id=2915&rss_limit=%d", $newscount);
+ $url = sprintf("http://sourceforge.net/p/plplot/news/feed");
$feed->set_feed_url($url);
$feed->init();
$feed->handle_content_type();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|