I have my blog publishing to my website but I am only getting the Title w/ link.
I would like the whole blog published.
## Deliverables
<div id="blogfeed">
<?php
// include lastRSS
include "[login to view URL]";
// List of RSS URLs
$rss_feed = array(
'[http://allamericanexports.<wbr />[login to view URL]<wbr />default?alt=rss][1]'
// mark - you can add other feeds here if you want, since it's an array
);
// Create lastRSS object
$rss = new lastRSS;
// Set cache dir and cache time limit (5 seconds)
// (don't forget to chmod cache dir to 777 to allow writing)
$rss->cache_dir = './tmp';
$rss->cache_time = 1200;
foreach ($rss_feed as $url) {
ShowOneRSS($url);
}
foreach ($rss_right as $url) {
ShowOneRSS($url);
}
function ShowOneRSS($url) {
global $rss;
if ($rs = $rss->get($url)) {
// Remarking the following lines as they aren't needed.
// echo "<b><a href=\"$rs[link]\">$rs[title]< <wbr />/a></b><br />\n";
// echo "$rs[description]<br />\n";
// echo "\n";
foreach ($rs['items'] as $item) {
echo "\t<p><b><a href=\"$item[link]\" title=\"$item[description]\">$<wbr />item[title]</a></b></p>\n";
}
if ($rs['items_count'] <= 0) { echo "Sorry, no items found in the news feed."; }
echo "\n";
}
else {
echo "Sorry: It's not possible to reach RSS file $url\n<br />";
// you will probably hide this message in a live version
}
}
?>
</div>