Suggesting a geography
CityTools is all about geography and allowing people to find content by geography.
So we
strongly encourage you add a geographic id to your links.
Important! Always try to select the narrowest appropriate geographic spot for a story.
Because of the way the CityTools geographic model works, people looking at larger geographic areas will see more narrowly defined content within the larger area.
This means if you tag a story to specific neighborhood in New York, people looking at New York City will find it, as will people looking at New York state, etc.
The URL argument for the geographic id is (wow!):
geo_id
Suggest a geography, method 1:
Visit our geo_id tool page to search/browse to the geography that you want.
For example, say we're looking for the code for Concord, New Hampshire. We go to the
geo_id tool and enter "concord" there.
It returns a long list of geographic places with "concord" in the name -- boy, Concord is a popular place name!
Scroll down the list and you'll find one that says "concord (a city in new hampshire, usa)" click on that and a box appears that says "get location code for concord" -- click that and the code for Concord appears (E464357C-7D88-11DA-96CB-8887627A6F7C).
Thus if our restaurant review from above is in Concord, New Hampshire, this HTML...
<a href="http://www.citytools.net/write/direct_link.html?url=www.mysite.com/my_story.html&title= my restaurant review&topic=1A470188-D012-11DB-AD4A-C17B7EBC8A59&geo_id=E464357C-7D88-11DA-96CB-8887627A6F7C" > send to CityTools</a>
... would submit a story to the restaurant review section in Concord, New Hampshire.
Suggest a geography, method 2: use postal codes
The following method currently works for those countries where we have a detailed postal code database: the United States, Canada, the United Kingdom and Australia. More countries will be added to that list soon.
To use postal codes, we need two URL elements:
postal_country and
postal_code
You set the
postal_code value to a postal code in the region you want for your story.
Please be sure to check links using postal codes. At this writing our database consists of more than 900,000 postal codes. But postal codes change regularly and, while we try to keep up, it is
possible (though unlikely) that we might not have your postal code in our database.
The arguments to set the postal_country elements are:
- United States: postal_country=us
- Canada: postal_country=ca
- United Kingdom: postal_country=uk
- Australia: postal_country=au
Important note: setting geography via postal code always forces the geography to either a city or metro area/region. If you want finer control over the geography, use method 1 above.
In other words,
postal_country=us&postal_code=85716 would set the geography to the Tucson, Arizona metro area in the United States.
So, using our example above, if our restaurant review was from Tucson, Az, the whole URL would look like this:
<a href="http://www.citytools.net/write/direct_link.html?url=www.mysite.com/my_story.html&title= my restaurant review&topic=1A470188-D012-11DB-AD4A-C17B7EBC8A59&postal_country=us&postal_code=85716" > send to CityTools</a>