diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pyssg/rss.py | 2 | ||||
-rw-r--r-- | src/pyssg/template.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pyssg/rss.py b/src/pyssg/rss.py index ec661bb..2aa7fb0 100644 --- a/src/pyssg/rss.py +++ b/src/pyssg/rss.py @@ -7,7 +7,7 @@ from .configuration import Configuration VERSION = importlib.metadata.version('pyssg') -DFORMAT = '%a, %d %b %Y %H:%M:%S %Z' +DFORMAT = '%a, %d %b %Y %H:%M:%S GMT' class RSSBuilder: diff --git a/src/pyssg/template.py b/src/pyssg/template.py index a407475..d62c40f 100644 --- a/src/pyssg/template.py +++ b/src/pyssg/template.py @@ -115,7 +115,7 @@ class Template(HF): os.chdir('rss') self.__write_template('rss.xml', ['<?xml version="1.0" encoding="UTF-8" ?>\n', - '<rss version="2.0">\n', + '<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">\n', ' <channel>\n', ' <title>$$TITLE</title>\n', ' <link>$$LINK</link>\n', @@ -123,8 +123,8 @@ class Template(HF): ' <description>SHORT DESCRIPTION.</description>\n', ' <language>en-us</language>\n', ' <copyright>COPYRIGHT NOTICE.</copyright>\n', - ' <managingEditor>EMAIL@EXAMPLE.ORG</managingEditor>\n', - ' <webMaster>EMAIL@EXAMPLE.ORG</webMaster>\n', + ' <managingEditor>EMAIL@EXAMPLE.ORG (NAME)</managingEditor>\n', + ' <webMaster>EMAIL@EXAMPLE.ORG (NAME)</webMaster>\n', ' <pubDate>$$CURRENTDATE</pubDate>\n', ' <lastBuildDate>$$CURRENTDATE</lastBuildDate>\n', ' <generator>$$PYSSGVERSION</generator>\n', |