diff options
author | Calen Pennington <cale@edx.org> | 2015-02-20 15:02:42 -0500 |
---|---|---|
committer | Calen Pennington <cale@edx.org> | 2015-02-20 15:02:42 -0500 |
commit | ac0fc618ff2e9f40b94e4be06efee45d08b0ba10 (patch) | |
tree | 25040c07f9c0b10249e1f46febbbaec8cc530db9 /data/templates | |
parent | 35f65f78464f61dca352256701ae942640f335ae (diff) | |
download | hakyll-ac0fc618ff2e9f40b94e4be06efee45d08b0ba10.tar.gz |
Add author name by default to RSS feeds
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/rss-item.xml | 1 | ||||
-rw-r--r-- | data/templates/rss.xml | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml index 70126ac..cc56490 100644 --- a/data/templates/rss-item.xml +++ b/data/templates/rss-item.xml @@ -4,4 +4,5 @@ <description><![CDATA[$description$]]></description> <pubDate>$published$</pubDate> <guid>$root$$url$</guid> + <dc:creator>$authorName$</dc:creator> </item> diff --git a/data/templates/rss.xml b/data/templates/rss.xml index c6f3b08..c4fc3ae 100644 --- a/data/templates/rss.xml +++ b/data/templates/rss.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" + xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>$title$</title> <link>$root$</link> @@ -8,5 +9,5 @@ type="application/rss+xml" /> <lastBuildDate>$updated$</lastBuildDate> $body$ - </channel> + </channel> </rss> |