0 users online. Create an account or sign in to join them.Users


Hi there.

Does anyone know a good replacement for http://opencountrycodes.appspot.com/ ?

Seems like the datasource is no longer available (there is a zipped xml file, but I'd rather have a dynamically updated source). I already considered using this google geolocation feed, but it is missing the iso-3166 country codes.

Geonames.org have masses of data like this available, you might want to check them out.

Caching then locally makes sense (from a zip). How often do country codes change? ;-)

well, they do :).

I found a this one here https://opendata.socrata.com/dataset/Country-List-ISO-3166-Codes-Latitude-Longitude/mnkm-8ram

I'll give this a try, and no worry, I do cache the list once it is downloaded :)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details