expoweb/folk
2022-06-22 22:59:33 +01:00
..
i remove execute bit for a pile of files that shouldn;t have it (mostly 2020-05-07 00:59:33 +01:00
l Having checked for latin1 characters, redefine meta content type from latin 1 to utf8 2022-06-22 22:59:33 +01:00
to-do consolidating more to-do and old scripts 2020-04-30 14:49:52 +01:00
author.htm Having checked for latin1 characters, redefine meta content type from latin 1 to utf8 2022-06-22 22:59:33 +01:00
folk-0.csv folk redesign 2021-04-16 01:53:55 +01:00
folk-1.csv folk redesign 2021-04-16 01:53:55 +01:00
folk-2.csv folk redesign 2021-04-16 01:53:55 +01:00
folk.csv 2022 folklist initial update 2022-03-01 19:44:26 +00:00
mosaic.htm Having checked for latin1 characters, redefine meta content type from latin 1 to utf8 2022-06-22 22:59:33 +01:00
mosaic.jpg [svn r3779] Added HTML files. 2001-08-15 20:29:27 +02:00
README.txt 2022 folklist initial update 2022-03-01 19:44:26 +00:00

Convert the folk.csv to fold/index.htm like this:
$ cd :expoweb:/folk
$ python ../scripts/make-folklist.py <folk.csv >index.htm

This does some basic validation: it checks that the mugshot
images and blurb HTML files exist.

Troggle *also* reads the mugshot and blurb about each person.
It reads it direct from folk.csv
It does this when troggle is run with 
python databaseReset.py people

Troggle generates its own blurb about each person, including past expeditions and trips
taken from the logbooks (and from parsing svx files ?)
A link to this troggle page has been added to folk/index.htm 
by making it happen in make-folklist.py

Troggle scans the blurb and looks for everything between <body> and <hr
to find the text of the blurb
(see :troggle:/parsers/people.py)

All the blurb files have to be .htm - .html is not recognised by people.py
and trying to fix this breaks something else (weirdly, not fully investigated).

There seems to be a problem with importing blurbs with more than one image file, even those the code
in people.py only looks for the first image file but then fails to use it.

There are 19 people for which the troggle name parsing and this folklist parsing
are different. Reconciling these (find easily using a link checker scanner on the
folk/.index.htm file) is a job that needs to be done. Every name in the generated
index.htm now has a hyperlink which goes to the troggle page about that person. Except 
for those 19 people.

PENDING
this is planned to be split:
folk-1.csv will be for old cavers who will not come again, so this file need never be touched.
folk-2.csv will be for recent cavers and the current expo, this needs editing every year

The year headings of folk-1 and folk-2 need to be accurate , but they do not need to be
the same columns. So folk-2 can start in a much later year.

folk-0 will be for awkward buggers whose attendance spans decades. This needs updating whenever
one of these lags attends:
AERW, Becka, Mark Dougherty, Philip Sargent, Chris Densham, Mike Richardson

Currently (Feb. 2022) the software ignores folk-0, -1, -2 and you will need to use the old folk.csv for 
the 2022 expo. But we hope to have this fixed next year...