6 sys.path.append('/home/naath/familyTreeProject/familyTree')
12 return 'http://www.chiark.greenend.org.uk/ucgi/~naath/'
17 print '<li><a href='+base_url() + \
18 'searchname.py> Search for people</a></li>'
19 print '<li><a href='+base_url() + \
20 'listPeople.py> List of people</a></li>'
21 print '<li><a href='+base_url() + \
22 'listTerr.py> List of territories</a></li>'
23 print '<li><a href = bigGraph.py> big graph</a></li>'
26 print '<li><a href='+base_url() + \
27 'countNames.py> First names</a></li>'
28 print '<li><a href='+base_url()+ \
29 'listAge.py> Age at haing child</a></li>'
30 print '<li><a href='+base_url()+\
31 'listAgeDeath.py> Age at death</a></li>'
32 print '<li><a href ='+base_url()+\
33 'listChildCount.py> Number of children</a></li>'
41 print 'This somewhat silly thing made by '
42 print '<a href=http://www.chiark.greenend.org.uk/~naath>naath</a>'
44 print 'Thanks to <a href=http://www.chiark.greenend.org.uk>chiark</a> for hosting this'
46 print 'Information sourced from <a href = en.wikipedia.org> wikipedia</a>'
47 print 'All errors in transcription are mine.'
48 print 'Reports of errors, or ideas of interesting questions to ask'
49 print 'my database by email to naath@chiark.greenend.org.uk'
50 print "(omissions of people are largely because I haven't got to them yet)."
58 print 'This is a silly toy for exploring the genealogy of the monarchs of England'
62 print "Content-Type: text/html;charset=utf-8"
65 conn = askQuestion.connect()
67 form = cgi.FieldStorage()
70 def html_start(titleNum):
73 print "<title>"+ title(titleNum) +"</title>"
76 print "ul\n{list-style-type:none;margin:10;padding:0;}"
77 print "li{display:inline;}"
98 askQuestion.close(conn)