“Inspect element” is not the same as “View source”
456bereastreet.com
456bereastreet.com
Isn't this fairly obvious?
Being unable to inspect elements after you've fiddled with them via javascript would eliminate about 99% of the usefuless...
For example, a few weeks ago, I was testing a website. It worked fine in Firefox, Chrome, and Safari, but broke horribly in Internet Explorer. A look at the source made me realize that a syntax error in my templates was causing the first few lines of the source (including <html><head>, etc.) to render. The other browsers all ignored this.
If you're looking for one to do HTML scraping, I think it really depends on the language you're using, and I don't think there's a single gold standard.
I'm confused by your question, though; are you implying that webkit is a standard DOM engine, or asking? Webkit isn't a standard, it's merely broadly used. And a standard DOM parser and a standard HTML parser would be one and the same.
I was just wondering if there was a standard way to parse it. Right now I'm using HtmlAgilityPack, but I'm not adverse to hooking into a third-party dll (or writing my own parser) if necessary. Just wondering what was out there.
As an example, today I ran into a website with opening <p> tags but no closing </p> tags
Wreaks havoc with the DOM on the parser I'm using. Before I start hosing around with that I was just trying to make sure I wasn't re-inventing the wheel.