cvs: php-master-web /scripts rss_parser
| From: | Hannes Magnusson | Date: | Sun, 11 Feb 2007 23:29:12 +0000 |
| Subject: | cvs: php-master-web /scripts rss_parser | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34249@lists.php.net to get a copy of this message | ||
bjori Sun Feb 11 23:29:12 2007 UTC
Modified files:
/php-master-web/scripts rss_parser
Log:
Fix "no more entrys" line
http://cvs.php.net/viewvc.cgi/php-master-web/scripts/rss_parser?r1=1.17&r2=1.18&diff_format=u
Index: php-master-web/scripts/rss_parser
diff -u php-master-web/scripts/rss_parser:1.17 php-master-web/scripts/rss_parser:1.18
--- php-master-web/scripts/rss_parser:1.17 Sun Feb 11 23:27:32 2007
+++ php-master-web/scripts/rss_parser Sun Feb 11 23:29:11 2007
@@ -106,7 +106,7 @@
#DEBUG# print "<p>Info: New Headline: $headlineid<br />";
// End of headlines reached
- } elseif (preg_match('@<a href="/news-\d+.php">News
Archive</a>@', $line)) {
+ } elseif (preg_match('@<a href="/archive/index.php">News
Archive</a>@', $line) || strpos($line, "// NO MORE NEWS TO PARSE")) {
array_pop($headlines);
break;