opml

Version, currently master branch1 version
  • master branchlatestJul 9, 2018

github.com/mjago/opml

Hierarchical OPML parser

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  opml:
    github: mjago/opml
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
Martyn Jago

Dependencies

This version declares no dependencies.

README

OPML Parser

Hierarchical OPML Parser. Unlimited depth of structure is preserved in an object tree of Outlines.

Installation

Add this to your application's shard.yml:

dependencies:
  opml:
    github: mjago/opml

Usage

require "opml"

outlines = [] of Outline
%w[miscellaneous.opml other.opml].each do |file|
  outlines += Opml.parse_file("opml/" + file)
end

See specs for further details.

Contributing

  1. Fork it ( https://github.com/mjago/opml/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • mjago mjago - creator, maintainer