jFeed – jQuery plugin for RSS/ATOM feed parser

2013/01/01 23:44  Category: Web Dev  Tags: , , , , , ,

image

What’s jFeed?

jFeed is a lightweight JavaScript feed parser based on jQuery .

jFeed currently parses RSS 0.91, 0.92, 1.0, 2.0 and Atom 1.0 feeds. Thanks this plugin’s author Jean-François Hovinne.

How to use it?

Usage

jQuery.getFeed(options);

Options:

  • url: the feed URL (required)
  • data: data to be sent to the server. See jQuery.ajax data property
  • success: a function to be called if the request succeeds. The function gets passed one argument: the JFeed object

Example:

 jQuery.getFeed({
   url: 'rss.xml',
   success: function(feed) {
     alert(feed.title);
   }
 });

JFeed properties

  • feed.type
  • feed.version
  • feed.title
  • feed.link
  • feed.description
  • feed.language
  • feed.updated
  • feed.items: an array of JFeedItem

JFeedItem properties

  • item.title
  • item.link
  • item.description
  • item.updated
  • item.id

Demo

Demo

Plugin Home

  • Hidayat

    Thanks for your sharing this information
    jasa pembuatan web murah

  • Sudal Sapi

    I additionally take advantage of understanding the checks, but discover a
    lot of people must remain on essay to add worth in direction of the
    authentic website release. Distributor Benih

  • prieku

    demo online please…
    Batam HVAC

  • Casper Beriman

    This is the best website with lot of useful information for the reader. Thanks for sharing the post and keep the good works. You are the best, god bless you.
    Situs Perusahaan

× -