expoweb/folk/README.txt

49 lines
2.2 KiB
Plaintext
Raw Normal View History

Convert the folk.csv to fold/index.htm like this:
$ cd :expoweb:/folk
$ python ../scripts/make-folklist.py <folk.csv >index.htm
2020-05-20 22:44:27 +01:00
This does some basic validation: it checks that the mugshot
2020-04-02 21:40:30 +01:00
images and blurb HTML files exist.
Troggle *also* reads the mugshot and blurb about each person.
It reads it direct from folk.csv
2020-04-02 21:40:30 +01:00
It does this when troggle is run with
python databaseReset.py people
2020-05-20 22:44:27 +01:00
Troggle generates its own blurb about each person, including past expeditions and trips
2020-04-02 21:40:30 +01:00
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)
2020-05-20 22:44:27 +01:00
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).
2020-05-20 22:44:27 +01:00
There seems to be a problem with importing blurbs with more than one image file, even those the code
2020-04-02 21:40:30 +01:00
in people.py only looks for the first image file but then fails to use it.
2020-05-20 22:44:27 +01:00
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.
2021-04-15 23:57:10 +01:00
PENDING
this is being split:
folk-1.csv is old cavers who will not come again, so this file need never be touched.
folk-2.csv is 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 is 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
2021-04-29 17:52:28 +01:00
Currently (May 2021) the software ignores folk-0, -1, -2 and you will need to use the old folk.csv for
the 2021 expo. But we hope to have this fixed in time...