mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-22 07:11:55 +00:00
caves-tabular script documn tidy
This commit is contained in:
parent
31e589937e
commit
f16439f3ba
@ -62,7 +62,7 @@ See the entire page devoted to the various
|
|||||||
<p>Currently the intermediate data it works from has to be hand-generated so a <span style="color:red">proper parsing script needs to be written</span>.
|
<p>Currently the intermediate data it works from has to be hand-generated so a <span style="color:red">proper parsing script needs to be written</span>.
|
||||||
|
|
||||||
<h4 id="tabular">caves-tabular.html</h4>
|
<h4 id="tabular">caves-tabular.html</h4>
|
||||||
<p> This webpage <a href="../../scripts/caves-tabular.html">caves-tabular.html</a> uses a page-specifc JavaScript file TableSort.js which allows the user to resort the table of all the cave data by any of the columns by clicking on it [by Radost]. The exact source of the data in the table is undocumented, but presumably from cavern .3d file export at an unknown date.
|
<p> This webpage <a href="../../scripts/caves-tabular.html">caves-tabular.html</a> uses a page-specifc JavaScript file TableSort.js which allows the user to resort the table of all the cave data by any of the columns by clicking on it [by Radost]. The exact source of the data in the table is undocumented, but presumably from cavern .3d file export at an unknown date. This may be that generated by <a href="#summ"><var>summarizecave.sh</var></a> .
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ The design of these files is intended to confine all changes year to year to the
|
|||||||
<p>This runs "cavern" (a commandline tool installed as part of survex) to produce a text (or HTML)
|
<p>This runs "cavern" (a commandline tool installed as part of survex) to produce a text (or HTML)
|
||||||
report of the key statistics from the master svx file for a cave
|
report of the key statistics from the master svx file for a cave
|
||||||
(the one that includes all the svx files for the individual passages).
|
(the one that includes all the svx files for the individual passages).
|
||||||
It is unclear who uses this or for what, though it appears that it could be useful.
|
It is unclear who uses this or for what. It may be the script that generates the input data used by <a href="#tabular">caves-tabular.html</a>
|
||||||
|
|
||||||
<h4 id="gps">make_essentials.sh GPS</h4>
|
<h4 id="gps">make_essentials.sh GPS</h4>
|
||||||
<p>In :expoweb:/noinfo/
|
<p>In :expoweb:/noinfo/
|
||||||
|
@ -54,7 +54,7 @@ expoweb (repo)
|
|||||||
|
|
||||||
<h4 id="js">CSS and JavaScript</a></h3>
|
<h4 id="js">CSS and JavaScript</a></h3>
|
||||||
|
|
||||||
<p>The <var>expoweb</var> repo contains all the HTML files and basic CSS files. The <var>troggle</var> repo contains the HTML templates, CSS and some javscript for the troggle report pages generated dynamically. There are also javascript packages installed directly on the operating system which are used by some <var>expoweb</var> pages: <var>CaveScript</var> for showing 3D views of cave centreline data and <var>openlayers</var> for geographic mapping integration. These javascript packages are only documented in the configuration instructions, see below.
|
<p>The <var>expoweb</var> repo contains all the HTML files and basic CSS files. The <var>troggle</var> repo contains the HTML templates, CSS and some javscript for the troggle report pages generated dynamically. There are also javascript packages installed directly on the operating system which are used by some <var>expoweb</var> pages: <var>CaveScript</var> for showing 3D views of cave centreline data, <var>CodeMirror</var> for syntax-colouring survex files and <var>openlayers</var> for geographic mapping integration. These javascript packages are only documented in the configuration instructions, see below.
|
||||||
|
|
||||||
<h3 id="what">Server configuration: software</a></h3>
|
<h3 id="what">Server configuration: software</a></h3>
|
||||||
|
|
||||||
@ -351,8 +351,8 @@ expofiles
|
|||||||
<h3>cron</h3>
|
<h3>cron</h3>
|
||||||
<p>The server runs it's hourly, daily and weekly scripts using the anacron system. In
|
<p>The server runs it's hourly, daily and weekly scripts using the anacron system. In
|
||||||
<var>~expo/config/cron/</var> on the server, there are <var>expo.hourly</var>
|
<var>~expo/config/cron/</var> on the server, there are <var>expo.hourly</var>
|
||||||
and <var>expo.daily</var> scripts and these are launched at the appropriate times by
|
and <var>expo.daily</var> scripts and these are (or should be) launched at the appropriate times by
|
||||||
the server root from <var>/etc/crontab</var>.
|
the server root from <var>/etc/crontab</var>. This is not obviously working on the server at present.
|
||||||
|
|
||||||
<h3>Search: xapian</h3>
|
<h3>Search: xapian</h3>
|
||||||
<p>Installed independently of troggle simply with <var>apt install xapian-omega</var> and
|
<p>Installed independently of troggle simply with <var>apt install xapian-omega</var> and
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
<!-- Radost's single HTML page to sort list of all caves
|
<!-- Radost's single HTML page to sort list of all caves
|
||||||
where the data is all in that html file, having been extracted from
|
where the data is all in that html file, having been extracted from
|
||||||
the svx files by an undocumented method. Probably from the .3d file// produced by
|
the svx files by an undocumented method. Probably from the .3d file// produced by
|
||||||
survex. -->
|
survex. It may come fomr a hand-edited copy of the output from
|
||||||
|
expoweb/scripts/summarizecave.sh -->
|
||||||
<body id="homepage">
|
<body id="homepage">
|
||||||
<link rel="stylesheet" type="text/css" href="../css/cavetables.css">
|
<link rel="stylesheet" type="text/css" href="../css/cavetables.css">
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#get .3d file contents using survex parser
|
#get .3d file contents using survex parser
|
||||||
|
# Is this in any way related to the data incaves-tabular.html by Radost ??
|
||||||
>&2 echo "Processing: $1"
|
>&2 echo "Processing: $1"
|
||||||
|
|
||||||
summary=$(cavern "./$1/$1.svx" -o "./$1/$1.3d")
|
summary=$(cavern "./$1/$1.svx" -o "./$1/$1.3d")
|
||||||
|
Loading…
Reference in New Issue
Block a user