expoweb/folk
2020-06-11 14:08:12 +01:00
..
i
l More o-umlaut replaced with ö 2020-06-11 14:08:12 +01:00
to-do
author.htm
folk.csv
mosaic.htm
mosaic.jpg
README

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.