summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-04-22 23:56:14 +0200
committeremkael <emkael@tlen.pl>2019-04-22 23:56:14 +0200
commitc132c3cc3a413d13ed719e5f011780ca95aca259 (patch)
tree7bf9a1f21138412cefa966616356e235fa2daa53 /templates
parent5e4abc17872983e0c3f14a75f6331b804cff98d5 (diff)
Implementing RSS content extension
Diffstat (limited to 'templates')
-rw-r--r--templates/rss.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/rss.tpl b/templates/rss.tpl
index a0be07e..b5f01bd 100644
--- a/templates/rss.tpl
+++ b/templates/rss.tpl
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<rss version="2.0">
+<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{$feedTitle}</title>
<link>https://twitter.com/{$user}</link>
@@ -10,6 +10,7 @@
<link>{$item->Link}</link>
<guid>{$feedID}/{$item->ID}</guid>
<description><![CDATA[ {$item->Text|escape} ]]></description>
+ <content:encoded><![CDATA[ {$item->Text} ]]></content:encoded>
<pubDate>{$item->Time|date_format:"D, d M Y H:i:s O"}</pubDate>
</item>
{/foreach}