MyWorld66 is a website that you can use to generate maps, including a "visited country" map: http://www.world66.com/myworld66/visitedCountries. Pick a few countries in the list, and click on Generate Map. It generates a nice world map where selected countries are highlighted. It also gives you the html code you can insert in you own web page. For instance, if you pick Canada, USA, France, United Kingdom and Belgium you get the following HTML code:
You probably noticed that the last part of the image source url consists of a list of the country codes in the same format as the one used for domain names (ca Canada, us USA, be Belgium, etc...) Anyway, I made a small CGI that extracts the list of countries from the awstats html page and builds the myworld66 page automatically. My perl skills are very limited, there is probably a smarter way to do that but it works! The script is here. And here you go for the final result, the map of November visitors (so far) generated automatically with the CGI above: create your own visited country map or check our Amsterdam travel guide |