[][src]Crate feed_rs

This crate provides a parser and common data model over Atom and RSS feeds.

It uses xml-rs a light-weight, streaming XML parser to minimise memory usage and avoids copying (clone) where possible.

The model attempts to find a balance between:

Thus the parser errs on the side of leniency with the outcome that certain fields are represented as Option<T> in the model, even though they may be mandatory in one of the specifications.

Usage

The parser consists of a single method (parser::parse) which accepts an stream representing an XML document and returns a Feed.

Modules

model
parser