Search packages, repositories and app categories

Package detailsv0.7.0

webfeed

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
624
Likes
114
Pub points
120

Install package

flutter pub add webfeed

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

webfeed is a Dart package designed for parsing RSS and Atom feeds, supporting essential namespaces like Media, DublinCore, iTunes, and Syndication. It enables developers to easily extract and work with feed data across multiple platforms. The package is ideal for applications that consume content from blogs, news sites, or podcasts, offering structured access to titles, descriptions, authors, and metadata. With support for Android, iOS, Web, macOS, Windows, and Linux, it ensures cross-platform compatibility. Its lightweight design and straightforward API make it accessible for both beginners and experienced developers.

Use cases

  • Parsing RSS and Atom feeds
  • Extracting podcast metadata
  • Aggregating blog content
  • Building news readers
  • Supporting media-rich feeds

Key features

  • Supports RSS and Atom formats
  • Handles Media, DublinCore, iTunes, Syndication namespaces
  • Cross-platform compatibility
  • Simple and intuitive API
  • Robust feed validation

Suitable for

  • News and content aggregation apps
  • Podcast players
  • Blog readers
  • RSS feed integrations
  • Cross-platform feed consumers

Considerations

  • Requires valid feed URLs
  • Limited to parsing; no feed fetching
  • May need additional handling for malformed feeds
  • Not suitable for real-time feed updates
  • Depends on external feed source reliability

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

WebFeed

Build Status Pub

A dart package for parsing RSS and Atom feed.

Features
  • [x] RSS (0.9, 1.0, & 2.0)
  • [x] Atom
  • [x] Namespaces
    • [x] Media RSS
    • [x] Dublin Core
    • [x] iTunes
    • [x] Syndication
Installing

Add this line into your pubspec.yaml

webfeed: ^0.7.0

Import the package into your dart code using:

import 'package:webfeed/webfeed.dart';
Example

To parse string into RssFeed object use:

var rssFeed = RssFeed.parse(xmlString); // for parsing RSS feed
var atomFeed = AtomFeed.parse(xmlString); // for parsing Atom feed
Preview

RSS

feed.title
feed.description
feed.link
feed.author
feed.items
feed.image
feed.cloud
feed.categories
feed.skipDays
feed.skipHours
feed.lastBuildDate
feed.language
feed.generator
feed.copyright
feed.docs
feed.managingEditor
feed.rating
feed.webMaster
feed.ttl
feed.dc

RssItem item = feed.items.first;
item.title
item.description
item.link
item.categories
item.guid
item.pubDate
item.author
item.comments
item.source
item.media
item.enclosure
item.dc

Atom

feed.id
feed.title
feed.updated
feed.items
feed.links
feed.authors
feed.contributors
feed.categories
feed.generator
feed.icon
feed.logo
feed.rights
feed.subtitle

AtomItem item = feed.items.first;
item.id
item.title
item.updated
item.authors
item.links
item.categories
item.contributors
item.source
item.published
item.content
item.summary
item.rights
item.media

License

WebFeed is licensed under the MIT License - see the LICENSE.md file for details

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package