# feed-parser
This module contains various parsers used in the feed-parser library.
The parsers module provides functionality to parse different types of
feed formats, such as RSS and Atom. Each parser is responsible for
handling the specific details of its respective feed format, ensuring
that the feed data is correctly interpreted and converted into a
standardized format for further processing.
## Quick Start
```rust
use feed_parser::parsers::{Feed, rss2};
let rss_data = r#"
RSS Title
http://www.example.com/main.html
This is an example of an RSS feedItem 1
http://www.example.com/item1.html
Item 1 description2024-01-01T23:59:02Z
"#;
let feeds: Vec = rss2::parse(rss_data).unwrap();
assert_eq!(feeds[0].title, "Item 1");
assert_eq!(feeds[0].link, "http://www.example.com/item1.html");
assert_eq!(feeds[0].description.clone().unwrap(), "Item 1 description");
```
## Modules
- `rss1`: Contains the RSS1.0 parser implementation.
- `rss2`: Contains the RSS2.0 parser implementation.
- `atom`: Contains the Atom parser implementation.
## Errors
Parsing errors are handled gracefully, with detailed error messages
provided to help diagnose issues with the feed data.
## License
Apache-2.0