OPML library for Rust & standalone CLI. https://crates.io/crates/opml
Go to file
Bauke b429da1362
Add more and clean up documentation.
2020-05-28 16:47:03 +02:00
examples Make the head element optional to accomodate technically invalid OPMLs. 2020-05-26 10:28:19 +02:00
source Add more and clean up documentation. 2020-05-28 16:47:03 +02:00
tests Add more and clean up documentation. 2020-05-28 16:47:03 +02:00
.gitignore Initial commit! 🎉 2020-05-23 14:32:40 +02:00
.gitlab-ci.yml Add GitLab CI builds. 2020-05-24 15:33:18 +02:00
Cargo.toml Add more and clean up documentation. 2020-05-28 16:47:03 +02:00
License-Apache Initial commit! 🎉 2020-05-23 14:32:40 +02:00
License-MIT Initial commit! 🎉 2020-05-23 14:32:40 +02:00
ReadMe.md Add more and clean up documentation. 2020-05-28 16:47:03 +02:00
rustfmt.toml Initial commit! 🎉 2020-05-23 14:32:40 +02:00

ReadMe.md

OPML

An OPML parser for Rust.

Contents

Expertise Welcome

This is the first crate I'm publishing to crates.io and the first proper library I've made for Rust. Any help or tips with how to improve the API, documentation, usability, testing or anything else is very welcome. Feel free to create an issue or contact me via email at helllo@holllo.cc.

Getting Started

use opml::OPML;

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

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

Check out the documentation for further details.

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.