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 🙂