Skip to content
pubscout

dart_rss

3.0.3, released 3 years ago by flutterbountyhunters.com

Dart parser and generator for RSS 1.0, RSS 2.0, and Atom feeds.

WASM-ready
$ flutter pub add dart_rss
Source repository

What it does

Parses RSS 1.0, RSS 2.0, and Atom XML feeds into structured Dart objects. Provides partial serialization support for RSS feeds.

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

Use it when

  • You need to fetch and parse blog feeds, news feeds, or podcasts in a Dart or Flutter app.
  • You are building a feed reader or podcast app.

Skip it when

  • You are working with complex XML formats other than standard RSS and Atom.

Strengths

  • Supports multiple feed formats (RSS 1.0, RSS 2.0, Atom).
  • Easy to use with straightforward string parsing methods.
  • Includes support for podcast extensions.

Weaknesses

  • Serialization support is currently only partial for RSS 1.0 and RSS 2.0 feeds.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
3
import 'package:dart_rss/dart_rss.dart';

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

Works with

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