webfeed_revised 0.7.3-beta.1 copy "webfeed_revised: ^0.7.3-beta.1" to clipboard
webfeed_revised: ^0.7.3-beta.1 copied to clipboard

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

example/main.dart

import 'dart:developer';
import 'dart:io';

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

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

  // RSS feed
  var response = await client.get(
    Uri.parse(
      'https://developer.apple.com/news/releases/rss/releases.rss',
    ),
  );
  final rssFeed = RssFeed.parse(response.body);
  log(rssFeed.toString());

  // Atom feed
  response = await client.get(
    Uri.parse(
      'https://www.theverge.com/rss/index.xml',
    ),
  );
  final atomFeed = AtomFeed.parse(response.body);
  log(atomFeed.toString());

  client.close();
}
8
likes
0
pub points
83%
popularity

Publisher

verified publisherkrolmansion.com

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

intl, xml

More

Packages that depend on webfeed_revised