jFeed - RSS/ATOM feed parser

jFeed - RSS/ATOM feed parser
 点击下载

jFeed is a generic RSS/ATOM feed parser.
jFeed currently parses RSS 0.91, 0.92, 1.0, 2.0 and Atom 1.0 feeds.

Usage:

  1. 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:

  1. jQuery.getFeed({ 
  2.        url: 'rss.xml', 
  3.        success: function(feed) { 
  4.            alert(feed.title); 
  5.        } 
  6.    }); 

 

转载请注明:代码家园 » jFeed - RSS/ATOM feed parser

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)