opml

Hierarchical OPML Parser

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
Repository

opml

Owner
Statistic
  • 1
  • 0
  • 0
  • 1
  • 0
  • over 6 years ago
  • June 13, 2018
License

MIT License

Links
Synced at

Sun, 22 Dec 2024 07:06:58 GMT

Languages