]> git.street.me.uk Git - andy/viking.git/blobdiff - src/geonames.c
vikcoord does not depend on GTK
[andy/viking.git] / src / geonames.c
index e565fbdb9b8ffff9a8c288e553ceb59d7d92c0ce..2df19f4ec62d834ffec11dbf36e6aa054142af59 100644 (file)
@@ -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 ) );