summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/pyssg/rss.py2
-rw-r--r--src/pyssg/template.py6
3 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d741ff..e8581a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
CHANGES
=======
+* fix missing ref to obj
* fix bad method call
* ... literally 3 commits to fix a missing obj
* ACTUALLY add missing config obj lol
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',