cvs: php-master-web /scripts rss_parser
| From: | Gabor Hojtsy | Date: | Fri, 08 Aug 2003 13:03:31 +0000 |
| Subject: | cvs: php-master-web /scripts rss_parser | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19991@lists.php.net to get a copy of this message | ||
goba Fri Aug 8 09:03:31 2003 EDT
Modified files:
/php-master-web/scripts rss_parser
Log:
<hr /> is the news separator now
Index: php-master-web/scripts/rss_parser
diff -u php-master-web/scripts/rss_parser:1.6 php-master-web/scripts/rss_parser:1.7
--- php-master-web/scripts/rss_parser:1.6 Wed Aug 6 12:34:58 2003
+++ php-master-web/scripts/rss_parser Fri Aug 8 09:03:31 2003
@@ -93,7 +93,7 @@
} elseif ($news_started) {
// Headline separator reached
- if (preg_match('/hdelim\(\);/', $line)) {
+ if (preg_match('!<hr />!', $line)) {
$headlineid++;
#DEBUG# print "<p>Info: New Headline: $headlineid<br />";