项目
在 GitHub 查看
matshofman/Android-RSS-Reader-Library
关于
A RSS reader library to fetch a RSS feed from the web and parse it to workable objects
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文With this library you can easily parse RSS feeds using the SAX APIs available in Android.
Usage
You can use the API by simply calling RssReader.read(URL url). This will make the request to the url provided and parse it to RssFeed and RssItem objects. It can't get any easier than this.
Here is an example of how to fetch a RSS feed and iterate through every item:
URL url = new URL("http://example.com/feed.rss");
RssFeed feed = RssReader.read(url);
ArrayList<RssItem> rssItems = feed.getRssItems();
for(RssItem rssItem : rssItems) {
Log.i("RSS Reader", rssItem.getTitle());
}
License
Copyright (c) 2011 Mats Hofman
Licensed under the Apache License, Version 2.0
探索相关项目
加载中…