OPML library for Rust & standalone CLI. https://crates.io/crates/opml
Go to file
Bauke 18c8284ba9
Move to self-hosted Gitea, clean up stuff.
2020-08-06 17:45:18 +02:00
examples Make the head element optional to accomodate technically invalid OPMLs. 2020-05-26 10:28:19 +02:00
source Move to self-hosted Gitea, clean up stuff. 2020-08-06 17:45:18 +02:00
tests Move to self-hosted Gitea, clean up stuff. 2020-08-06 17:45:18 +02:00
.gitignore Initial commit! 🎉 2020-05-23 14:32:40 +02:00
Cargo.toml Move to self-hosted Gitea, clean up stuff. 2020-08-06 17:45:18 +02:00
LICENSE-Apache Move to self-hosted Gitea, clean up stuff. 2020-08-06 17:45:18 +02:00
LICENSE-MIT Move to self-hosted Gitea, clean up stuff. 2020-08-06 17:45:18 +02:00
README.md Move to self-hosted Gitea, clean up stuff. 2020-08-06 17:45:18 +02:00
rustfmt.toml Initial commit! 🎉 2020-05-23 14:32:40 +02:00

README.md

OPML

An OPML parser for Rust.

Getting Started

use opml::OPML;

let xml = r#"<opml version="2.0"><body><outline text="Outline"/></body></opml>"#;
let parsed = OPML::new(xml).unwrap();

println!("{:#?}", parsed);

Check out the documentation for further details.

CLI

Looking for a command-line utility to parse OPML documents? Check out the opml-cli, a small wrapper around this crate that will let you do just that.

License

Open-sourced with either the

at your option.

The samples located in tests/spec_samples were taken from the OPML 2.0 spec and are subject to their own license.