webfeed 0.1.0 webfeed: ^0.1.0 copied to clipboard
A dart package for parsing web feed.
WebFeed #
A dart package for parsing RSS feed.
Features #
- ✅ RSS
- ❌ Atom
- ❌ JSON
Installing #
Add this line into your pubspec.yaml
webfeed: ^0.1.0
Import the package into your dart code using:
import 'package:webfeed/domain/rss_feed.dart';
Example #
To parse string into RssFeed
object use:
new RssFeed.parse(xmlString);
Preview #
RSS
feed.title
feed.description
feed.link
feed.items
feed.image
feed.cloud
feed.categories
feed.skipDays
feed.skipHours
feed.lastBuildDate
feed.language
feed.generator
feed.copyright
feed.docs
feed.managingEditor
feed.rating
feed.webMaster
feed.ttl
RssItem item = feed.items.first;
item.title
item.description
item.link
item.categories
item.guid
item.pubDate
item.author
item.comments
item.source
License #
WebFeed is licensed under the MIT License - see the LICENSE.md file for details