<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Alternate names in web services"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Alternate names in web services"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Alternate names in web services</title>
				<description><![CDATA[ Hi,

another alternateNames question 8)

Using the web service "get" [1], I get the alternate names in one line, concatenated like in the main dump files.

Is it possible to return the constituent parts of the names, adding a parameter "lang" where this is known for an alternate name (the blue id would be the alternateNameID)? Possibly additional to the concatenated version, to have a fall back for people using the old version?

e.g., instead of:

<geoname>
<name>Antalya</name>
<geonameId>323777</geonameId>
...
<alternateNames>
Adalia,Antal'ja,Antalia,Antaliyah,Antalya,Antayla,Antália,Attalia,Olbia,Satalia,Αττάλεια,Анталия,Анталья,אנטליה,アンタルヤ,安塔利亞
</alternateNames>
...
</geoname>

return the following:

<geoname>
<name>Antalya</name>
<geonameId>323777</geonameId>
...
<alternateNames>
Adalia,Antal'ja,Antalia,Antaliyah,Antalya,Antayla,Antália,Attalia,Olbia,Satalia,Αττάλεια,Анталия,Анталья,אנטליה,アンタルヤ,安塔利亞
  <alternateName <font color='blue'>id="1211"</font> <font color='red'>lang="foo"</font>>Antal'ja</alternateName>
  <alternateName <font color='blue'>id="1231"</font> <font color='red'>lang="bar"</font>>Antália</alternateName>
  <alternateName <font color='blue'>id="3231"</font>>安塔利亞</alternateName>
  <alternateName <font color='blue'>id="2341"</font>>Анталия</alternateName>
...
</alternateNames>
...
</geoname>



[1]: http://ws.geonames.org/get?geonameId=323777&style=full


Regards,
Hakan
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/841.page#3778</guid>
				<link>http://forum.geonames.org/gforum/posts/list/841.page#3778</link>
				<pubDate><![CDATA[Wed, 26 Mar 2008 16:35:16]]> GMT</pubDate>
				<author><![CDATA[ hakan]]></author>
			</item>
			<item>
				<title>Re:Alternate names in web services</title>
				<description><![CDATA[ You are right, this was missing.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/841.page#3790</guid>
				<link>http://forum.geonames.org/gforum/posts/list/841.page#3790</link>
				<pubDate><![CDATA[Fri, 28 Mar 2008 18:59:23]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Alternate names in web services</title>
				<description><![CDATA[ Thanks for the quick fix ;-)

Could you add the alternateNameId as well? That way, I could easily update a local cache. The "lang" attribute is neither guaranteed to be unique nor to exist at all (as you can see in the Antalya case, we have multiple empty language codes and twice "tr" and "hu")


Regards,
Hakan
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/841.page#3795</guid>
				<link>http://forum.geonames.org/gforum/posts/list/841.page#3795</link>
				<pubDate><![CDATA[Fri, 28 Mar 2008 21:07:21]]> GMT</pubDate>
				<author><![CDATA[ hakan]]></author>
			</item>
			<item>
				<title>Re:Alternate names in web services</title>
				<description><![CDATA[ The duplicates have been an error. I have removed them from the database.

For the get service it would be easy to add the alternateNameId, but we would like to have the same information in all services and this would requires some changes. To update your local database it might be better to download the database dump.

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/841.page#3803</guid>
				<link>http://forum.geonames.org/gforum/posts/list/841.page#3803</link>
				<pubDate><![CDATA[Sat, 29 Mar 2008 20:11:24]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Alternate names in web services</title>
				<description><![CDATA[ Sorry for bumping such and old thread, but including the alternateNameId would be great. I'd also volunteer to submit a patch for the web service, but as far as I can tell, there is no intention of releasing the server code as open source.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/841.page#12833</guid>
				<link>http://forum.geonames.org/gforum/posts/list/841.page#12833</link>
				<pubDate><![CDATA[Sun, 20 Oct 2013 19:53:20]]> GMT</pubDate>
				<author><![CDATA[ teoulas]]></author>
			</item>
	</channel>
</rss>