webfeed 0.5.1 copy "webfeed: ^0.5.1" to clipboard
webfeed: ^0.5.1 copied to clipboard

outdated

webfeed is a dart package for parsing RSS and Atom feeds. Media & DublinCore namespaces are also supported.

example/main.dart

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

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

  // RSS feed
  var response = await client
      .get('https://developer.apple.com/news/releases/rss/releases.rss');
  var channel = RssFeed.parse(response.body);
  print(channel);

  // Atom feed
  response = await client.get('https://www.theverge.com/rss/index.xml');
  var feed = AtomFeed.parse(response.body);
  print(feed);

  client.close();
}
112
likes
0
pub points
89%
popularity

Publisher

unverified uploader

webfeed is a dart package for parsing RSS and Atom feeds. Media & DublinCore namespaces are also supported.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

intl, xml

More

Packages that depend on webfeed