<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "France region and toponym names"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/9.page</link>
		<description><![CDATA[Latest messages posted in the topic "France region and toponym names"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>France region and toponym names</title>
				<description><![CDATA[ Hi and thanks for this great web service

However, i have some problems to retrieve "real french region names" correctly.

For datas, sent in JSON format i use what follows:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
data :
{ q : 'france',  // just for example
  featureClass :"A",  
  featureCode : "ADM1",
  lang : 'fr',
  name_startsWith : request.term, // i use autocomplete jquery ui widget
  maxRows : 10, // doesn't matter, i'll try to use jscrollpane later for a complete list
  username : 'myregisteredname' // just for example
        }
</pre>
		</div>
then I use AdminName1 to display my autocomplete list.
but when i want to get region starting with 'i', i get 'Bretagne'. When i look the JSON response (firebug), i see toponym name saying 'Istor Breizh' explaining why have this result, while i would like to get ONLY adminName1 matches.
I understood what 'tag' does but it won't work assuming that i'm only asking for name_startswith.
I tryed with other requests and the problem is the same.

My question is: what should i do to retrieve only adminname matches instead of toponymnames. Should i declare a javascript regex function for that or is there any functionnality i missed?

I guess this probleme would be the same for other countries. In my data example, "france" if a text input value that could be different.

Please heeeeeelp]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3893.page#11564</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3893.page#11564</link>
				<pubDate><![CDATA[Sat, 9 Jun 2012 15:52:22]]> GMT</pubDate>
				<author><![CDATA[ vidda]]></author>
			</item>
			<item>
				<title>Re:France region and toponym names</title>
				<description><![CDATA[ Hi

The service returns all features that have at least on e name starting with the desired string. You have to filter the result if you only want features that match some additional rules.

Best

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/3893.page#11601</guid>
				<link>http://forum.geonames.org/gforum/posts/list/3893.page#11601</link>
				<pubDate><![CDATA[Sat, 16 Jun 2012 13:48:24]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
	</channel>
</rss>