|
@@ -45,11 +45,11 @@ for item in channel.iterfind("item"):
|
|
print("<head>", file=file)
|
|
print("<head>", file=file)
|
|
print("<meta charset=\"UTF-8\">", file=file)
|
|
print("<meta charset=\"UTF-8\">", file=file)
|
|
print("<title>RSS Feed</title>", file=file)
|
|
print("<title>RSS Feed</title>", file=file)
|
|
- print("<style>", file=FILE)
|
|
|
|
- print("* { font-family: sans-serif; line-height: 1.6em;}", file=FILE)
|
|
|
|
- print("a:link { color: black }", file=FILE)
|
|
|
|
- print("a:visited { color: #888 }", file=FILE)
|
|
|
|
- print("</style>", file=FILE)
|
|
|
|
|
|
+ print("<style>", file=file)
|
|
|
|
+ print("* { font-family: sans-serif; line-height: 1.6em;}", file=file)
|
|
|
|
+ print("a:link { color: black }", file=file)
|
|
|
|
+ print("a:visited { color: #888 }", file=file)
|
|
|
|
+ print("</style>", file=file)
|
|
print("</head>", file=file)
|
|
print("</head>", file=file)
|
|
print("<bady>", file=file)
|
|
print("<bady>", file=file)
|
|
print(contents, file=file)
|
|
print(contents, file=file)
|
|
@@ -59,4 +59,4 @@ for item in channel.iterfind("item"):
|
|
print("</ul>", file=FILE)
|
|
print("</ul>", file=FILE)
|
|
print("</body>", file=FILE)
|
|
print("</body>", file=FILE)
|
|
print("</html>", file=FILE)
|
|
print("</html>", file=FILE)
|
|
-FILE.close()
|
|
|
|
|
|
+FILE.close()
|