In my app I want to detect what country a visitor is viewing from by
Although it’s by no means perfect, the simplest option I’ve found is
by using this site:
by passing the ip address as a query, this site returns an xml file
with the country as one of the tags.
http://api.hostip.info/?ip=188.8.131.52 returns (amongst other
Could somebody suggest the best way to assert the value of this
particular tag in the xml file?