website diff libs/get-feeds.php @ rev 815

Fix footer
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 06:34:56 2011 +0200 (2011-04-08)
parents 111573c244f6
children
line diff
     1.1 --- a/libs/get-feeds.php	Wed Mar 30 20:31:49 2011 +0200
     1.2 +++ b/libs/get-feeds.php	Fri Apr 08 06:34:56 2011 +0200
     1.3 @@ -15,7 +15,7 @@
     1.4  		$count = 0;
     1.5  		// We look for last item, channel may not have a PubDate*
     1.6  		$up = ($x->channel->item->pubDate);
     1.7 -		echo "<span>Updated: " . substr("$up", 5, 17) . "</span>\n";
     1.8 +		echo "<span>- Updated: " . substr("$up", 5, 17) . "</span>\n";
     1.9  		echo "</p>\n<div>\n<ul>\n";
    1.10  		foreach($x->channel->item as $entry) {
    1.11  			$count = $count + 1;
    1.12 @@ -49,7 +49,7 @@
    1.13  			$count = $count + 1;
    1.14  			echo "	<li><strong><a href='$entry->link' title='$entry->title'>" . 
    1.15  				$entry->title . "</strong></a>\n";
    1.16 -			echo "<span>" . substr("$entry->pubDate", 5, 17) . "</span>\n";
    1.17 +			echo "<span>- " . substr("$entry->pubDate", 5, 17) . "</span>\n";
    1.18  			echo "<p>$entry->description</p>\n</li>";
    1.19  			if ($count == $entries) {
    1.20  				break;