diff options
Diffstat (limited to 'templates/dataformat/cave.xml')
-rw-r--r-- | templates/dataformat/cave.xml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml index 3f132c3..64aaf88 100644 --- a/templates/dataformat/cave.xml +++ b/templates/dataformat/cave.xml @@ -1,7 +1,7 @@ <!DOCTYPE html> <!-- This file is generated by troggle on {{date}} UTC using the form documented at /handbook/survey/caveentry.html --> <!-- Only put one cave in this file --> -<!-- If you edit this 1623-nnn.html file by hand, and manually upload it to the server using git, +<!-- If you edit this 162x-nnn.html file by hand, and manually upload it to the server using git, make sure you update the database by doing a full data import. If you edit it using the online form though, you do not need to do a data import as it happens automatically --> <!-- ALTERNATIVELY you can download an example template from expoweb/templates/cave_data.html --> @@ -20,7 +20,7 @@ the form documented at <caveslug>{{ slug.slug|default_if_none:"1623-000"|safe }}</caveslug>{% endfor %}<!--(Required). Internal I.D. used to refer to this cave in entrance data files. Typically the same as the filebase, e.g. '1623-195' --> <official_name>{{ cave.official_name|default_if_none:""|safe }}</official_name><!-- Name of the cave (normally in German) Use ü for u+Umlaut and ö for o+umlaut eg Höhle for Hohle and Glück for Gluck--> <area>{{cave.areacode |safe }}</area><!-- e.g. "1623" --> -<kataster_code>{{ cave.kataster_code|default_if_none:""|safe }}</kataster_code><!-- 'length-or-depth/type exploration' +<kataster_code>{{ cave.kataster_code|default_if_none:"-"|safe }}</kataster_code><!-- 'length-or-depth/type exploration' code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast.htm T Trockenhöhlen (Dry caves) @@ -40,7 +40,6 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast {% for ce in cave.entrances.all %} <entrance> <entranceslug>{{ ce.entrance.slug|default_if_none:""|safe }}</entranceslug><!-- Internal ID to refer to each entrance instance in the entrance files (typically the same as that filename (e.g. 1623-161c). Matches the 'slug' field in the entrance file --> - <!-- DEBUG {{ce.cave}}+{{ce.entrance}} '{{ ce.entrance.singleletter }}' ={{ce.entranceletter}}= --> <letter>{{ ce.entranceletter|default_if_none:""|safe }}</letter><!--Leave blank for single-entrance cave. If there is more than one entrace then the letter needs to be given. Generally matches the entranceslug ID. --> </entrance> {% endfor %} @@ -58,7 +57,6 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast <extent>{{cave.extent|default_if_none:""|safe }}</extent> <description_file>{{ cave.description_file|default_if_none:""|safe }}</description_file><!-- Path of top-level description file for this cave, when a separate file is used. Otherwise blank. --> -<url>{{ cave.url|default_if_none:"1623/000"|safe }}</url><!-- (Required). Relative URL of this cave. i.e the URL this cave appears at on the website, not including 'https://expo.survex.com/. Normally area/cavenum., e.g ('1623/000')--> </cave> </body> </html> |