|
@@ -26,6 +26,6 @@ parser = %(module)s.%(parser)s(authority_name, authority_short_name, base_url) |
|
|
xml = parser.getResults(day, month, year) |
|
|
xml = parser.getResults(day, month, year) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print "Content-Type: text/xml" # XML is following |
|
|
|
|
|
|
|
|
print "Content-Type: text/xml; charset=utf-8" # XML is following |
|
|
print |
|
|
print |
|
|
print xml.encode("utf-8") # print the xml |
|
|
print xml.encode("utf-8") # print the xml |