]> git.street.me.uk Git - andy/viking.git/blame_incremental - doc/examples/goto_tools.xml
Allow creating a File Chooser dialog with optional file filters.
[andy/viking.git] / doc / examples / goto_tools.xml
... / ...
CommitLineData
1<!-- This file is an example for goto engine definitions. -->
2<objects>
3 <!-- Latitude and longitude are XML elements -->
4 <object class="VikGotoXmlTool">
5 <property name="label">Geonames</property>
6 <property name="url-format">http://ws.geonames.org/search?q=%s&amp;maxRows=1&amp;lang=es&amp;style=short</property>
7 <property name="lat-path">/geonames/geoname/lat</property>
8 <property name="lon-path">/geonames/geoname/lng</property>
9 </object>
10 <!-- Latitude and longitude are XML attributes -->
11 <object class="VikGotoXmlTool">
12 <property name="label">Name finder</property>
13 <property name="url-format">http://gazetteer.openstreetmap.org/namefinder/search.xml?find=%s&amp;max=1</property>
14 <property name="lat-path">/searchresults/named</property>
15 <property name="lat-attr">lat</property>
16 <property name="lon-path">/searchresults/named</property>
17 <property name="lon-attr">lon</property>
18 </object>
19 <!-- Latitude and longitude are XML attributes (XPATH format) -->
20 <object class="VikGotoXmlTool">
21 <property name="label">Nominatim</property>
22 <property name="url-format">http://nominatim.openstreetmap.org/search?q=%s&amp;format=xml</property>
23 <property name="lat-path">/searchresults/place@lat</property>
24 <property name="lon-path">/searchresults/place@lon</property>
25 </object>
26</objects>