more renaming to correct form

This commit is contained in:
Philip Sargent 2022-07-28 17:15:18 +03:00
parent b0843de766
commit 993a972e1e
3 changed files with 7 additions and 8 deletions

View File

@ -10,7 +10,7 @@
<body> <body>
<cave> <cave>
<non_public>False</non_public><!-- 'False' or 'True'. True if the cave should only be visible to logged-in users. Caves are normally public, so enter 'False' unless you know otherwise. --> <non_public>False</non_public><!-- 'False' or 'True'. True if the cave should only be visible to logged-in users. Caves are normally public, so enter 'False' unless you know otherwise. -->
<caveslug>2012-ns-08</caveslug><!--(Required). Internal I.D. used to refer to this cave in entrance data files. Typically the same as the filebase, e.g. '1623-195' --> <caveslug>-1623-2012-ns-08</caveslug><!--(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></official_name><!-- Name of the cave (normally in German) Use &uuml; for u+Umlaut and &ouml; for o+umlaut eg H&ouml;hle for Hohle and Gl&uuml;ck for Gluck--> <official_name></official_name><!-- Name of the cave (normally in German) Use &uuml; for u+Umlaut and &ouml; for o+umlaut eg H&ouml;hle for Hohle and Gl&uuml;ck for Gluck-->
<area>1623</area><!-- the CUCC-defined areas shown in http://expo.survex.com/areas.htm --> <area>1623</area><!-- the CUCC-defined areas shown in http://expo.survex.com/areas.htm -->
<kataster_code></kataster_code><!-- 'length-or-depth/type exploration' <kataster_code></kataster_code><!-- 'length-or-depth/type exploration'
@ -32,12 +32,7 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
<unofficial_number>2012-ns-08</unofficial_number><!-- (Either this or kataster_number is required). Initial temporary cave ID used until kataster number is allocated e.g. '2012-DD-01'--> <unofficial_number>2012-ns-08</unofficial_number><!-- (Either this or kataster_number is required). Initial temporary cave ID used until kataster number is allocated e.g. '2012-DD-01'-->
<entrance> <entrance>
<entranceslug>2012-ns-08</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 --> <entranceslug>1623-2012-ns-08</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 -->
<letter></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>
<entrance>
<entranceslug>2012-ns-08</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 -->
<letter></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. --> <letter></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> </entrance>

4
cave_data/README.txt Normal file
View File

@ -0,0 +1,4 @@
yeah I know,
the initial pending caves thing didn't name the files properly. It omoitted the "1623-" prefix.
This needs fixing on the filenames, the slugs inside the files, the reference to the entrance, the entrance filename and teh slug inside the entrance file.
For the remaining 2012-ns-NN files

View File

@ -14,7 +14,7 @@
<body> <body>
<entrance> <entrance>
<non_public>False</non_public> <non_public>False</non_public>
<slug>2012-ns-08</slug> <slug>1623-2012-ns-08</slug>
<name></name> <name></name>
<entrance_description></entrance_description> <entrance_description></entrance_description>
<explorers></explorers> <explorers></explorers>