Wiki source for BlogFeedReader


Show raw source

!!Objective
Add blog sidebar entries with links to latest wiki updates
!!Tool used
* [http://www.chait.net/index.php?p=238|CG-Feedread|]
!!Tool Modifications
* Don't need to modify the code anymore as the newest version of CG-Feedread has the optional parmeter to hide feed titles.
!!Operation
* Add relevant changes to blog index.php (note this now points to the [http://feedburner.com/ "Feedburner"] versions of the feeds)
<code>
<?php

$XML_CACHE_TIME = 300;
$feedUrl = "http://feeds.feedburner.com/Delicious/synesthesia";
$feedOut = getSomeFeed($feedUrl, 5, false, "deliciousfeedcache", '', 0, 0, 1, 0, false, true);
if (!empty($feedOut))
{
start_block("Link Watch", "deliciousfeed", "li");
echo $feedOut;
end_block();
}

?>

</code>

!! To Do

May still need to fix CG-Feedreader so it fails gracefully in the event of feed not being available, however I may have worked around that by relying on Feedburner's cacheing. CategoryToDo

CategorySiteDesign
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki