From ebb7a51490c5855811a72b40709bcbe552f64805 Mon Sep 17 00:00:00 2001
From: Philip Sargent <philip.sargent@gmail.com>
Date: Mon, 1 Jul 2024 21:12:42 +0300
Subject: [PATCH] rename eccentric cave numbers

---
 cave_data/{1623-2002-XX.html => 1623-2002-FB-01.html} |  9 ++++-----
 .../{1623-2002-X09B.html => 1623-2002-XB09.html}      | 11 +++++------
 .../{1623-2002-XX.html => 1623-2002-FB-01.html}       |  2 +-
 .../{1623-2002-X09B.html => 1623-2002-XB09.html}      |  2 +-
 4 files changed, 11 insertions(+), 13 deletions(-)
 rename cave_data/{1623-2002-XX.html => 1623-2002-FB-01.html} (84%)
 rename cave_data/{1623-2002-X09B.html => 1623-2002-XB09.html} (88%)
 rename entrance_data/{1623-2002-XX.html => 1623-2002-FB-01.html} (98%)
 rename entrance_data/{1623-2002-X09B.html => 1623-2002-XB09.html} (98%)

diff --git a/cave_data/1623-2002-XX.html b/cave_data/1623-2002-FB-01.html
similarity index 84%
rename from cave_data/1623-2002-XX.html
rename to cave_data/1623-2002-FB-01.html
index 20a7fe84a..e6666f968 100644
--- a/cave_data/1623-2002-XX.html
+++ b/cave_data/1623-2002-FB-01.html
@@ -17,7 +17,7 @@ the form documented at
 
 <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. -->
-<caveslug>1623-2002-XX</caveslug><!--(Ignored). 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-2002-FB-01</caveslug><!--(Ignored). 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-->
 <area>1623</area><!-- e.g. "1623" -->
 <kataster_code>1/S +</kataster_code><!-- 'length-or-depth/type exploration'
@@ -36,11 +36,10 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
     +   erforscht (exploration considered complete)
  -->
 <kataster_number></kataster_number> <!-- (Either this or unofficial_number is required). Official number in Austrian kataster if one has been allocated  -->
-<unofficial_number>2002-XX</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>2002-FB-01</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>
-  <entranceslug>1623-2002-XX</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  1623-2002-XX+1623-2002-XX 'Z' == -->
+  <entranceslug>1623-2002-FB-01</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>
 
@@ -58,7 +57,7 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
 <extent></extent>
 
 <description_file></description_file><!-- Path of top-level description file for this cave, when a separate file is used. Otherwise blank. -->
-<url>1623/2002-XX/2002-XX.html</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')-->
+<url>1623/2002-FB-01/2002-FB-01.html</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>
diff --git a/cave_data/1623-2002-X09B.html b/cave_data/1623-2002-XB09.html
similarity index 88%
rename from cave_data/1623-2002-X09B.html
rename to cave_data/1623-2002-XB09.html
index 3ad8815a7..ac7a60142 100644
--- a/cave_data/1623-2002-X09B.html
+++ b/cave_data/1623-2002-XB09.html
@@ -17,7 +17,7 @@ the form documented at
 
 <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. -->
-<caveslug>1623-2002-X09B</caveslug><!--(Ignored). 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-2002-XB09</caveslug><!--(Ignored). 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-->
 <area>1623</area><!-- e.g. "1623" -->
 <kataster_code>-0</kataster_code><!-- 'length-or-depth/type exploration'
@@ -36,11 +36,10 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
     +   erforscht (exploration considered complete)
  -->
 <kataster_number></kataster_number> <!-- (Either this or unofficial_number is required). Official number in Austrian kataster if one has been allocated  -->
-<unofficial_number>2002-X09B</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>2002-XB09</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>
-  <entranceslug>1623-2002-X09B</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  1623-2002-X09B+1623-2002-X09B 'Z' == -->
+  <entranceslug>1623-2002-XB09</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>
 
@@ -48,7 +47,7 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
 <survex_file></survex_file><!-- Name of top-level survey file for this cave. Relative to the 'loser' survex repository. So for most caves that's "caves-162x/cavenum/cavnum.svx". (e.g. caves-1623/204/204.svx -->
 <underground_description>Not descended</underground_description><!-- Underground description. (description of approach and entrance goes in entrance file). For a small cave this will be the entire description. For larger caves it will be the front page of the description, or a short intro, containing links to other pages with the cave description in, or even nothing but a link. -->
 <equipment></equipment><!-- For a small cave, summary of gear needed to descend. For longer caves it could be blank, a table, or just refer to the description/topos. Leave blank if this info is in the description. -->
-<references></references><!-- References to documentation. Could be Journal articles or Logbook entries. Can be links if the docs are online. -->
+<references><a href="/walletedit/2002:31">wallet 2002#31</a> </references><!-- References to documentation. Could be Journal articles or Logbook entries. Can be links if the docs are online. -->
 <survey>Sketches and brief descriptions in 2002#31</survey><!-- Drawn-up surveys. Scans of paper surveys or images/PDFs of electronic surveys. Should include HTML to display current plan and elevation, with links to larger versions (See section on URLs and files). Could list links to multiple years of survey, or even a separate survey page if it's complicated enough. -->
 <kataster_status></kataster_status>
 <underground_centre_line></underground_centre_line><!-- 'In dataset' if it is in the survex dataset. Blank if not, or notes about status such as 'surveyed, but no entrance fix so not yet in dataset'. -->
@@ -58,7 +57,7 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
 <extent></extent>
 
 <description_file></description_file><!-- Path of top-level description file for this cave, when a separate file is used. Otherwise blank. -->
-<url>1623/2002-X09B/2002-X09B.html</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')-->
+<url>1623/2002-XB09/2002-XB09.html</url><!-- 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>
diff --git a/entrance_data/1623-2002-XX.html b/entrance_data/1623-2002-FB-01.html
similarity index 98%
rename from entrance_data/1623-2002-XX.html
rename to entrance_data/1623-2002-FB-01.html
index 2cf946fde..b560568cc 100644
--- a/entrance_data/1623-2002-XX.html
+++ b/entrance_data/1623-2002-FB-01.html
@@ -8,7 +8,7 @@
 <body>
 <entrance>
 <non_public>False</non_public>
-<slug>1623-2002-XX</slug>
+<slug>1623-2002-FB-01</slug>
 <name></name>
 <entrance_description></entrance_description>
 <explorers></explorers>
diff --git a/entrance_data/1623-2002-X09B.html b/entrance_data/1623-2002-XB09.html
similarity index 98%
rename from entrance_data/1623-2002-X09B.html
rename to entrance_data/1623-2002-XB09.html
index 5d225d88e..c68cac1ce 100644
--- a/entrance_data/1623-2002-X09B.html
+++ b/entrance_data/1623-2002-XB09.html
@@ -8,7 +8,7 @@
 <body>
 <entrance>
 <non_public>False</non_public>
-<slug>1623-2002-X09B</slug>
+<slug>1623-2002-XB09</slug>
 <name></name>
 <entrance_description>Prominent rock shelter</entrance_description>
 <explorers></explorers>