[Pomp-commits] r993 - www

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jul 2 13:36:34 CEST 2014


Author: kingaa
Date: 2014-07-02 13:36:34 +0200 (Wed, 02 Jul 2014)
New Revision: 993

Modified:
   www/index.php
Log:
- update index.php for new CRAN page version format

Modified: www/index.php
===================================================================
--- www/index.php	2014-07-02 11:31:08 UTC (rev 992)
+++ www/index.php	2014-07-02 11:36:34 UTC (rev 993)
@@ -6,7 +6,7 @@
 $tracker = "http://r-forge.r-project.org/tracker/?group_id=214";
 $cranpage = "http://cran.at.r-project.org/web/packages/pomp/";
 $crancontents = file_get_contents($cranpage);
-preg_match("/<tr><td valign=\"top\">Version:<\/td>\\n<td>(.+?)<\/td><\/tr>/",$crancontents,$matches);
+preg_match("/<tr><td>Version:<\/td>\\n<td>(.+?)<\/td>/",$crancontents,$matches);
 $cranversion = $matches[1];
 $rforgepage = file_get_contents($rforgepkgs);
 preg_match_all("/Rev\.: <b>(.+?)<\/b>/",$rforgepage,&$matches);



More information about the pomp-commits mailing list