开发者

Parse and Display xml feed of a particular site or blog in a google chrome extension!

开发者 https://www.devze.com 2023-02-18 16:21 出处:网络
I\'ve started on chrome extension development and I need to know how to fetch,parse and display rss feed of a par开发者_开发问答ticular blog or you can direct me to a well explained resource.

I've started on chrome extension development and I need to know how to fetch,parse and display rss feed of a par开发者_开发问答ticular blog or you can direct me to a well explained resource. Thanx in advance. :)


Use jFeed.

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

The Google Feed API looks pretty reliable as well, if you don't want to use jQuery for some reason.

0

精彩评论

暂无评论...
验证码 换一张
取 消