News for hackers. Stuff that matters.
Re:Commenting Code Properly by sneak on Thursday December 13, 2012 @05:02AM (#4915124)
> No matter how you slice it parsing HTML from a 3rd party site is a major hack

WebKit seems to do just fine. I think you're making excuses.

Re:Commenting Code Properly by sailfrog on Thursday December 13, 2012 @10:02AM (#4915926)
Until the source site changes the URL, or the URL arguments, or the page structure, or the doctype, or the CSS selectors, or the element ids, or whatever it is you key on to ferret out the content you care about. Scraping data embedded in markup not bound to an API spec is fragile regardless of how "properly" you parse it because there is no guarantee of structural consistency.