SynesthesiaWiki : BlogFeedReader

Site Home | HomePage | Categories PageIndex RecentChanges Login/Register
!!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
Cite as "Multiple Authors; BlogFeedReader. Synesthesia Wiki; Retrieved 20th Nov 2008 from http://www.synesthesia.co.uk/wikka/BlogFeedReader"
Unless otherwise expressly stated, all original material of whatever nature contributed by the various authors of this page is licenced under a Creative Commons Attribution-NonCommercial-ShareAlike Licence.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0320 seconds