title: Is it possible to create a HTML push parser with Nokogiri?
body: <p>I'm trying to parse large HTML documents and extract information from them, so that I can create JSON documents with just the data that I want. I'm currently using a Nokogiri::HTML::SAX::Parser to parse the HTML document and it works great; but to speed things up I'd like to use something closer to the <a href="http://nokogiri.org/Nokogiri/XML/SAX/PushParser.html" rel="nofollow">Nokogiri::XML::SAX::PushParser</a>, so that I can begin the parse whilst I'm downloading the HTML document.</p>
  
  <p><a href="https://gist.github.com/1376053" rel="nofollow">I've tried playing around</a> with Nokogiri to throw in a HTML SAX parser with the PushParser, but it keeps giving me syntax errors because it still treats the input document as XML. There might be a good reason why you can't use a push parser approach with HTML, because of malformed tags and so on, but I was wondering whether there is a way of using Nokogiri's PushParser with HTML documents?</p>