June 13, 2015
2:10 p.m.
Peter Kenny wrote
allows the specification of a node factory to provide custom handling of nodes
Sound like exactly what I had in mind! Although, now that I've played with it, I realize that most of the web scraping use cases that I've encountered seem like they could really benefit from a PetitParser style tool, where one could specify the output for each rule (e.g. `dataRowRule ==> [ "code translating the node/element into a domain object" ]`, and so parse the markup directly to domain objects... ----- Cheers, Sean -- View this message in context: http://forum.world.st/HTML-Parser-w-custom-nodes-tp4832169p4832257.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.