<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Easy Screen Scraping in PHP with the Simple HTML DOM Library</title>
	<atom:link href="http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/</link>
	<description>Keeping webmasters up-to-date on technology.</description>
	<pubDate>Tue, 02 Dec 2008 22:03:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: seo</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-4398</link>
		<dc:creator>seo</dc:creator>
		<pubDate>Fri, 05 Sep 2008 09:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-4398</guid>
		<description>simple and brief intro, nice work there!</description>
		<content:encoded><![CDATA[<p>simple and brief intro, nice work there!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3486</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Mon, 11 Aug 2008 17:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3486</guid>
		<description>This looks promising.  Why not try to get this into PECL or PEAR?</description>
		<content:encoded><![CDATA[<p>This looks promising.  Why not try to get this into PECL or PEAR?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3426</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Fri, 08 Aug 2008 11:47:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3426</guid>
		<description>Nice, I should try it.
I used htmlsql [http://www.jonasjohn.de/lab/htmlsql.htm] and it was good; very fast and easy to learn and write code; LIKE sql "SELECT href FROM a WHERE $class='newsLinks' ".
the only problem was that it could not parse the invalid html; for example (&lt;a href="/home" rel="nofollow"&gt;)</description>
		<content:encoded><![CDATA[<p>Nice, I should try it.<br />
I used htmlsql [http://www.jonasjohn.de/lab/htmlsql.htm] and it was good; very fast and easy to learn and write code; LIKE sql &#8220;SELECT href FROM a WHERE $class=&#8217;newsLinks&#8217; &#8220;.<br />
the only problem was that it could not parse the invalid html; for example (<a href="/home" rel="nofollow">)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drew</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3418</link>
		<dc:creator>drew</dc:creator>
		<pubDate>Fri, 08 Aug 2008 06:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3418</guid>
		<description>mmm, tasty.  i've been looking for something like this.</description>
		<content:encoded><![CDATA[<p>mmm, tasty.  i&#8217;ve been looking for something like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash Mehta</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3396</link>
		<dc:creator>Akash Mehta</dc:creator>
		<pubDate>Thu, 07 Aug 2008 06:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3396</guid>
		<description>Thanks WC.

@David: Just download the library .zip file, extract the files, locate the library .php file somewhere readable on your server and include it. Also check out the manual included in the download.

@Matthew: Interesting point, and thanks for mentioning DOM Parser. As far as I can see, simplehtmldom is just a wrapper around the DOM APIs in PHP 5, but it's a very high level of abstraction and it does a lot in between (such as all these complex selectors). There are some regular expressions with considerable overhead, but it's still reasonably efficient.</description>
		<content:encoded><![CDATA[<p>Thanks WC.</p>
<p>@David: Just download the library .zip file, extract the files, locate the library .php file somewhere readable on your server and include it. Also check out the manual included in the download.</p>
<p>@Matthew: Interesting point, and thanks for mentioning DOM Parser. As far as I can see, simplehtmldom is just a wrapper around the DOM APIs in PHP 5, but it&#8217;s a very high level of abstraction and it does a lot in between (such as all these complex selectors). There are some regular expressions with considerable overhead, but it&#8217;s still reasonably efficient.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohsen</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3395</link>
		<dc:creator>Mohsen</dc:creator>
		<pubDate>Thu, 07 Aug 2008 05:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3395</guid>
		<description>Thanks! was looking for an HTML scrapper</description>
		<content:encoded><![CDATA[<p>Thanks! was looking for an HTML scrapper</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Turland</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3394</link>
		<dc:creator>Matthew Turland</dc:creator>
		<pubDate>Thu, 07 Aug 2008 02:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3394</guid>
		<description>@WC Yes.

While I like several things about jQuery, I have to say that the syntax offers somewhat of a sharp learning curve for those not already familiar with CSS selectors. I have my own library similar to the Simple HTML DOM Parser project that offers similar functionality programmatically through the API rather than having the overhead of an expression parser in PHP userland for the sake of extreme concision in API calls. You can find my library here: http://svn.assembla.com/svn/php_domquery/trunk. The vast majority of the code is covered by unit tests and all API methods are documented using phpDoc-style docblocks.</description>
		<content:encoded><![CDATA[<p>@WC Yes.</p>
<p>While I like several things about jQuery, I have to say that the syntax offers somewhat of a sharp learning curve for those not already familiar with CSS selectors. I have my own library similar to the Simple HTML DOM Parser project that offers similar functionality programmatically through the API rather than having the overhead of an expression parser in PHP userland for the sake of extreme concision in API calls. You can find my library here: <a href="http://svn.assembla.com/svn/php_domquery/trunk" rel="nofollow">http://svn.assembla.com/svn/php_domquery/trunk</a>. The vast majority of the code is covered by unit tests and all API methods are documented using phpDoc-style docblocks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WC</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3385</link>
		<dc:creator>WC</dc:creator>
		<pubDate>Wed, 06 Aug 2008 16:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3385</guid>
		<description>Neat library.

BTW...
  foreach($html-&#62;find('a' as $element))
should be
  foreach($html-&#62;find('a') as $element)
no?</description>
		<content:encoded><![CDATA[<p>Neat library.</p>
<p>BTW&#8230;<br />
  foreach($html-&gt;find(&#8217;a&#8217; as $element))<br />
should be<br />
  foreach($html-&gt;find(&#8217;a') as $element)<br />
no?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mobley</title>
		<link>http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3384</link>
		<dc:creator>David Mobley</dc:creator>
		<pubDate>Wed, 06 Aug 2008 16:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/#comment-3384</guid>
		<description>How do set this up with a server running locally? I don't understand how to install the simplehtmldom library.</description>
		<content:encoded><![CDATA[<p>How do set this up with a server running locally? I don&#8217;t understand how to install the simplehtmldom library.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
