webfeed_plus 1.1.2 copy "webfeed_plus: ^1.1.2" to clipboard
webfeed_plus: ^1.1.2 copied to clipboard

webfeed_plus is a dart package for parsing RSS and Atom feeds. Media, DublinCore, iTunes, Syndication namespaces are also supported.

example/main.dart

import 'dart:io';

import 'package:http/io_client.dart';
import 'package:webfeed_plus/webfeed_plus.dart';

void main() async {
  final client = IOClient(HttpClient()
    ..badCertificateCallback =
        ((X509Certificate cert, String host, int port) => true));

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

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

  client.close();
}
4
likes
130
points
192
downloads

Publisher

unverified uploader

Weekly Downloads

webfeed_plus is a dart package for parsing RSS and Atom feeds. Media, DublinCore, iTunes, Syndication namespaces are also supported.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

intl, xml

More

Packages that depend on webfeed_plus