Dapper
July 07, 2007
Problem - I want to track water conservation notices in my county, but ncwater.org does not offer feeds or alerts of any kind. It only has static HTML pages generated via form input.
Solution - My very own NC Water Management Dapp. I can now consume notices about water restrictions in an RSS feed, NetVibes module, XML doc, email alert, JSON, CSV, and about seven other formats.
I'd toyed with Dapper before. It sounded like an interesting concept: point Dapper to similar pages, show it what inputs generated that page, tell it what output is important on the page, and choose an output format for the scraped data. Admittedly, I shrugged it off. Why would I want to screen scrape a site? Doesn't everyone provide RSS/Atom feeds, email alerts, text messages, etc. these days?
How easy I forget that not everyone is so tech-savvy. I can thank Google for making me so naive. 'What do you mean I can't get service X delivered in format Y to my device Z?!'
Anyway, now I see how truly useful Dapper can be. I spent about fifteen minutes teaching it:
- What input to use on the Check water use restriction status page
- What output from the county Water system summary page to scrape
- How to group the output information
- What output format to produce from the data
If you haven't seen Dapper already, I recommend watching the demo or toying with it yourself. It appears capable of doing quite a bit more than what I tested today.
Contact
GitHub
LinkedIn
RSS