WebFeed Revised
A dart package for parsing RSS and Atom feed.
Forked from WebFeed - V0.7.0 and improved upon
Features
x
RSS (0.9, 1.0, & 2.0)x
Atomx
Namespacesx
Media RSSx
Dublin Corex
iTunesx
Syndication
Installing
Add this line into your pubspec.yaml
webfeed_revised: ^0.8.0
Import the package into your dart code using:
import 'package:webfeed_revised/webfeed_revised.dart';
Example
To parse string into RssFeed
object use:
var rssFeed = RssFeed.parse(xmlString); // for parsing RSS feed
var atomFeed = AtomFeed.parse(xmlString); // for parsing Atom feed
Preview
RSS
feed.title
feed.description
feed.link
feed.author
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
feed.dc
RssItem item = feed.items.first;
item.title
item.description
item.link
item.categories
item.guid
item.pubDate
item.author
item.comments
item.source
item.media
item.enclosure
item.dc
Atom
feed.id
feed.title
feed.updated
feed.items
feed.links
feed.authors
feed.contributors
feed.categories
feed.generator
feed.icon
feed.logo
feed.rights
feed.subtitle
AtomItem item = feed.items.first;
item.id
item.title
item.updated
item.authors
item.links
item.categories
item.contributors
item.source
item.published
item.content
item.summary
item.rights
item.media
License
WebFeed Revised is licensed under the BSD 3-clause License - see the LICENSE file for details
WebFeed, from which this repository is forked, is licensed under the MIT License - see the LICENSE-ORIGINAL file for details
Libraries
- domain/atom_category
- domain/atom_feed
- domain/atom_generator
- domain/atom_item
- domain/atom_link
- domain/atom_person
- domain/atom_source
- domain/dublin_core/dublin_core
- domain/itunes/itunes
- domain/itunes/itunes_category
- domain/itunes/itunes_episode_type
- domain/itunes/itunes_image
- domain/itunes/itunes_owner
- domain/itunes/itunes_type
- domain/media/category
- domain/media/community
- domain/media/content
- domain/media/copyright
- domain/media/credit
- domain/media/description
- domain/media/embed
- domain/media/group
- domain/media/hash
- domain/media/license
- domain/media/media
- domain/media/param
- domain/media/peer_link
- domain/media/player
- domain/media/price
- domain/media/rating
- domain/media/restriction
- domain/media/rights
- domain/media/scene
- domain/media/star_rating
- domain/media/statistics
- domain/media/status
- domain/media/text
- domain/media/thumbnail
- domain/media/title
- domain/rss_category
- domain/rss_cloud
- domain/rss_content
- domain/rss_enclosure
- domain/rss_feed
- domain/rss_image
- domain/rss_item
- domain/rss_source
- util/datetime
- util/function
- util/iterable
- util/xml
- webfeed_revised