Commit 0362ac42 authored by KitaitiMakoto's avatar KitaitiMakoto

Add document to switch XML library in Home

parent be376699
......@@ -117,6 +117,14 @@ ret == book # => true; this API is not good I feel... Welcome suggestion!
# do something with your book
----
==== Switching XML Library
EPUB Parser uses https://ruby-doc.org/stdlib-2.5.3/libdoc/rexml/rdoc/index.html[REXML], a standard-bundled library, by default. You can use https://www.nokogiri.org/[Nokogiri], a Ruby bindings for http://xmlsoft.org/[Libxml2] and http://xmlsoft.org/XSLT/[Libxslt] and more if you have already installed Nokogiri gem by RubyGems or Bundler.
----
EPUB::Parser::XMLDocument.backend = :Nokogiri
----
==== Switching ZIP library
EPUB Parser uses https://github.com/javanthropus/archive-zip[Archive::Zip], a pure Ruby ZIP library, by default. You can use https://bitbucket.org/winebarrel/zip-ruby/wiki/Home[Zip/Ruby], a Ruby bindings for https://libzip.org/[libzip] if you have already installed Zip/Ruby gem by RubyGems or Bundler.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment