|
From: <sm...@us...> - 2013-10-01 18:14:01
|
Revision: 12566
http://sourceforge.net/p/plplot/code/12566
Author: smekal
Date: 2013-10-01 18:13:58 +0000 (Tue, 01 Oct 2013)
Log Message:
-----------
Changed the link to the plplot Sourceforge News feed according to api description here: http://sourceforge.net/apps/trac/sourceforge/wiki/API. Plplot webpage should be ok with these changes again.
Modified Paths:
--------------
trunk/www/corefunctions.php
Modified: trunk/www/corefunctions.php
===================================================================
--- trunk/www/corefunctions.php 2013-10-01 18:06:19 UTC (rev 12565)
+++ trunk/www/corefunctions.php 2013-10-01 18:13:58 UTC (rev 12566)
@@ -96,12 +96,11 @@
function pageNews($newscount, $contentlength)
{
// Open the PLplot News RSS feed and parse it
+ // Options for sourceforge news feed can be looked up at this link:
+ // http://sourceforge.net/apps/trac/sourceforge/wiki/API
$feed = new SimplePie();
$feed->enable_cache(false); // disable cache
-// 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");
+ $url = sprintf("http://sourceforge.net/api/news/index/project-id/2915/limit/%d/rss", $newscount);
$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.
|