annotate py/rlgnotes @ 64:86ae333bb4c0
Capitalize the class field in database entries.
Some logfiles capitalize it and some don't. It will now appear
consistently in the database and any database-derived pages.
That does not include recent.cgi, whose eventual status is still
undecided.
| author |
John "Elwin" Edwards |
| date |
Tue, 23 Jun 2015 11:10:46 -0400 |
| parents |
5b4ff5680037 |
| children |
d417016bbf73 |
| rev |
line source |
|
61
|
1 #!/usr/bin/python3
|
|
|
2
|
|
|
3 import os
|
|
|
4 import sys
|
|
|
5 import datetime
|
|
|
6 import rlgall
|
|
|
7 import pytz
|
|
|
8
|
|
|
9 navbar = '<div class="nav"><a href="/">rlgallery.org</a> -> \
|
|
|
10 <a href="/notes/">Notes</a> -> {0}</div>'
|
|
|
11
|
|
|
12 rsshead = """<?xml version="1.0" encoding="UTF-8"?>
|
|
|
13 <rss version="2.0">
|
|
|
14 <channel>
|
|
|
15 <title>Roguelike Gallery</title>
|
|
|
16 <description>News and notes from the Roguelike Gallery.</description>
|
|
|
17 <link>http://rlgallery.org/notes/</link>
|
|
|
18 """
|
John "Elwin" Edwards
parents:
|