mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-04-04 10:01:42 +01:00
trying to fix people import so that troggle generated pages have mugshots
This commit is contained in:
parent
f54cd7172a
commit
f88ba3e6de
26
folk/README
Normal file
26
folk/README
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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.
|
@ -1,7 +1,7 @@
|
|||||||
Name,Lastname,Guest,VfHO member,Mugshot,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020
|
Name,Lastname,Guest,VfHO member,Mugshot,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020
|
||||||
Hugh Adams,Adams,,,,,,,,,,,,,,,,,,,,,1,,1,,,,,,,,,,,,,,,,,,,,,,,,,
|
Hugh Adams,Adams,,,,,,,,,,,,,,,,,,,,,1,,1,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||||
Rob Adams (Robert),Adams,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,,1,,,,,,
|
Rob Adams (Robert),Adams,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,,1,,,,,,
|
||||||
Adam Aldridge,Aldridge,1,,i/adamaldridge2018.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,,
|
Adam Aldridge,Aldridge,1,,i/adama2018.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,,
|
||||||
Michael Allen,Allen,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,
|
Michael Allen,Allen,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,
|
||||||
Craig Anderson,Anderson,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,
|
Craig Anderson,Anderson,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,
|
||||||
Gunilla Andrée,Andrée,,,l/andree.htm,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,
|
Gunilla Andrée,Andrée,,,l/andree.htm,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,
|
||||||
@ -207,7 +207,7 @@ Jenny Moss,Moss,,,l/jennymoss.htm,,,,,,,,,,,,1,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
|||||||
Chantalle Mouwer,Mouwer,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,
|
Chantalle Mouwer,Mouwer,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,
|
||||||
Richard Mundy,Mundy,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,
|
Richard Mundy,Mundy,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,
|
||||||
Phil Murphy,Murphy,1,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
Phil Murphy,Murphy,1,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||||
Juliette Nash,Nash,,,l/juliettenash.html,,,,,,,,,,,,1,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
Juliette Nash,Nash,,,l/juliettenash.htm,,,,,,,,,,,,1,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||||
Viz Neogi,Neogi,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,
|
Viz Neogi,Neogi,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,
|
||||||
George North,North,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,
|
George North,North,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,
|
||||||
Elaine Oliver,Oliver,,,i/elaine.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,1,1,,,
|
Elaine Oliver,Oliver,,,i/elaine.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,1,1,,,
|
||||||
@ -249,7 +249,7 @@ Tony Rooke,Rooke,,,l/tonyr.htm,,,,,,,,,,,,,,,1,1,1,,,,1,1,,1,1,1,1,1,1,1,,-1,1,1
|
|||||||
Todd Rye,Rye,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,
|
Todd Rye,Rye,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,
|
||||||
Martin Sabry,Sabry,1,,i/msabry.jpg,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,
|
Martin Sabry,Sabry,1,,i/msabry.jpg,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||||
Hugh Salter,Salter,,,l/hughs.htm,,,,,,,,,,,,,1,,1,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
Hugh Salter,Salter,,,l/hughs.htm,,,,,,,,,,,,,1,,1,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||||
Michael Sargent (Mike),Sargent,,,l/michaelsargent.html,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,1,1,1,1,
|
Michael Sargent (Mike),Sargent,,,l/michaelsargent.htm,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,1,1,1,1,
|
||||||
Philip Sargent (Phil),Sargent,,,l/pms.htm,,,,,,,1,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,1,
|
Philip Sargent (Phil),Sargent,,,l/pms.htm,,,,,,,1,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,1,
|
||||||
Haydon Saunders,Saunders,1,,i/hayden.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,1,,
|
Haydon Saunders,Saunders,1,,i/hayden.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,1,,
|
||||||
Tanya Savage,Savage,,,l/tanya.htm,,,,,,,,,,,,,,1,1,1,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,
|
Tanya Savage,Savage,,,l/tanya.htm,,,,,,,,,,,,,,1,1,1,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,
|
||||||
|
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
@ -21,10 +21,8 @@ up caving seriously with CUCC in 1980 after having returned from a one-year post
|
|||||||
This was despite having enjoyed the delights of P8 in claggies when he was a fresher in 1972.
|
This was despite having enjoyed the delights of P8 in claggies when he was a fresher in 1972.
|
||||||
<p>Father of Michael (expos 2014-2017)</P>
|
<p>Father of Michael (expos 2014-2017)</P>
|
||||||
|
|
||||||
|
<p class="caption">Photo © Brian Derby (with OUCC in N.Ireland)</p>
|
||||||
|
|
||||||
<hr style="clear: both" /><p class="caption">Photo © Brian Derby (with OUCC in N.Ireland)</p>
|
|
||||||
<!-- Photo -->
|
|
||||||
<hr />
|
|
||||||
<!-- LINKS -->
|
<!-- LINKS -->
|
||||||
<ul id="links">
|
<ul id="links">
|
||||||
<li>Back to table of <a href="../index.htm">expo members</a></li>
|
<li>Back to table of <a href="../index.htm">expo members</a></li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user