mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-22 07:11:55 +00:00
.. | ||
i | ||
l | ||
to-do | ||
author.htm | ||
folk.csv | ||
index2019-06.htm.old | ||
index2019-07.htm.old | ||
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 Troggle *also* reads the mugshot and blurb about each person. It reads it direct from folk.csv Troggle generates its own blurb about each person. A link to this troggle page has been added to folk/index.htm by editing the script. 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. There seems to be a problem with importing blrubs with more than one image file, even those the code in people.py only looks for the first image file Anyway, http://127.0.0.1:8000/person/MichaelSargent doesn't have the blurb whereas http://127.0.0.1:8000/person/PhilipSargent does have the blurb. But neither has even one mugshot.