diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml index a00b9ba..c1ad01b 100644 --- a/templates/dataformat/cave.xml +++ b/templates/dataformat/cave.xml @@ -2,6 +2,7 @@ + @@ -9,12 +10,12 @@ {{ cave.non_public }}{% for slug in cave.caveslug_set.all %} -{{ slug.slug|default_if_none:""|safe }}{% endfor %} -{{ cave.official_name|default_if_none:""|safe }}{% for area in cave.area.all %} +{{ slug.slug|default_if_none:"1623-000"|safe }}{% endfor %} +{{ cave.official_name|default_if_none:""|safe }}{% for area in cave.area.all %} {{ area.short_name|default_if_none:""|safe }}{% endfor %} {{ cave.kataster_code|default_if_none:""|safe }} {{ cave.kataster_number|default_if_none:""|safe }} -{{ cave.unofficial_number|default_if_none:""|safe }} +{{ cave.unofficial_number|default_if_none:"2020-XX-01"|safe }} {% for ce in cave.entrances.all %} {{ ce.entrance.slug|default_if_none:""|safe }} @@ -24,17 +25,17 @@ {{ cave.explorers|default_if_none:""|safe }} {{ cave.underground_description|default_if_none:""|safe }} {{ cave.equipment|default_if_none:""|safe }} -{{ cave.references|default_if_none:""|safe }} -{{ cave.survey|default_if_none:""|safe }} +{{ cave.references|default_if_none:""|safe }} +{{ cave.survey|default_if_none:""|safe }} {{ cave.kataster_status|default_if_none:""|safe }} {{ cave.underground_centre_line|default_if_none:""|safe }} -{{ cave.notes|default_if_none:""|safe }} +{{ cave.notes|default_if_none:""|safe }} {{ cave.length|default_if_none:""|safe }} {{ cave.depth|default_if_none:""|safe }} {{cave.extent|default_if_none:""|safe }} -{{ cave.survex_file|default_if_none:""|safe }} -{{ cave.description_file|default_if_none:""|safe }} -{{ cave.url|default_if_none:""|safe }} +{{ cave.survex_file|default_if_none:"caves-1623/000/000.svx"|safe }} +{{ cave.description_file|default_if_none:""|safe }} +{{ cave.url|default_if_none:"1623/000"|safe }} diff --git a/templates/dataformat/entrance.xml b/templates/dataformat/entrance.xml index 2ff9f6a..eb6b45a 100644 --- a/templates/dataformat/entrance.xml +++ b/templates/dataformat/entrance.xml @@ -17,7 +17,7 @@ {{ entrance.location_description|default_if_none:""|safe }} {{ entrance.approach|default_if_none:""|safe }} {{ entrance.underground_description|default_if_none:""|safe }} -{{ entrance.photo|default_if_none:""|safe }} +{{ entrance.photo|default_if_none:""|safe }}