Crate rss

Source
Expand description

A fast RSS feed parser.

§Reading

Reading can be done using any object that implements the BufRead trait.

§Example

use std::fs::File;
use std::io::BufReader;
use rss::Channel;

let file = File::open("example.xml").unwrap();
let reader = BufReader::new(file);
let channel = Channel::read_from(reader).unwrap();

Re-exports§

Modules§

  • Types and functions for namespaced extensions.

Structs§

  • A representation of the <category> element.
  • A representation of the <channel> element.
  • A representation of the <cloud> element.
  • A representation of the <enclosure> element.
  • A representation of the <guid> element.
  • A representation of the <image> element.
  • A representation of the <item> element.
  • A representation of the <source> element.
  • A representation of the <textInput> element.

Enums§

  • Types of errors that could occur while parsing an RSS feed.