Skip to content
pubscout

rss_dart

1.0.14, released a year ago by ubuntufluttercommunity.org

A Dart package for parsing RSS 1.0, RSS 2.0, and Atom feeds.

WASM-ready
$ flutter pub add rss_dart
Source repository

What it does

It parses XML strings of RSS 1.0, RSS 2.0, and Atom feeds into structured Dart objects. It includes support for various namespaces like Media RSS, Dublin Core, and Podcast tags.

AI-written summary of version 1.0.14, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to fetch and parse RSS or Atom feeds in a Dart or Flutter application.
  • You require support for podcast extensions and media namespaces within RSS feeds.

Skip it when

  • You are building a full feed reader that also requires OPML or complex database synchronization out of the box.

Strengths

  • Supports RSS 1.0, RSS 2.0, and Atom feeds.
  • Built-in support for multiple namespaces including Media RSS, Dublin Core, and Podcast tags.
  • Updated for Dart 3.

Weaknesses

  • Limited to feed parsing functionality only.
  • Not documented for complex feed syndication storage or management features.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
3

Just add the dependency to pubspec.yaml and import the package.

var rssFeed = new RssFeed.parse(xmlString);
var atomFeed = new AtomFeed.parse(xmlString);
var rss1Feed = new Rss1Feed.parse(xmlString);

Alternatives

Packages that do the same job and could replace rss_dart.

Works with

Packages commonly used together with rss_dart: ones it builds on, ones built on it, and its own family.