I know its possible to change what content is displayed based on the country of the user, determined by their IP address. However is it possible to be more specific to regions within a country?

I want to make a site featuring local news so when a user comes to the site they will see news from which ever city they are closest to. Can this be done?

Thanks

Comments

stevenc’s picture

You can find services that provide this information online - I googled "proximity by ip address" and found several articles and services for this.

The thing to keep in mind is that an IP is never 100% accurate to a user's location. For example, my office is in Washington, DC but our network is based off corporate headquarters in north eastern Maryland. I'd anticipate that mobile users are even less accurate.

From a usability standpoint, I think it's a fine idea to default your news from their closest city, but make it REALLY easy for the user to "Change to another location" in case your guess is wrong.

---------------------------------
Steven Wright

Slalom

jdln’s picture

Thanks for your advice Stevenc.

I havnt googled proximity by ip address yet as I was hoping their was a Drupal module that could do this. Is this not the case?

stevenc’s picture

---------------------------------
Steven Wright

Slalom