diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-02-02 01:10:13 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-02-02 01:10:13 +0000 |
commit | 3003b3c3c30107493ee7a43b821b511fb28c42c8 (patch) | |
tree | 8c5743652c6a19d64cf5377bd0a328b0839f1eae /templates/cave_kataster.html | |
parent | a0243c030e21a6594f6f422fd22e0c3b2026dd40 (diff) | |
download | troggle-3003b3c3c30107493ee7a43b821b511fb28c42c8.tar.gz troggle-3003b3c3c30107493ee7a43b821b511fb28c42c8.tar.bz2 troggle-3003b3c3c30107493ee7a43b821b511fb28c42c8.zip |
kataaster tool complete (probably buggy)
Diffstat (limited to 'templates/cave_kataster.html')
-rw-r--r-- | templates/cave_kataster.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/templates/cave_kataster.html b/templates/cave_kataster.html index a00a91f..41b5024 100644 --- a/templates/cave_kataster.html +++ b/templates/cave_kataster.html @@ -63,13 +63,18 @@ This cave needs to be "katastered". If you have the new number issued by the Aus </ul> <h3>Rename the cave description directory in <var>expoweb</var></h3> -[ TO DO ] <p> <ul style="list-style: disc"> <li> Edit all the '<samp>href=</samp>' and '<samp>src=</samp>' <small>URLS</small> (if they exist) inside all the <samp>cave_data</samp> and <samp>entrance_data</samp> files descriptive text to refer to the new directory <li> Rename the directory (if it exists) inside the areacode directory, e.g. rename <samp>/{{cave.areacode}}/{{cave.unofficial_number}}/</samp> as <samp>/{{cave.areacode}}/<span style="color:blue">{{knum}}</span>/</samp> (if <span style="color:blue">{{knum}}</span> is the correct new kataster number). Do this last. </ul> - +There are 82 cave description sub-files, i.e. single pages with a larger image and caption using the t/i/l convention, are not in <br> +<samp><b>1623/[cave]/l/*.html</b></samp> but are directly in <br /> +<samp><b>1623/l/[cave]_*.html</b></samp> <br> +due to early versions of Martin's image insertion tool for editing cave descriptions. 21 of these do not even have filenames beginning with [cave], the cave unofficial identifier, but are all digits. They seem to be all 2023 discoveries or caves which have had images added to their descriptions in 2023. +<p> +If we don't edit these, things will still work, i.e. cave description images will still appear, but the names of the files no longer match the new kataster name of the cave. Fixing this - so that these files are stored together with the rest of the stuff just for that cave - could be included in in this renaming tool, but is perhaps better done as another job - which needs doing as troggle does some weird perversions to display these images. Some of these caves may never be katastered. +<p> <h3>Rename the survex directory in <var>loser</var></h3> <div style="font-family: monospace; font-weight: bold;"> @@ -101,9 +106,9 @@ Here are all the survex files which are involved with this cave, the first one o and patching any <samp>*equate</samp> statements) <li> Make the same name change(s) in each entrance (i.e. in each <samp>entrance_data</samp> file) in <var>expoweb</var> </ul> -<p>Without fully parsing the entire survex *include tree (which this code does not do), it is impossible to find the *fix declaration file from the <samp>'station'</samp> fields in the entrance_data files. However in area 1623 we conventionally store the *fix in a "known" place. This does not work for area 1626. +<p>Without fully parsing the entire survex *include tree (which this code does not do), it is impossible to find the *fix declaration file from the <samp>'station'</samp> fields in the entrance_data files. However we conventionally store the *fix in a "known" place, so we try. <p>Edit these Entrance files:<br /> -[ TO DO ]<p> +<p> {% for e in entrances %} <b><samp> entrance_data/{{e}}.html{% if e.tag_station%}</samp><br /> </b>tag_station:<b> <samp>{{e.tag_station}}{% endif %} |