If anyone has a use for a *streaming* permissive HTML parser (i.e., one that calls your specific bits of code while it's parsing, rather than it constructing some kind of representation of the entire page for your code to process afterwards), I'd be interested in what specifically you'd like it to do.

(For example, in a simplifying/security Web proxy, in which you want to reduce memory requirements on the proxy host, and perhaps also response latency, by transforming as you go.  Or in a Web scraper for large query results, in which, say, you want to be sending a large amount of extracted data to as rows to a different database without buffering up a huge page and/or the rows.  Or for scraping a small part of a large page without allocating a parsed representation of the entire page.  Or maybe you'd like the performance properties of streaming, and the convenience of a pattern-based scraper or transformation language atop that.  )

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/d2f9c369-31fc-5e8d-1bb4-1751e84c6793%40neilvandyke.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to