webfeed_plus 1.1.1+1 copy "webfeed_plus: ^1.1.1+1" to clipboard
webfeed_plus: ^1.1.1+1 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();
}
3
likes
140
pub points
87%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

intl, xml

More

Packages that depend on webfeed_plus