OPML library for Rust & standalone CLI. https://crates.io/crates/opml
Go to file
Bauke 769e566414
Make the head element optional to accomodate technically invalid OPMLs.
2020-05-26 10:28:19 +02:00
examples Make the head element optional to accomodate technically invalid OPMLs. 2020-05-26 10:28:19 +02:00
source Make the head element optional to accomodate technically invalid OPMLs. 2020-05-26 10:28:19 +02:00
tests Make the head element optional to accomodate technically invalid OPMLs. 2020-05-26 10:28:19 +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 Fix doc comments. 2020-05-23 18:21:21 +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 documentation and an example in the code. 2020-05-25 02:12:43 +02:00
rustfmt.toml Initial commit! 🎉 2020-05-23 14:32:40 +02:00

ReadMe.md

OPML

An OPML 2.0 parser for Rust.

Contents

Expertise Wanted

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);

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.