home · contact · privacy
Add explanatory text to HTML view, inter-link HTML and TXT versions.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 3 Jul 2020 20:21:41 +0000 (22:21 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 3 Jul 2020 20:21:41 +0000 (22:21 +0200)
enhance_table.py

index 70a9501cab411936b5644c53a5906b4975bdc32e..03382554e2dbfc538aca8107777ed15ee789546c 100755 (executable)
@@ -137,6 +137,9 @@ table, tr, th, td { border: 1px solid black; }
 .day_row:nth-child(7n+2) { background-color: yellow; }
 .district_name { writing-mode: vertical-rl; transform: rotate(180deg); }
 </style>
+<h1>Table of Berlin's Corona infection number development by districts.
+</h1>
+<p>Updated daily at 9pm. <a href="https://plomlompom.com/repos/?p=berlin-corona-table">Source code</a>. <a href="berlin_corona.txt">Text view optimized for terminal curl</a>.</p>
 <table>
 <tr>
 <th>date</th>""")
@@ -194,6 +197,8 @@ Abbrevations/explanations:
         intro += "%s: %s\n" % (k, translate[k])
     intro += """
 Source code: https://plomlompom.com/repos/?p=berlin-corona-table
+
+HTML view: https://plomlompom.com/berlin_corona.html
 """
     print(intro)