<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 11:48:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Web scraping tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/12088</guid>
      <link>http://www.phpdeveloper.org/news/12088</link>
      <description><![CDATA[<p>
In <a href="http://www.codediesel.com/php/web-scraping-in-php-tutorial/">a new tutorial</a> on his blog today, <i>Sameer</i> shows a library that you can use (<a href="http://simplehtmldom.sourceforge.net/">simplehtmldom</a>) to parse remote sites and pull out just the information you need (aka "web scraping").
</p>
<blockquote>
There are three ways to access a website data. One is through a browser, the other is using a API (if the site provides one) and the last by parsing the web pages through code. The last one also known as Web Scraping is a technique of extracting information from websites using specially coded programs. In this post we will take a quick look at writing a simple scraper using the <a href="http://simplehtmldom.sourceforge.net/">simplehtmldom</a> library.
</blockquote>
<p>
His three (really more) step process guides yo through installing the library, installing Firebug and some example code to create your first scraper - an example that pulls some of the "Featured Links" from the Google search results sidebar. The second example illustrates grabbing the list of the table of contents from the most recent issue of <a href="http://wired.com">Wired</a>.
</p>]]></description>
      <pubDate>Mon, 09 Mar 2009 07:52:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CodeSnipers.com: Book Review: PHP Hacks]]></title>
      <guid>http://www.phpdeveloper.org/news/6809</guid>
      <link>http://www.phpdeveloper.org/news/6809</link>
      <description><![CDATA[<p>
On CodeSnipers.com there's a <a href="http://codesnipers.com/?q=node/513">new book review</a> of one of O'Reilly's PHP-related offerings, "PHP Hacks" by "Jack D. Herrington".
</p>
<blockquote>
I had borrowed a Perl Hacks book from and friend and really liked it, it was great! It had a lot of practical things as well as some fun things. I expected the same from PHP Hacks and I was not disappointed!
</blockquote>
<p>
She links to both the <a href="http://www.oreilly.com/catalog/phphks/toc.html">table of contents</a> and the <a href="http://www.oreilly.com/catalog/phphks/chapter/index.html">sample chapter</a> to give you an idea of the feel of the book. There's two main sections in the review covering both aspects of the book - the Practical Stuff and the Fun Stuff. Of course, no book is perfect, so there is one thing she mentions that wasn't really worked into the book, but you'll need to <a href="http://codesnipers.com/?q=node/513">read the review</a> to find out what.
</p>]]></description>
      <pubDate>Fri, 01 Dec 2006 11:32:00 -0600</pubDate>
    </item>
  </channel>
</rss>
