X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/fb07e4d71c0315a0f7af12b3cf31194efa8c7542..9e4fdfe4455bace71d5b7cceb3988b8dfc48964a:/src/geonames.c diff --git a/src/geonames.c b/src/geonames.c index e565fbdb..2df19f4e 100644 --- a/src/geonames.c +++ b/src/geonames.c @@ -33,7 +33,7 @@ void geonames_init () { // Goto VikGotoXmlTool *geonames = VIK_GOTO_XML_TOOL ( g_object_new ( VIK_GOTO_XML_TOOL_TYPE, "label", "Geonames", - "url-format", "http://ws.geonames.org/search?q=%s&maxRows=1&lang=es&style=short", + "url-format", "http://api.geonames.org/search?q=%s&maxRows=1&lang=en&style=short&username=viking", "lat-path", "/geonames/geoname/lat", "lon-path", "/geonames/geoname/lng", NULL ) );