<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Barattalo &#187; File_get_contents</title>
	<atom:link href="http://www.barattalo.it/tag/file_get_contents/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barattalo.it</link>
	<description>code snippets, classes and other stuff for developers</description>
	<lastBuildDate>Sun, 29 Aug 2010 14:28:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Bot that retrieves url meta data and other infos</title>
		<link>http://www.barattalo.it/2010/01/12/bot-that-retrieves-url-meta-data-info/</link>
		<comments>http://www.barattalo.it/2010/01/12/bot-that-retrieves-url-meta-data-info/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 13:55:02 +0000</pubDate>
		<dc:creator>Giulio Pons</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Spiders & webbots]]></category>
		<category><![CDATA[bots]]></category>
		<category><![CDATA[File_get_contents]]></category>
		<category><![CDATA[Mini Bots Class]]></category>
		<category><![CDATA[Regular expression]]></category>
		<category><![CDATA[spiders]]></category>

		<guid isPermaLink="false">http://www.barattalo.it/?p=306</guid>
		<description><![CDATA[From a given url this function retrieves page title, meta description, keywords, favicon, and an array of 5 images to use for links. It call file_get_contents and then make some regular expression job. This function is included in the Mini Bots Class. print_r(getLinksInfo(&#34;http://www.rockit.it/articolo/825/nada-studio-report-quando-nasce-una-canzone&#34;)); function getLinksInfo($url) { $web_page = file_get_contents($url); $data['keywords']=&#34;&#34;; $data['description']=&#34;&#34;; $data['title']=&#34;&#34;; $data['favicon']=&#34;&#34;; $data['images']=array(); preg_match_all('#&#60;title([^&#62;]*)?&#62;(.*)&#60;/title&#62;#Uis', [...]


Related posts:<ol><li><a href='http://www.barattalo.it/2010/03/01/php-to-get-twitter-infos-and-avatar/' rel='bookmark' title='Permanent Link: PHP to get twitter infos and avatar'>PHP to get twitter infos and avatar</a></li>
<li><a href='http://www.barattalo.it/2009/12/24/php-meteo-bot-for-google/' rel='bookmark' title='Permanent Link: PHP bot to grab meteo information from Google'>PHP bot to grab meteo information from Google</a></li>
<li><a href='http://www.barattalo.it/2009/11/10/do-spelling-using-google/' rel='bookmark' title='Permanent Link: Do spelling using google spell checker'>Do spelling using google spell checker</a></li>
<li><a href='http://www.barattalo.it/2010/05/30/parsing-flickr-feed-with-php-tutorial/' rel='bookmark' title='Permanent Link: Parsing Flickr Feed with PHP tutorial'>Parsing Flickr Feed with PHP tutorial</a></li>
<li><a href='http://www.barattalo.it/2010/03/30/php-google-images-mini-bot/' rel='bookmark' title='Permanent Link: PHP google images mini bot'>PHP google images mini bot</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.barattalo.it/2010/01/12/bot-that-retrieves-url-meta-data-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP bot to grab meteo information from Google</title>
		<link>http://www.barattalo.it/2009/12/24/php-meteo-bot-for-google/</link>
		<comments>http://www.barattalo.it/2009/12/24/php-meteo-bot-for-google/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 14:37:57 +0000</pubDate>
		<dc:creator>Giulio Pons</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Spiders & webbots]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[File_get_contents]]></category>
		<category><![CDATA[forecast]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[meteo]]></category>
		<category><![CDATA[Mini Bots Class]]></category>
		<category><![CDATA[Preg_match_all]]></category>
		<category><![CDATA[Spider]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[Web bot]]></category>

		<guid isPermaLink="false">http://www.barattalo.it/?p=257</guid>
		<description><![CDATA[Google has many usefull functions that give you data fast, such as cinema infos, or for meteo forecasts. I think that Google grabs those informations from the many sites indexed with his bots. As I did on a previous post for words spelling you can retrieve those informations with some mini bots. The mini bot [...]


Related posts:<ol><li><a href='http://www.barattalo.it/2009/11/11/php-day-add-function/' rel='bookmark' title='Permanent Link: PHP Day add function'>PHP Day add function</a></li>
<li><a href='http://www.barattalo.it/2009/11/10/do-spelling-using-google/' rel='bookmark' title='Permanent Link: Do spelling using google spell checker'>Do spelling using google spell checker</a></li>
<li><a href='http://www.barattalo.it/2010/03/01/php-to-get-twitter-infos-and-avatar/' rel='bookmark' title='Permanent Link: PHP to get twitter infos and avatar'>PHP to get twitter infos and avatar</a></li>
<li><a href='http://www.barattalo.it/2010/02/10/php-how-to-calculate-age-from-date-of-birth/' rel='bookmark' title='Permanent Link: PHP how to calculate age from date of birth'>PHP how to calculate age from date of birth</a></li>
<li><a href='http://www.barattalo.it/2010/03/30/php-google-images-mini-bot/' rel='bookmark' title='Permanent Link: PHP google images mini bot'>PHP google images mini bot</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.barattalo.it/2009/12/24/php-meteo-bot-for-google/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Do spelling using google spell checker</title>
		<link>http://www.barattalo.it/2009/11/10/do-spelling-using-google/</link>
		<comments>http://www.barattalo.it/2009/11/10/do-spelling-using-google/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 10:31:53 +0000</pubDate>
		<dc:creator>Giulio Pons</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Spiders & webbots]]></category>
		<category><![CDATA[File_get_contents]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Parsing]]></category>
		<category><![CDATA[Preg_match_all]]></category>
		<category><![CDATA[Regular expression]]></category>
		<category><![CDATA[Spell]]></category>
		<category><![CDATA[Spell checker]]></category>
		<category><![CDATA[Spell checking]]></category>
		<category><![CDATA[Spelling]]></category>
		<category><![CDATA[Spider]]></category>
		<category><![CDATA[Web bot]]></category>

		<guid isPermaLink="false">http://www.barattalo.it/?p=108</guid>
		<description><![CDATA[If you have a user input that may contains some error you can try to check the spelling using Google Spelling Suggestion service (there is an api and you have to register to have an api key to use their web services). But you can obtain the same result searching the Google search engine and [...]


Related posts:<ol><li><a href='http://www.barattalo.it/2009/12/24/php-meteo-bot-for-google/' rel='bookmark' title='Permanent Link: PHP bot to grab meteo information from Google'>PHP bot to grab meteo information from Google</a></li>
<li><a href='http://www.barattalo.it/2010/03/30/php-google-images-mini-bot/' rel='bookmark' title='Permanent Link: PHP google images mini bot'>PHP google images mini bot</a></li>
<li><a href='http://www.barattalo.it/2010/01/12/bot-that-retrieves-url-meta-data-info/' rel='bookmark' title='Permanent Link: Bot that retrieves url meta data and other infos'>Bot that retrieves url meta data and other infos</a></li>
<li><a href='http://www.barattalo.it/2010/05/30/parsing-flickr-feed-with-php-tutorial/' rel='bookmark' title='Permanent Link: Parsing Flickr Feed with PHP tutorial'>Parsing Flickr Feed with PHP tutorial</a></li>
<li><a href='http://www.barattalo.it/2010/01/16/php-web-page-to-text-function/' rel='bookmark' title='Permanent Link: PHP Web page to text function'>PHP Web page to text function</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.barattalo.it/2009/11/10/do-spelling-using-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
