summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCalen Pennington <cale@edx.org>2015-02-20 15:02:42 -0500
committerCalen Pennington <cale@edx.org>2015-02-20 15:02:42 -0500
commitac0fc618ff2e9f40b94e4be06efee45d08b0ba10 (patch)
tree25040c07f9c0b10249e1f46febbbaec8cc530db9 /data
parent35f65f78464f61dca352256701ae942640f335ae (diff)
downloadhakyll-ac0fc618ff2e9f40b94e4be06efee45d08b0ba10.tar.gz
Add author name by default to RSS feeds
Diffstat (limited to 'data')
-rw-r--r--data/templates/rss-item.xml1
-rw-r--r--data/templates/rss.xml5
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>