Hierarchical OPML Parser. Unlimited depth of structure is preserved in an object tree of Outlines.
Add this to your application's shard.yml:
dependencies:
opml:
github: mjago/opmlrequire "opml"
outlines = [] of Outline
%w[miscellaneous.opml other.opml].each do |file|
outlines += Opml.parse_file("opml/" + file)
endSee specs for further details.
- Fork it ( https://github.com/mjago/opml/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- mjago mjago - creator, maintainer