From Cambridge University Caving Club - CUCC wiki
Jump to: navigation, search
(Remove most of this page as it's been moved to the expo handbook)
(This page has now moved: Fix broken link formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page has now moved into the real expo handbook at [http://expo.survex.com/handbook/update.htm]. Please link/update that page henceforth. A few remnants have been left until they are properly merged.  
+
==This page has now moved==
 +
 
 +
It's now part of the [http://expo.survex.com/handbook/update.htm expo handbook]. Please link/update that page henceforth.  
 +
 
 +
A few remnants have been left here until they are properly merged.  
  
 
-----------
 
-----------
  
To edit the website, you need a mercurial client. If you are using Windows, [http://tortoisehg.bitbucket.org/|TortoiseHg] is highly recommended. Lots of tools for Linux and mac exist too [http://mercurial.selenic.com/wiki/OtherTools ], both GUI and command-line:
+
To edit the website, you need a mercurial client. If you are using Windows, [http://tortoisehg.bitbucket.org/ TortoiseHg] is highly recommended. Lots of tools for Linux and mac exist too [http://mercurial.selenic.com/wiki/OtherTools ], both GUI and command-line:
  
  
Line 9: Line 13:
  
 
In Windows: install Mercurial and TortoiseHg of the relevant flavour from http://mercurial.selenic.com/downloads/  (ignoring antivirus/Windows warnings).
 
In Windows: install Mercurial and TortoiseHg of the relevant flavour from http://mercurial.selenic.com/downloads/  (ignoring antivirus/Windows warnings).
 
  
 
==Automation on cucc.survex.com/expo==
 
==Automation on cucc.survex.com/expo==

Latest revision as of 20:05, 22 June 2013

This page has now moved

It's now part of the expo handbook. Please link/update that page henceforth.

A few remnants have been left here until they are properly merged.


To edit the website, you need a mercurial client. If you are using Windows, TortoiseHg is highly recommended. Lots of tools for Linux and mac exist too [1], both GUI and command-line:


Using Mercurial/TortoiseHg in Windows

In Windows: install Mercurial and TortoiseHg of the relevant flavour from http://mercurial.selenic.com/downloads/ (ignoring antivirus/Windows warnings).

Automation on cucc.survex.com/expo

The way things normally work, python or perl scripts turn CSV input into HTML for the website. Note that:

  • The CSV files are actually tab-separated, not comma-separated despite the extension.
  • The scripts can be very picky and editing the CSVs with microsoft excel has broken them in the past- not sure if this is still the case.
Overview of the automagical scripts on the expo website
Script location Input file Output file Purpose
/svn/trunk/expoweb/noinfo/make-indxal4.pl /svn/trunk/expoweb/noinfo/CAVETAB2.CSV many produces all cave description pages
/svn/trunk/expoweb/noinfo/make-folklist.py /svn/trunk/expoweb/noinfo/folk.csv http://cucc.survex.com/expo/folk/index.htm Table of all expo members

/svn/trunk/surveys/tablize-csv.pl /svn/trunk/surveys/tablizebyname-csv.pl

/svn/trunk/surveys/Surveys.csv

http://cucc.survex.com/expo/surveys/surveytable.html http://cucc.survex.com/expo/surveys/surtabnam.html

Survey status page: "wall of shame" to keep track of who still needs to draw which surveys
Prospecting guide


Website mysteries

The following are questions for people who know the expo website well, which stumped Aaron.

  • Why is there a /home/cucc/www/expo/surveys as well as a /home/cucc/www/surveys , and is there any difference?