Jump to content

Nokogiri (software): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 19: Line 19:


'''Nokogiri''' is an [[Open-source software|open source]] [[software library]] to parse [[HTML]] and [[XML]] in [[Ruby (programming language)|Ruby]].<ref name="Cooper2009">{{cite book|author=Peter Cooper|title=Beginning Ruby: From Novice to Professional|url=https://books.google.com/books?id=A78bYfzYKZ4C&pg=PA528|accessdate=15 May 2011|date=20 July 2009|publisher=Apress|isbn=978-1-4302-2363-4|pages=528–529}}</ref><ref name="PytelSaleh2010">{{cite book|author1=Chad Pytel|author2=Tammer Saleh|title=Rails AntiPatterns: Best Practice Ruby on Rails Refactoring|url=https://books.google.com/books?id=i6mZ0HBDPzsC&pg=PA199|accessdate=15 May 2011|date=9 November 2010|publisher=Addison-Wesley|isbn=978-0-321-60481-1|page=199}}</ref><ref name="Watson2009">{{cite book|author=Mark Watson|title=Scripting Intelligence: Web 3.0 Information, Gathering and Processing|url=https://books.google.com/books?id=ElSxSLsc3M0C&pg=PA22|accessdate=15 May 2011|year=2009|publisher=Springer|isbn=978-1-4302-2351-1|page=22}}</ref><ref>{{Cite web|title = Tutorials - Nokogiri 鋸|url = http://www.nokogiri.org/|website = www.nokogiri.org|access-date = 2016-02-04|first = Team|last = Sparklemotion}}</ref> It depends on [[libxml2]] and [[libxslt]] to provide its functionality.<ref>{{cite web|url=https://github.com/sparklemotion/nokogiri/blob/master/README.md|title=Nokogiri (README.md)|via=[[GitHub]]|accessdate=22 November 2018}}</ref>
'''Nokogiri''' is an [[Open-source software|open source]] [[software library]] to parse [[HTML]] and [[XML]] in [[Ruby (programming language)|Ruby]].<ref name="Cooper2009">{{cite book|author=Peter Cooper|title=Beginning Ruby: From Novice to Professional|url=https://books.google.com/books?id=A78bYfzYKZ4C&pg=PA528|accessdate=15 May 2011|date=20 July 2009|publisher=Apress|isbn=978-1-4302-2363-4|pages=528–529}}</ref><ref name="PytelSaleh2010">{{cite book|author1=Chad Pytel|author2=Tammer Saleh|title=Rails AntiPatterns: Best Practice Ruby on Rails Refactoring|url=https://books.google.com/books?id=i6mZ0HBDPzsC&pg=PA199|accessdate=15 May 2011|date=9 November 2010|publisher=Addison-Wesley|isbn=978-0-321-60481-1|page=199}}</ref><ref name="Watson2009">{{cite book|author=Mark Watson|title=Scripting Intelligence: Web 3.0 Information, Gathering and Processing|url=https://books.google.com/books?id=ElSxSLsc3M0C&pg=PA22|accessdate=15 May 2011|year=2009|publisher=Springer|isbn=978-1-4302-2351-1|page=22}}</ref><ref>{{Cite web|title = Tutorials - Nokogiri 鋸|url = http://www.nokogiri.org/|website = www.nokogiri.org|access-date = 2016-02-04|first = Team|last = Sparklemotion}}</ref> It depends on [[libxml2]] and [[libxslt]] to provide its functionality.<ref>{{cite web|url=https://github.com/sparklemotion/nokogiri/blob/master/README.md|title=Nokogiri (README.md)|via=[[GitHub]]|accessdate=22 November 2018}}</ref>

==Overview==

It provides a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is available for ruby as well as java through [[Jruby]].
It provides fast and standards-compliant parser by relying on native parsers like [[libxml2]] ([[CRuby]]) and [[Apache Xerces|xerces]] (JRuby).


It is one of the most downloaded [[RubyGems|Ruby gems]], having been downloaded over 300 million times from the rubygems.org repository.<ref>{{Cite web|title=nokogiri|url=https://rubygems.org/gems/nokogiri|accessdate=20 April 2020|website=[[RubyGems|RubyGems repository]]}}</ref>
It is one of the most downloaded [[RubyGems|Ruby gems]], having been downloaded over 300 million times from the rubygems.org repository.<ref>{{Cite web|title=nokogiri|url=https://rubygems.org/gems/nokogiri|accessdate=20 April 2020|website=[[RubyGems|RubyGems repository]]}}</ref>

Revision as of 07:57, 3 February 2022

Nokogiri, an XML and HTML Parser
Original author(s)Aaron Patterson, Mike Dalessio
Developer(s)Aaron Patterson, Mike Dalessio, Yoko Harada, Timothy Elliott, John Shahid, Akinori MUSHA
Initial releaseOctober 30, 2008 (2008-10-30)
Stable release
1.13.1 / January 13, 2022; 2 years ago (2022-01-13)[1]
Preview release
1.11.0.rc3 / September 8, 2020; 4 years ago (2020-09-08)[1]
Repository
Operating systemLinux, FreeBSD, OpenBSD, Windows, macOS
PlatformCross-platform
Available inRuby, Java
TypeParser
LicenseMIT License[2]
Websitewww.nokogiri.org Edit this on Wikidata

Nokogiri is an open source software library to parse HTML and XML in Ruby.[3][4][5][6] It depends on libxml2 and libxslt to provide its functionality.[7]

Overview

It provides a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is available for ruby as well as java through Jruby. It provides fast and standards-compliant parser by relying on native parsers like libxml2 (CRuby) and xerces (JRuby).

It is one of the most downloaded Ruby gems, having been downloaded over 300 million times from the rubygems.org repository.[8]

References

  1. ^ a b "Releases - sparklemotion/nokogiri". Retrieved 03 February 2022 – via GitHub. {{cite web}}: Check date values in: |accessdate= (help)
  2. ^ "LICENSE". Github. Retrieved 5 September 2019.
  3. ^ Peter Cooper (20 July 2009). Beginning Ruby: From Novice to Professional. Apress. pp. 528–529. ISBN 978-1-4302-2363-4. Retrieved 15 May 2011.
  4. ^ Chad Pytel; Tammer Saleh (9 November 2010). Rails AntiPatterns: Best Practice Ruby on Rails Refactoring. Addison-Wesley. p. 199. ISBN 978-0-321-60481-1. Retrieved 15 May 2011.
  5. ^ Mark Watson (2009). Scripting Intelligence: Web 3.0 Information, Gathering and Processing. Springer. p. 22. ISBN 978-1-4302-2351-1. Retrieved 15 May 2011.
  6. ^ Sparklemotion, Team. "Tutorials - Nokogiri 鋸". www.nokogiri.org. Retrieved 2016-02-04.
  7. ^ "Nokogiri (README.md)". Retrieved 22 November 2018 – via GitHub.
  8. ^ "nokogiri". RubyGems repository. Retrieved 20 April 2020.