<?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>I want to be free &#187; google</title>
	<atom:link href="http://i1t2b3.com/category/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://i1t2b3.com</link>
	<description>Any fool can make things bigger and more complex</description>
	<lastBuildDate>Fri, 03 Feb 2012 17:24:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to rate Points Of Interest automatically</title>
		<link>http://i1t2b3.com/2010/03/13/how-to-rate-points-of-interest-automatically/</link>
		<comments>http://i1t2b3.com/2010/03/13/how-to-rate-points-of-interest-automatically/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 13:13:31 +0000</pubDate>
		<dc:creator>Skakunov Alexander</dc:creator>
				<category><![CDATA[api]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[ideas]]></category>

		<guid isPermaLink="false">http://i1t2b3.com/?p=579</guid>
		<description><![CDATA[During my work on sunnyrentals.com I&#8217;ve got a task to add 2 closest airports to every property an owner creates. I implemented it quite fast since we have a database of airports with coordinates. While playing with this feature, we found out that it is not good enough — the real task must be to [...]]]></description>
			<content:encoded><![CDATA[<p>During my work on <strong>sunnyrentals.com</strong> I&#8217;ve got a task to add 2 closest airports to every property an owner creates.</p>
<p>I implemented it quite fast since we have a database of airports with coordinates.</p>
<p>While playing with this feature, we found out that it is not good enough — the real task must be to add 2 <strong>closest and biggest</strong> airports. The problem is that we don&#8217;t have any data in airports DB to guess how big or famous a particular airport is.</p>
<p>So we need to rate every airport somehow&#8230;</p>
<p>The solution we found was simple — we need to google for the airport name and get the search results count. The count can be considered as rating value — London Heathrow airport has 2.33 million results while Kiev Zhulyany airport has only 0.77 mln which looks fair.</p>
<p>Several things to pay attention to:</p>
<ul>
<li>the query we formed was [city name] + [airport name] + &#8216; airport&#8217;</li>
<li>if this query gives zero result, I omit the city name — at times it hepls</li>
<li>we put the query into quotes to google for the exact phrase, otherwise the London City airport gets the highest rating due to the fact that &#8220;<em>city</em>&#8221; is a general term</li>
<li>if the airport name includes the city name (<em>Melbourne Intl</em>), we omit the city name — &#8221;<em>Melbourne Intl airport</em>&#8221; is better then &#8220;<em>Melbourne Melbourne Intl airport</em>&#8220;</li>
<li>in addition to previous idea — if the airport name sounds like the city name, we omit the city name as well. Example: Narsarsuaq airport in Narssarssuaq city. I used <code>soundex</code> function for this comparison — it&#8217;s present in PHP and MySQL.</li>
</ul>
<p>To get the google results you can use the <noindex><a rel="nofollow" href="http://code.google.com/intl/en-US/apis/ajaxsearch/documentation/#fonje">Google Search API</a></noindex>:</p>
<pre><code>$queryTemplate = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&amp;q=%s';
$airportQuery = '"London Heathrow airport"';
$query = sprintf( $queryTemplate, urlencode( $airportQuery ) );
$json = json_decode( file_get_contents( $query ), 1 );
$rating = (int)$json['responseData']['cursor']['estimatedResultCount'];</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://i1t2b3.com/2010/03/13/how-to-rate-points-of-interest-automatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Analytics API launched!</title>
		<link>http://i1t2b3.com/2009/05/07/google-analytics-api-launched/</link>
		<comments>http://i1t2b3.com/2009/05/07/google-analytics-api-launched/#comments</comments>
		<pubDate>Thu, 07 May 2009 11:44:11 +0000</pubDate>
		<dc:creator>Skakunov Alexander</dc:creator>
				<category><![CDATA[api]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://i1t2b3.com/?p=295</guid>
		<description><![CDATA[This week Google has launched Google Analytics API. Now developers can use the analytical power of Google in their own services. For example, if you want to access Google Analytics by your phone, use Android application by Actual Metrics. Do you want the Analytics on your desktop? There is a Desktop-Reporting for that purpose. If [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/wp-content/uploads/2009/05/refresh_analytics_screenshot.gif"><img class="alignright size-medium wp-image-297" title="Google Anal" src="http://i1t2b3.com/wp-content/uploads/2009/05/refresh_analytics_screenshot-300x280.gif" alt="" width="180" height="168" /></a>This week Google has launched Google Analytics API. Now developers can use the analytical power of Google in their own services.</p>
<p>For example, if you want to access Google Analytics by your phone, use <noindex><a rel="nofollow" href="http://www.analyticsmarket.com/mobileapps/mobile-ga/android">Android application</a></noindex> by Actual Metrics. Do you want the Analytics on your desktop? There is a Desktop-Reporting for that purpose.</p>
<p>If you are interested in integration of Google Analytics into your own business, take a look at such examples.</p>
<p>MailChimp <noindex><a rel="nofollow" href="http://www.mailchimp.com/features/power_features/analytics360/">integrated Google Analytics to email marketing platform.</a></noindex></p>
<p><noindex><a rel="nofollow" href="http://www.mailchimp.com/features/power_features/analytics360/"></a></noindex>ShufflePoint® offers the <noindex><a rel="nofollow" href="http://www.shufflepoint.com/GoogleAnalytics.aspx">addition of data from Google Analytics to the presentations of PowerPoint®</a></noindex>.</p>
<p>Look at youcalc that have created software that allows you to <noindex><a rel="nofollow" href="http://www.youcalc.com/apps/tag/GA">mix up Google Analytics, AdWords, Salesforce.com</a></noindex> and other data companies.</p>
<p>Need more examples? Look at samples <noindex><a rel="nofollow" href="http://code.google.com/apis/analytics/docs/gdata/gdataGallery.html">from the customers</a></noindex> on the Google developers website.</p>
]]></content:encoded>
			<wfw:commentRss>http://i1t2b3.com/2009/05/07/google-analytics-api-launched/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

