RSS NokogiriParser
This gem enable standard bundled RSS library to use Nokogiri as parser.
Installation
Add this line to your application's Gemfile:
gem 'rss-nokogiri'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rss-nokogiri
Usage
Require this library:
require 'rss/nokogiri'
Now RSS::Parser.default_parser
have become RSS::NokogiriParser
instead of the default RSS::REXMLParser
.
If you want to use other parsers, call RSS::Parser.default_parser=
. Available parsers can be seen in RSS::AVAILABLE_PARSERS
.
Todo
- Handling processing instruction.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Merge Request
License
This library is distributed under the Ruby's license. See the file COPYING for the term.