<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Messages posted by "eyeRmonkey"]]></title>
		<link>http://forum.geonames.org/gforum/posts/listByUser/404.page</link>
		<description><![CDATA[Messages posted by "eyeRmonkey"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Re:I have problems using the webservice with blanks and special characters</title>
				<description><![CDATA[ I came up with a better way to accomplish this without using the mbstring library:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>if&#40;is_unicode&#40;$query&#41;&#41; {
	$query_escaped = urlencode&#40;$query&#41;;
} else {
	$query_escaped = urlencode&#40;utf8_encode&#40;$query&#41;&#41;;
}</pre>
		</div>]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/8/2468.page#2468</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/8/2468.page#2468</link>
				<pubDate><![CDATA[Mon, 23 Jul 2007 01:25:37]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
			<item>
				<title>Re:timezones</title>
				<description><![CDATA[ No problem.

Glad to see that it is fixed!

Thanks again, Marc.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/393/2368.page#2368</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/393/2368.page#2368</link>
				<pubDate><![CDATA[Mon, 9 Jul 2007 01:16:27]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
			<item>
				<title>Re:getting parent location</title>
				<description><![CDATA[ Thanks Marc!

That makes sense. Hopefully that information will become more complete in time.

How about some documentation for hierarchy on the main website so others can enjoy it's greatness?

Thanks a ton for the work you're doing here. It's extremely helpful. The hierarchy service was exactly what I needed for my project. The geonames project is fantastic!]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/82/2342.page#2342</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/82/2342.page#2342</link>
				<pubDate><![CDATA[Wed, 4 Jul 2007 20:44:17]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
			<item>
				<title>Re:getting parent location</title>
				<description><![CDATA[ I think through some research, I answered my last question. The answer seems to be "no", but I'm not sure why.

Here is something that should be in #6 of my previous post:
http://ws.geonames.org/hierarchy?geonameId=5744256&style=full

It jumps straight from ADM2 down to a specific building, but I think a populated place should be between those two. Here is how I found the proper populated place:
http://ws.geonames.org/findNearbyPlaceName?lat=45.3567875&lng=-122.5962024

I have coded around this in my application, but I think it makes sense to have it actually be part of the service.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/82/2328.page#2328</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/82/2328.page#2328</link>
				<pubDate><![CDATA[Tue, 3 Jul 2007 07:17:42]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
			<item>
				<title>Re:getting parent location</title>
				<description><![CDATA[ One more question about the structure of results returned by hierarchy.

Will there ever be something two levels below ADM1 in the hierarchy.

Here is how I understand the structure:

1) Continent
2) Country
3) ADM1
4) ADM2 (sometimes non-existent)
5) populated place/building/structure/etc.
6) ???? Does anything ever exist here?

Thanks again!]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/82/2327.page#2327</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/82/2327.page#2327</link>
				<pubDate><![CDATA[Tue, 3 Jul 2007 04:18:08]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
			<item>
				<title>Re:getting parent location</title>
				<description><![CDATA[ I have a question about the consistency of results from this service.

Will the second result always be something that is considered a "country"?

Take Puerto Rico for example: http://ws.geonames.org/hierarchy?geonameId=4566967&style=full

It is considered an island by geonames, but for all intents and purposes, it is it's own country.

I need to know if I can safely assume that the second result is always a country.

Thanks.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/82/2326.page#2326</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/82/2326.page#2326</link>
				<pubDate><![CDATA[Tue, 3 Jul 2007 03:16:58]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
			<item>
				<title>Re:getting parent location</title>
				<description><![CDATA[ I don't see any documentation on this service anywhere on the site. Has it been "officially released"?

I plan on using this service for my project and was lucky to stumble upon it in the forums. I think it would help others if there was documentation about it on the main site.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/82/2325.page#2325</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/82/2325.page#2325</link>
				<pubDate><![CDATA[Tue, 3 Jul 2007 01:45:57]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
			<item>
				<title>Re:I have problems using the webservice with blanks and special characters</title>
				<description><![CDATA[ In PHP, I am using this:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>$encoding = mb_detect_encoding&#40;$query&#41;;
if&#40;$encoding == 'UTF-8'&#41; {
	$query_escaped = urlencode&#40;$query&#41;;
} else {
	$query_escaped = urlencode&#40;utf8_encode&#40;$query&#41;&#41;;
}</pre>
		</div>

It's probably not the best way to go about it, but it works whether you are using UTF-8 for your php files themselves or not.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/8/2324.page#2324</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/8/2324.page#2324</link>
				<pubDate><![CDATA[Tue, 3 Jul 2007 01:25:56]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
			<item>
				<title>Re:timezones</title>
				<description><![CDATA[ As far as I can tell, a majority of the west coast timezones are incorrect.

http://ws.geonames.org/search?q=oregon+city&maxRows=1&style=FULL
http://ws.geonames.org/search?q=eugene&maxRows=1&style=FULL
http://ws.geonames.org/search?q=portland&maxRows=1&style=FULL

Everything is coming up as <timezone dstOffset="-6.0" gmtOffset="-7.0">America/Boise</timezone> instead of America/Los Angeles like it should.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/393/2323.page#2323</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/393/2323.page#2323</link>
				<pubDate><![CDATA[Mon, 2 Jul 2007 23:42:09]]> GMT</pubDate>
				<author><![CDATA[ eyeRmonkey]]></author>
			</item>
	</channel>
</rss>