dart_rss 1.0.1 copy "dart_rss: ^1.0.1" to clipboard
dart_rss: ^1.0.1 copied to clipboard

outdated

dart-rss is a rss parser for RSS1.0/RSS2.0/Atom. It also support Dublin-Core, Content, Syndication additional modules. This libary is forked from webfeed(https://github.com/witochandra/webfeed).

example/main.dart

import 'package:http/http.dart' as http;
import 'package:dart_rss/dart_rss.dart';

void main() {
  var client = new http.Client();

  // RSS feed
  client
      .get("https://developer.apple.com/news/releases/rss/releases.rss")
      .then((response) {
    return response.body;
  }).then((bodyString) {
    var channel = new RssFeed.parse(bodyString);
    print(channel);
    return channel;
  });

  // Atom feed
  client.get("https://www.theverge.com/rss/index.xml").then((response) {
    return response.body;
  }).then((bodyString) {
    var feed = new AtomFeed.parse(bodyString);
    print(feed);
    return feed;
  });
}
46
likes
0
pub points
90%
popularity

Publisher

verified publisherflutterbountyhunters.com

dart-rss is a rss parser for RSS1.0/RSS2.0/Atom. It also support Dublin-Core, Content, Syndication additional modules. This libary is forked from webfeed(https://github.com/witochandra/webfeed).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, meta, xml

More

Packages that depend on dart_rss