From 6e1aa5363797c1f6ba7d5dfa84544fcb38cc1175 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 22 Oct 2025 16:29:39 +0100 Subject: [PATCH] moving text to new page - online edit of handbook/troggle/folkredesign.html --- handbook/troggle/folkredesign.html | 59 ++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 handbook/troggle/folkredesign.html diff --git a/handbook/troggle/folkredesign.html b/handbook/troggle/folkredesign.html new file mode 100644 index 000000000..049ea225e --- /dev/null +++ b/handbook/troggle/folkredesign.html @@ -0,0 +1,59 @@ +CUCC Expedition Handbook: folk.csv redesign +

Folk: pending possible improvements

+ +

Read about the folklist script before reading the rest of this. +

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

The folk.csv file could 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 (July 2023) the software ignores folk-0, -1, -2 and we have used the old folk.csv for +the 2023 expo. But we hope to have this fixed next year... + +

Troggle folk data importing

+

+ This still needs fixing [Feb.2024] +

+Troggle reads the mugshot and blurb about each person. +It reads it direct from folk.csv which has fields of URL links to those files. +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 parsers/people.py) +

+ [This now seems to have have been fixed (July 2023):

+ + + + +
+Return to: Troggle design and future implementations
+Return to: Troggle intro
+Troggle index: +Index of all troggle documents