Celebrating 20 years online :)
Web Dev + WordPress + Security

Category LiveBookmarks Plugin

Category LiveBookmarks Icon
Enthusiastic Firefox users enjoy the luxury of Live Bookmarks, a feature of Firefox that automatically discovers and updates RSS feeds. Web pages with available feeds are indicated by the orange feed icon located in the browser’s address bar.

Clicking the feed icon presents a list of all available feeds for that particular webpage. Users then select which feeds they would like Firefox to bookmark, track, and automatically update. Makes subscribing stupid easy. Very handy indeed.

Note: This article explains the underlying technology for this plugin. If you already are familiar with Firefox Live Bookmarks and WordPress feeds, you can skip the following discussion and download the free WordPress plugin »

Manual method

Providing Live Bookmark feeds to your readers is as easy as adding “link” tags for each feed to the head section of each webpage. Then, simply set the “type” attribute to application/atom+xml or application/rss+xml, and away you go. Not so bad, but a bit tedious, perhaps.

WordPress users typically transmit RSS feeds for both comments and posts, and frequently provide individual category feeds. Further, each feeds may be provided via a variety of formats, including RSS 0.92, RSS 2.0, and Atom. Manually adding the feed links to the header.php file works if you don’t care about context sensitivity, because the same links would appear for all pages, whether the feeds were actually available from there or not. Fortunately, there is a more sophisticated method for managing your Live Bookmark feeds…

WordPress plugin

Introducing Category LiveBookmarks (CLB), a WordPress plugin designed to simplify the process of adding complete Live Bookmark functionality to your website. Category LiveBookmarks seamlessly generates “Live-Bookmark” feed links for each of your WordPress blog categories. It will generate feed links for all categories on your main blog page, and only relevant feeds on single-post-view pages. Also, CLB automatically omits feeds with zero posts, and excludes subcategory feeds. CLB is designed for Firefox’s Live Bookmarks and Opera’s Livemarks. Generates strictly valid XHTML markup. Tested and verified with WordPress 2.0+. Should work with WP 1.5+ as well (no guarantees).

This plugin has been adapted from ArunRocks plugin, Livemarks. Many important modifications have been made to the original, such as are summarized here. To download the plugin, visit the CLB+ homepage.

Installation and Usage

Unzip file, add to wp-content/plugins directory, upload, activate, and enjoy! There are also two options within the PHP file itself that you will probably want to customize: Comment feed links and blog title.

About the Author
Jeff Starr = Fullstack Developer. Book Author. Teacher. Human Being.
Banhammer: Protect your WordPress site against threats.

14 responses to “Category LiveBookmarks Plugin”

  1. Hello. I have downloaded and installed livebookmarks on WP 2.0.2. I have activated in the admin panel. How do i get something to show on my index page? I assume i should have a rss icon next to my categories? Your instructions do not say what to do next. Thanks for any help


  2. I have a created a site for the community over at somethingawful where the users can post their podcasts. What i am looking for is a plugin that allows readers to subscribe to RSS feeds from certain authors. I thought it would be nice if I were able to have wordpress create RSS feeds that were organized according to the authors and the users could then subscribe to the ones they liked for the podcasts. Is this a plugin you would be willing to write or do you know of someone I could ask about it?

  3. Perishable 2006/06/04 3:08 pm

    Chris, you are confused. The CLB plugin does not add any icons to your webpages. The plugin writes feed links to the head of your source code, thereby enabling Firefox and Opera browsers to automatically detect any available feeds. After the plugin is installed and activated, use Firefox or Opera to open your WP index page. Look for the small, orange RSS feed icon in the address bar, and click on it. You should see a list of all non-empty feeds available from that page.

  4. Perishable 2006/06/04 3:43 pm

    Ryan, you don't need a plugin for this. Simply use either the list_authors or wp_list_authors function, and employ the feed parameter. There are also parameters for full names, empty feeds, and option counts. You may read more at the WordPress Codex.

  5. Hi, I am new to the bloging world.
    I have made a blog site and now I want users to bes able to subscribe to rss feeds from my main index page. It seems that my word press is spitting out version 0.92 which can not be read by my yahoo rss reader. Do you know how it can spit out 2.0?

  6. Perishable 2006/06/11 1:41 pm

    Vanessa, looks like you already found a solution, as your source code currently specifies RSS 2.0 for all feed links. Nonetheless, the Category LiveBookmarks plugin invokes RSS-2.0 XML by default, and actually makes no reference to RSS 0.92.

    The problem you were having most likely resulted from the native WP function, bloginfo()1, which is commonly called from within the <head> (for implicit links), or from within the <body> (for explicit links). Each call to bloginfo() will invoke RSS 0.92, RSS 1.0 (RDF), RSS 2.0, or Atom, depending on which parameter is used2. Although each of these syndication formats is available for your WP posts, only the RSS 2.0 format is available for comments.

    Thus, if you want only implicit RSS-2.0 feeds available via LiveBookmarks, edit your <head> by adding <?php bloginfo('rss2_url'); ?> (for post feeds), and <?php bloginfo('comments_rss2_url'); ?> (for comment feeds). Then, be sure to delete any calls to bloginfo('rdf_url'), bloginfo('rss_url'), or bloginfo('atom_url').

    To provide explicit feeds (in any format) from the sidebar, footer, or elsewhere within the <body>, simply call bloginfo() and use the appropriate function parameter (e.g., rss2_url or atom_url).


    1 About bloginfo() at the WordPress Codex
    2 About WordPress Feeds at the WordPress Codex

  7. FYI, the link in this post that points to a summary of the "many important modifications" seems broken. I tried following the link and ended up pretty much nowhere. Just thought you should know..

  8. Perishable 2006/06/13 8:31 am

    Thanks, August, I will deploy the goon squad to "fix" the problem.

  9. Apparently, the arunrocks site hasn't been updated for several weeks. Perhaps you would be so kind as to post the changes here as a comment?

  10. Perishable 2006/06/13 9:23 am

    The original Livemarks plugin suffered from invalid XHTML, improper "type" attributes, and (in my opinion) sloppy PHP authorship. In addition to resolving these issues, the new CLB plugin automatically omits empty categories and subcategories, as well as providing contextually relevant feed links for category views. Finally, the new CLB plugin enables users to customize the "title" attribute of their feed links.

  11. August Klotz 2006/06/13 9:37 am

    Muchas gracias, Perecedero!

  12. Perishable 2006/08/07 1:02 am

    Thanks for the idea, Avery! The Category LiveBookmarks plugin has just been updated to provide optional category feed links in the footer, sidebar, or anywhere else you could possibly imagine. Now, with one easy plugin, you can have your RSS feeds autodiscovered and provided as links within your site.

Comments are closed for this post. Something to add? Let me know.
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
Wizard’s SQL for WordPress: Over 300+ recipes! Check the Demo »
Crazy that we’re almost halfway thru 2024.
I live right next door to the absolute loudest car in town. And the owner loves to drive it.
8G Firewall now out of beta testing, ready for use on production sites.
It's all about that ad revenue baby.
Note to self: encrypting 500 GB of data on my iMac takes around 8 hours.
Getting back into things after a bit of a break. Currently 7° F outside. Chillz.
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.