mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-21 23:01:55 +00:00
extra link and doctype additions
This commit is contained in:
parent
0dc210d665
commit
db1050315d
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Handbook placeholder page</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
|
||||
</head>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<title>Handbook placeholder page</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
|
||||
@ -22,34 +24,34 @@ at the bottom as this shows that this file is <code>::expoweb::/cave_data/augstb
|
||||
</head>
|
||||
<body>
|
||||
<cave>
|
||||
<non_public>True</non_public>
|
||||
<caveslug>1623-4</caveslug>
|
||||
<official_name>Ritscherbachhöhle</official_name>
|
||||
<area>1623</area>
|
||||
<area>11</area>
|
||||
<kataster_code>1/T(W) +</kataster_code>
|
||||
<kataster_number>4</kataster_number>
|
||||
<unofficial_number></unofficial_number>
|
||||
<non_public>True</non_public>
|
||||
<caveslug>1623-4</caveslug>
|
||||
<official_name>Ritscherbachhöhle</official_name>
|
||||
<area>1623</area>
|
||||
<area>11</area>
|
||||
<kataster_code>1/T(W) +</kataster_code>
|
||||
<kataster_number>4</kataster_number>
|
||||
<unofficial_number></unofficial_number>
|
||||
|
||||
<entrance>
|
||||
<entranceslug>1623-4</entranceslug>
|
||||
<letter></letter>
|
||||
</entrance>
|
||||
<entrance>
|
||||
<entranceslug>1623-4</entranceslug>
|
||||
<letter></letter>
|
||||
</entrance>
|
||||
|
||||
<explorers>Höhlenforschervereinigung Altaussee, 1937</explorers>
|
||||
<underground_description></underground_description>
|
||||
<equipment></equipment>
|
||||
<references></references>
|
||||
<survey>Plan at 1:100 by Alfred Auer, 1968 </survey>
|
||||
<kataster_status></kataster_status>
|
||||
<underground_centre_line></underground_centre_line>
|
||||
<notes></notes>
|
||||
<length>12.3m</length>
|
||||
<depth>1.07m</depth>
|
||||
<extent></extent>
|
||||
<survex_file></survex_file>
|
||||
<description_file>augstb/4.htm</description_file>
|
||||
<url>augstb/4.htm</url>
|
||||
<explorers>Höhlenforschervereinigung Altaussee, 1937</explorers>
|
||||
<underground_description></underground_description>
|
||||
<equipment></equipment>
|
||||
<references></references>
|
||||
<survey>Plan at 1:100 by Alfred Auer, 1968 </survey>
|
||||
<kataster_status></kataster_status>
|
||||
<underground_centre_line></underground_centre_line>
|
||||
<notes></notes>
|
||||
<length>12.3m</length>
|
||||
<depth>1.07m</depth>
|
||||
<extent></extent>
|
||||
<survex_file></survex_file>
|
||||
<description_file>augstb/4.htm</description_file>
|
||||
<url>augstb/4.htm</url>
|
||||
</cave>
|
||||
</body>
|
||||
</html>
|
||||
@ -59,6 +61,10 @@ at the bottom as this shows that this file is <code>::expoweb::/cave_data/augstb
|
||||
<p>As you can see, this is an XML tag format similar to HTML but with tags defined to hold cave survey data. These files are processed by troggle in real-time to produce an HTML file on the fly which is sent to your browser so that it
|
||||
looks <a href="http://expo.survex.com/augstb/4.htm">like this</a>
|
||||
|
||||
<p>An explanation of what the field names mean and how they are used is on
|
||||
the <a href="caveentryfields.html">cave entry fields</a> page. There is not an exact correspondance between
|
||||
the form and the file format however.
|
||||
|
||||
<p>When you fill in the online form you creating a file just like the one above: troggle takes the input data from the form and creates the file. Troggle also stores the cave information in it's live memory when you use the form method.
|
||||
<p>If instead of using the form you create the file by hand and upload it to the server you will also need find a nerd to run the cave import procedure before troggle "knows" that the cave exists.
|
||||
<h3>Cave entrances</h3>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CUCC Expo Surveying Handbook: Drawing Up</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
|
||||
</head>
|
||||
|
@ -43,16 +43,15 @@ def print_caveline(number, l, d, w, cave):
|
||||
|
||||
def parse_csvfile():
|
||||
caveslist = []
|
||||
print "Calculating SMK-system extent... ",
|
||||
print ("Calculating SMK-system extent... "),
|
||||
os.popen("cavern -v7 ../loser/smk-system.svx -o noinfo/smk-system.3d")
|
||||
l,d,w = map(float, chomp(os.popen(CS_BINARY + " noinfo/smk-system -c ").read()).split("\t"))
|
||||
caveslist.append(["", l,d,w, {"Name" : "<i>Schwarzmooskogelhöhlensystem</i>", "Autogen file" : ""}])
|
||||
print "done\nParsing Cave list"
|
||||
for cavefile in os.listdir("noinfo/cave_data"):
|
||||
|
||||
cavetabfiles = dir("noinfo/cave_data/")
|
||||
fieldnames=chomp(cavetabfile.next()).replace('"','').split(",")
|
||||
cavetab = csv.DictReader(cavetabfile, fieldnames)
|
||||
print ("done\nParsing Cave list")
|
||||
for cavefile in os.listdir("noinfo/cave_data"):
|
||||
cavetabfiles = dir("noinfo/cave_data/")
|
||||
fieldnames=chomp(cavetabfile.next()).replace('"','').split(",")
|
||||
cavetab = csv.DictReader(cavetabfile, fieldnames)
|
||||
|
||||
# Gratuitiously complicated progress bar widget.
|
||||
k = 0
|
||||
|
Loading…
Reference in New Issue
Block a user