[erlang-questions] Rant: I hate parsing XML with Erlang
Tue Oct 23 22:56:20 CEST 2007
using IE on Windows or Firefox on Linux is actually the best way to implement
Web Automation, i.e. bot logging into website/webapp, clicking links and
buttons, etc. This way not only bad-formed HTML, but virtually any Web
The only problems with this approach:
1. It requires much more resources (i.e more heavyweight, than jsut HTML
2. When running multiple firefox instances on the same node, there are canbe
3. In server environment it should be possible to run Firefox in headless
mode (i.e. without X).
Joe Armstrong-2 wrote:
> The point is (or was) that firefox has code to parse virtally any kind of
> warped incomprehensable html - letting firefox figure out the "meaning" of
> deeply crippled and totally incomprehensible html and then scanning the
> (the generated DOM) seems a lot easier than figuring out how to parse
> crippled HTML yourself - using other stuff as components to do what they
> good at doesn't seem that crazy to me.
> On 10/23/07, Joel Reymont <> wrote:
>> On Oct 23, 2007, at 4:09 PM, Joe Armstrong wrote:
>> > You could then use Erlang as a coordination language controlling
>> > a load of firefoxes on different machines, telling them to go get
>> > pages and
>> > scrape the pages for data which they send back to Erlang.
>> This is nuts!!! /With all due respect to Joe/
> erlang-questions mailing list
View this message in context: http://www.nabble.com/Rant%3A-I-hate-parsing-XML-with-Erlang-tf4676760.html#a13373590
Sent from the Erlang Questions mailing list archive at Nabble.com.
More information about the erlang-questions