website diff lib/get-feeds.php @ rev 1042

Update packages/index.php
author Paul Issott <paul@slitaz.org>
date Mon Apr 09 20:20:47 2012 +0100 (2012-04-09)
parents 47055e938c85
children 95a0c8514de5
line diff
     1.1 --- a/lib/get-feeds.php	Sat Mar 31 17:52:18 2012 +0300
     1.2 +++ b/lib/get-feeds.php	Mon Apr 09 20:20:47 2012 +0100
     1.3 @@ -38,7 +38,7 @@
     1.4  		echo "</p>\n<div>\n<ul>\n";
     1.5  		foreach($x->channel->item as $entry) {
     1.6  			$count = $count + 1;
     1.7 -			echo "	<li><a href='$entry->guid'>" . 
     1.8 +			echo "	<li><a href='$entry->guid'>" .
     1.9  				$entry->title . "</a></li>\n";
    1.10  			if ($count == $entries) {
    1.11  				break;
    1.12 @@ -63,11 +63,11 @@
    1.13  		$count = 0;
    1.14  		// We look for last item, channel may not have a PubDate*
    1.15  		$up = ($x->channel->item->pubDate);
    1.16 -		
    1.17 +
    1.18  		echo "<ul>\n";
    1.19  		foreach($x->channel->item as $entry) {
    1.20  			$count = $count + 1;
    1.21 -			echo "	<li><strong><a href='$entry->link'>" . 
    1.22 +			echo "	<li><a href='$entry->link'><strong>" .
    1.23  				$entry->title . "</strong></a>\n";
    1.24  			echo "<span>- " . substr("$entry->pubDate", 5, 17) . "</span>\n";
    1.25  			echo "<p>$entry->description</p>\n</li>";
    1.26 @@ -98,7 +98,7 @@
    1.27  		echo "</p>\n<div>\n<ul>\n";
    1.28  		foreach($x->channel->item as $entry) {
    1.29  			$count = $count + 1;
    1.30 -			echo "	<li><a href='$entry->link'>" . 
    1.31 +			echo "	<li><a href='$entry->link'>" .
    1.32  				$entry->title . "</a></li>\n";
    1.33  			if ($count == $entries) {
    1.34  				break;