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

Dart parser for RSS1.0, RSS2.0, Atom feeds.

example/main.dart

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

void main() {
  final client = http.Client();

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

  // Atom feed
  client.get(Uri.parse('https://www.theverge.com/rss/index.xml')).then((response) {
    return response.body;
  }).then((bodyString) {
    final feed = AtomFeed.parse(bodyString);
    return feed;
  });
}
48
likes
110
points
1.31k
downloads

Publisher

verified publisherflutterbountyhunters.com

Weekly Downloads

Dart parser for RSS1.0, RSS2.0, Atom feeds.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

http, intl, xml

More

Packages that depend on dart_rss