
One of WpRecipes reader, sanderschenk, enjoyed my previous “Displaying your latest Twitter entry on your WordPress blog” recipe, and asked in the forum how to display your latest Delicious bookmark. That’s quite easy, just read on!

One of WpRecipes reader, sanderschenk, enjoyed my previous “Displaying your latest Twitter entry on your WordPress blog” recipe, and asked in the forum how to display your latest Delicious bookmark. That’s quite easy, just read on!
To display your latest Delicious bookmark on your WordPress blog, we'll use WordPress built-in rss parser. To do so we have to include the rss.php file, and then use its wp_rss() function.
Of course, don't forget to replace my Delicious bookmarks rss url by yours!
<?php include_once(ABSPATH.WPINC.'/rss.php');
wp_rss('http://feeds.delicious.com/v2/rss/jbjweb', 1); ?>
That's all. Did you bookmarked WpRecipes on Delicious?
See you tomorrow for a new recipe
9 Responses
Thanks a lot! I just tried it out and it works like a charm. Sweet and simple.
For advanced users I highly recommend KB Advanced RSS plugin. It also use WordPress native functions (rss.php=MagpieRSS) to fetch feeds but has very powerful output customization.
Jean-Baptiste, any thoughts on how to add delicious (or Digg, Stumble) bookmarks as trackbacks to a post?
That’s a brilliant recipe
Hmmm… I’m not using del.icio.us :”>
with same recipe we can add any feed that’s like the one “given” by del.icio.us?
Sorry, am a noob. Not sure I follow here. Where do I get the RSS.php file for delicious? Do I just upload the code into the RSS parser – is that it? How does it know what my account info is?
Trackbacks: