summaryrefslogtreecommitdiffstats
path: root/parsers/caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/caves.py')
-rw-r--r--parsers/caves.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/parsers/caves.py b/parsers/caves.py
index 67330fc..25b1743 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -181,7 +181,8 @@ def do_ARGE_cave(slug, caveid, areacode, svxid):
caveid may be kataster number or it may be e.g. LA34
"""
- default_note = "This is (probably) an ARGE or VfHO cave where we only have the survex file and no other information"
+ default_note = "This is (probably) an ARGE or VfHO cave where we only have the survex file and no other information."
+ default_note += "<br />If there is a 'Messteam' or 'Zeichner' listed, then it is probably ARGE."
url = f"{areacode}/{caveid}/{caveid}.html"
urltest = Cave.objects.filter(url=url)
@@ -210,11 +211,17 @@ def do_ARGE_cave(slug, caveid, areacode, svxid):
print(f"{caveid} {rest}")
passages = "\n"
+ # ; Messteam: Uwe Kirsamer, Uli Nohlen, Aiko Schütz, Torben Schulz,Thomas Holder,Robert Winkler
+ # ; Zeichner: Aiko Schütz, Robert Winkler
for line in rest:
if line.strip().startswith("*begin"):
- passages = f"{passages}{line}"
+ passages = f"{passages}{line}<br />\n"
+ if line.strip().startswith("; Messteam:") or line.strip().startswith("; Zeichner:"):
+ passages = f"{passages}{line}<br />\n"
+
+ commentary= "ARGE or VfHO cave.<br />3 lines of the survexfile,<br /> then all the *begin lines and any '; Messteam' and '; Zeichner' lines:<br><pre>"
cave = Cave(
- underground_description="ARGE or VfHO cave.<br>3 lines of the survexfile, then all the *begin lines:<br><pre>" + line1 +line2 +line3 +passages +"</pre>",
+ underground_description=commentary + line1 +line2 +line3 +passages +"</pre>",
unofficial_number="ARGE-or-VfHO",
survex_file= f"{svxid}.svx",
url=url,