May 2010
2 posts
CSS Selector for HTTPBuilder
If you use HTTPBuilder to crawl web pages and extract information, you would have noticed that it uses the Groovy’s XML Support for parsing HTML. Groovy’s GPath is powerful, but HTML has something more powerful (not to mention simple, easy and intuitive) for selection, CSS Selectors. jQuery has proved css selectors are indeed, the best way for DOM manipulation.
CSS Selectors are...
Facebook style input box using YUI2
A facebook style input box using YUI 2 Autocomplete. Demo here.
Download the code here.