cvs: php-master-web /scripts rss_parser
| From: | Gabor Hojtsy | Date: | Thu, 14 Aug 2003 11:21:49 +0000 |
| Subject: | cvs: php-master-web /scripts rss_parser | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20269@lists.php.net to get a copy of this message | ||
goba Thu Aug 14 07:21:49 2003 EDT
Modified files:
/php-master-web/scripts rss_parser
Log:
Reflect change in the index file
Index: php-master-web/scripts/rss_parser
diff -u php-master-web/scripts/rss_parser:1.7 php-master-web/scripts/rss_parser:1.8
--- php-master-web/scripts/rss_parser:1.7 Fri Aug 8 09:03:31 2003
+++ php-master-web/scripts/rss_parser Thu Aug 14 07:21:49 2003
@@ -75,7 +75,7 @@
// We have not started to parse the
// news and we have no headlines right here
- $news_started = false;
+ $news_started = FALSE;
$headlineid = 0;
// Try to classify every line backed with state information
@@ -85,8 +85,8 @@
// We are not in a news item
if (!$news_started) {
- // If we found the mysite comment, then we are at the right place
- if (preg_match('/\<!--\$MYSITE--\>/', $line)) { $news_started = true; }
+ // If we found theis comment, then we are at the right place
+ if (strpos($line, "DO NOT REMOVE THIS COMMENT")) { $news_started = TRUE; }
else { continue; }
// We are in a news item