0

jQuery的RSS解析器jFeed

作者:情留メ蚊子  发表于:2009年07月09日 20:10  分类:资源共享  3234 次阅读 

jFeed 是一个通用的 RSS/ATOM 解析器jQuery插件
jFeed 支持 RSS 0.91, 0.92, 1.0, 2.0 和 Atom 1.0 等格式。

 

引用内容 引用内容
使用方法:
jQuery.getFeed(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.



使用示例:
 

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



演示:http://www.94qing.com/code/jquery.jfeed/demo.html

项目主页:http://www.hovinne.com/blog/index.php/2007/07/15/132-jfeed-jquery-rss-atom-feed-parser-plugin
下载地址:http://www.hovinne.com/dev/jquery/jfeed/jquery.jfeed.tar.gz

本文固定链接: http://www.94qing.com/share/jQuery-jFeed/ | 情留メ蚊子's Blog

jQuery的RSS解析器jFeed:目前有0 条评论

    给我评论

    看不清?点击更换

    快捷键:Ctrl+Enter