mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-22 07:11:55 +00:00
Make names live URLs in the folk list.
This commit is contained in:
parent
e54850ad65
commit
6b8a054bc3
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
@ -1,13 +1,22 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CUCC Expo member: Ben van Millingen</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h2 id="tophead">CUCC Expedition Handbook</h2>
|
||||
|
||||
<h1>Ben van Millingen</h1>
|
||||
|
||||
|
||||
<body>
|
||||
<p><img class="onleft" src="../i/benvm.jpg" width="132" height="135"
|
||||
alt="" />
|
||||
<img class="onright" width="180" src="../i/benvanmillingen-Jan1982.jpg" />
|
||||
|
||||
|
||||
<b>Ben van Millingen</b>,
|
||||
Queens' 1976-79 (Tacklemaster 1978-79).<br />
|
||||
Expedition 1978, 1979, 1980, 1983.<br />
|
||||
@ -16,10 +25,15 @@ Explored <a href="../../1623/107.htm">Gemsehöhle</a> (1623/107) in
|
||||
and worked in the <a href="../../1623/41.htm">Stellerwegsystem</a>
|
||||
(1623/41) and <a href="../../1623/87.htm">1623/87</a> in 1980.
|
||||
<a href="../../1623/145/145.html">Wolfhöhle</a> (1623/145) was the main
|
||||
venue in 1983.<br />
|
||||
Photo taken in Hall of the Greene King in Eislufthöhle.</p>
|
||||
venue in 1983.
|
||||
<p>
|
||||
Photo (right) taken in Greenclose, New Year meet Jan. 1982.</p>
|
||||
<p>
|
||||
Photo (left) taken in Hall of the Greene King in Eislufthöhle.</p>
|
||||
|
||||
<hr style="clear: both" /><p class="caption">Photo © Andy Waddington, 1979</p>
|
||||
|
||||
|
||||
<hr style="clear: both" /><p class="caption">Photo (left) © Andy Waddington, 1979</p>
|
||||
<!-- Photo S485, Photo-CD 6121 1651 2353 img 84 -->
|
||||
<hr />
|
||||
<!-- LINKS -->
|
||||
|
@ -16,6 +16,8 @@ output = ""
|
||||
lines = sys.stdin.readlines()
|
||||
headcounts_byyear = [0]*(len(lines[0].split(","))-5)
|
||||
|
||||
|
||||
|
||||
for r in lines[1:]:
|
||||
r = r.replace("\n","")
|
||||
r = r.replace("\r", "")
|
||||
@ -31,7 +33,21 @@ for r in lines[1:]:
|
||||
if mug: pics +=1
|
||||
output += '<tr><td>'
|
||||
if expos_caving == 0: output += '<span class="didntcave">'
|
||||
output += name.replace('""', '"')
|
||||
|
||||
# Middle names still not working: MorvenBeranek-Stanley , Sarah Livia Zerbes
|
||||
# Need to manage names e.g. <span lang=""sv"">Leif Hornsved (Nickname)</span> => LeifHornsved
|
||||
namevis = name.replace('""', '"').strip('"')
|
||||
# Need to manage e.g.Olaf Kähler
|
||||
# Need to manage e.g. Bal%26aacute%3BzsIzapy
|
||||
nameurl = namevis.replace(' ', '')
|
||||
nameurl = nameurl.replace('&', '%26')
|
||||
nameurl = nameurl.replace(';', '%3B')
|
||||
nameurl = re.sub('<[^>]*>','',nameurl)
|
||||
nameurl = re.sub('\([^\)]*\)','',nameurl) # mostly noit needed, but is for Wookey
|
||||
namelink= "<a href='/person/" + nameurl + "'>" + namevis + "</a>"
|
||||
output += namelink
|
||||
#output += name.replace('""', '"')
|
||||
|
||||
if expos_caving == 0: output += '</span>'
|
||||
output += '</td><td>'
|
||||
if guest: output += '§'
|
||||
|
Loading…
Reference in New Issue
Block a user