<?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>Sat, 25 May 2013 16:07:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[php|architect: Finding Exactly Where You Are]]></title>
      <guid>http://www.phpdeveloper.org/news/17121</guid>
      <link>http://www.phpdeveloper.org/news/17121</link>
      <description><![CDATA[<p>
On the php|architect site today <i>Chris Tankersley</i> has a new tutorial about geocoding, <a href="http://www.phparch.com/2011/11/finding-exactly-where-you-are/">Finding Exactly Where You Are</a> - a guide to integrating the <a href="http://developer.yahoo.com/geo/placefinder/">Yahoo! Placefinder</a> service into your application.
</p>
<blockquote>
Yahoo! PlaceFinder is a REST web service that will turn an address into the latitudinal and longitudinal coordinates in XML, JSON, or serialized PHP objects. It has a few other functions too, like finding the nearest airport, time zone, and even telephone area code. [...] PlaceFinder is a very simple REST service, so cURL is a quick and easy way to access it. There are no authentication tokens to deal with or logon procedures. Just send a GET request, and read the response. 
</blockquote>
<p>
He <a href="https://developer.apps.yahoo.com/dashboard/createKey.html">links you</a> to the service to get an API key and includes a simple class (PlaceFinderAPI) that builds the GET query for you and makes the request via <a href="http://php.net/curl">curl</a>. Also included is an example showing how to find a given location (coincidentally, his location choice is the hotel where the <a href="http://tek.phparch.com">php|tek</a> conferences are held).
</p>]]></description>
      <pubDate>Fri, 11 Nov 2011 12:05:40 -0600</pubDate>
    </item>
  </channel>
</rss>
