website diff lib/get-feeds.php @ rev 945
Add lib/rand-sponsor.php and display featured sponsor on main page and sponsor page
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 13 19:14:50 2012 +0100 (2012-03-13) |
parents | 6bdb0d107255 |
children | e2a0a816a8c6 |
line diff
1.1 --- a/lib/get-feeds.php Thu Mar 08 02:41:51 2012 +0100 1.2 +++ b/lib/get-feeds.php Tue Mar 13 19:14:50 2012 +0100 1.3 @@ -19,7 +19,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->link' title='$entry->title'>" . 1.8 + echo " <li><a href='$entry->guid' title='$entry->title'>" . 1.9 $entry->title . "</a></li>\n"; 1.10 if ($count == $entries) { 1.11 break;