PaRSS - Parse RSS or Atom Feeds With jQuery

PaRSS is a jQuery plugin that you can use to pull RSS feeds dynamically and place the items from the feeds on an HTML page in a list element. PaRSS uses the Google Feed API to parse RSS or Atom feeds and add the feed items to a list element on your page.

parrss PaRSS   Parse RSS or Atom Feeds With jQuery

For example if you have the following HTML:

<ul id="feed"></ul>

You can then use PaRSS to place elements from an RSS feed into the UL like this:

$("#feed").PaRSS(
  "http://feeds.feedburner.com/Blogfreakz",  // feed url
  5,  // number of items (optional)
  "M jS g:i a",  // date format (optional)
  true  // descriptions? (optional)
);

PaRSS will then pull the number of items specified and place them as <li> elements inside the UL specified by #feed. The date format supplies (most) of the syntax of the PHP date class.

You can set descriptions to false (no descripton is shown), true (a snippet of the item content is shown), “content” (the full content of the item is shown), or “image” (the first image from the content is pulled and a snippet of the content is shown).

Requirements: jQuery Framework
Demo: http://www.bradwestness.com/2011/02/parss-a-jquery-rss-feed-plugin
License: MIT License

Incoming search terms for the article: