Yes unfortunately http://api.hostip.info seems permanently dead.
There isn't a generic format for returning a location (well there is if any one used GPX with a single waypoint!), so everyone seems to invent their own XML and/or JSON (possibly with a published schema) for the various metadata fields that get returned in API request. So one ends up writing specific code against specific websites [:(] (or even more complicated code to convert various schemas into Viking's internal representation). It's quite possible I can change the code to use the service from http://www.geoplugin.com/ instead. It would helpful you could create a Viking Bug on Source Forge to remind me to do this. -- Be Seeing You - Rob. If at first you don't succeed, then skydiving isn't for you. ________________________________ From: Nils <internation...@gmx.net> Sent: 18 July 2016 09:20:25 To: viking-devel@lists.sourceforge.net Subject: [Viking-devel] Location IP not working? Hi, getting the location at program start does not seem to be working. I'm running the latest GIT sources: ** (viking:23172): WARNING **: curl_download_uri: http response: 404 for uri http://api.hostip.info/get_json.php?position=true Going to the URL gives a Error 404 Vhost unknown Is there a generic format for returning the location, and are there other services? If so, maybe this could become a setting? Else I guess if this site has disappeared we just need another one. Thanks Nils ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/
------------------------------------------------------------------------------
_______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/