Hacker GitHub

← All repos

sparklemotion/nokogiri

View on GitHub ↗ ★ 6,282 C

Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.

11 mentions on Hacker News by 11 people: 1 story, 10 comments · first 2014-01-23 · latest 2025-10-17

Mentions per year 11 mentions · busiest year 2014 (3)
20082026
  1. Sort of. Go packages have the source baked into the package name. It would be like needing to say `require "github.com/sparklemotion/nokogiri"` rather than what we do today, `require "nokogiri"` and then if you want to change the source…
  2. …of the reasons I still use nokogiri is because it puts a lot of effort into keeping libxml updated: https://github.com/sparklemotion/nokogiri/releases
  3. …way though by collecting ancestors and then converting the CSS into xpath and matching that: https://github.com/sparklemotion/nokogiri/blob/e8d30a71d70b2... https://github.com/sparklemotion/nokogiri/blob/e8d30a71d70b2... I'd expect that to…
    comment by esprehn · 2024-11-17 · in How we made a Ruby method 200x faster
  4. …gitlab.gnome.org/GNOME/libxml2/-/issues/211 [2] https://wiki.php.net/rfc/domdocument_html5_parser [3] https://github.com/sparklemotion/nokogiri/issues/2204
  5. …libxml2/libxslt, so exslt should be available either as an option or by building it yourself. [0] https://github.com/sparklemotion/nokogiri/commit/eb56525fbcc... [1] http://exslt.org
    comment by masklinn · 2020-10-30 · in What Happened to XPath?
  6. You may be interested in precompiled native Nokogiri: https://github.com/sparklemotion/nokogiri/issues/2075
    comment by tomstuart · 2020-09-25 · in Ruby 3.0 Preview 1
  7. yes, to be fair they patch vulnerabilities in their vendored version of libraries https://github.com/sparklemotion/nokogiri/issues/1992
  8. Nokogiri comes with a command-line tool for just that purpose: https://github.com/sparklemotion/nokogiri/blob/master/bin/no... Example: nokogiri https://news.ycombinator.com -e 'puts $_.css("td.title a @href")'
    comment by dashesyan · 2014-09-13 · in Show HN: Pup – A command-line HTML parser
  9. …2007, and Linux since 1995, but hadn't gone full time with both except through my own company): https://github.com/sparklemotion/nokogiri/pull/554 Gave me the warm fuzzies, even though I broke everything temporarily :)
    comment by duncan_bayne · 2014-04-01 · in You Got Your Web Browser in my Compiler
  10. …For the nokogiri users, there are a couple of proofs-of-concept in this ticket: https://github.com/sparklemotion/nokogiri/issues/693 - they should be patched with modern versions of nokogiri and libxml2, but if you're running older versio