cvs: php-master-web /scripts rss_parser

From: Date: Wed, 06 Aug 2003 16:34:58 +0000
Subject: cvs: php-master-web /scripts rss_parser
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19858@lists.php.net to get a copy of this message
goba Wed Aug 6 12:34:58 2003 EDT Modified files: /php-master-web/scripts rss_parser Log: Dates are in spans now and not in font tags... Index: php-master-web/scripts/rss_parser diff -u php-master-web/scripts/rss_parser:1.5 php-master-web/scripts/rss_parser:1.6 --- php-master-web/scripts/rss_parser:1.5 Mon Jan 6 15:16:11 2003 +++ php-master-web/scripts/rss_parser Wed Aug 6 12:34:58 2003 @@ -111,7 +111,7 @@ #DEBUG# print "Title: $matches[1]<br />"; // Dates are below the headline title - } elseif (preg_match('/<font.*>\[(\d+)-(\S*)-(\d+)\]<\/font>/', $line, $matches)) { + } elseif (preg_match('/<span.*>\[(\d+)-(\S*)-(\d+)\]<\/span>/', $line, $matches)) { $headlines[$headlineid]['date'] = mktime(1,1,1, $mos[$matches[2]], $matches[1], $matches[3]); #DEBUG# print "Date: $matches[1] $matches[2] $matches[3]<br />";

« previous php.mirrors (#19858) next »