OPML library for Rust & standalone CLI. https://crates.io/crates/opml
Go to file
Bauke 3e90b069a5
Add support for OPML 1.0 and 1.1.
2020-05-27 14:11:42 +02:00
examples Make the head element optional to accomodate technically invalid OPMLs. 2020-05-26 10:28:19 +02:00
source Add support for OPML 1.0 and 1.1. 2020-05-27 14:11:42 +02:00
tests Add support for OPML 1.0 and 1.1. 2020-05-27 14:11:42 +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 support for OPML 1.0 and 1.1. 2020-05-27 14:11:42 +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 support for OPML 1.0 and 1.1. 2020-05-27 14:11:42 +02:00
rustfmt.toml Initial commit! 🎉 2020-05-23 14:32:40 +02:00

ReadMe.md

OPML

An OPML 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.