Post Pic

How to: Display your latest Delicious bookmark on your WordPress blog

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

Jan 12 2009 08:57

Thanks a lot! I just tried it out and it works like a charm. Sweet and simple.

Jan 12 2009 09:29

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.

Jan 12 2009 11:33

Jean-Baptiste, any thoughts on how to add delicious (or Digg, Stumble) bookmarks as trackbacks to a post?

Jan 12 2009 11:47

That’s a brilliant recipe :)

Jan 13 2009 18:56

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?

Apr 02 2010 23:27

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:

Leave a Comment

* Name, Email, Comment are Required