diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-08-03 09:45:28 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-08-03 09:54:57 +0200 |
commit | c6d876bb2afe7e9ec1a64c74e766360e2fa441e0 (patch) | |
tree | f1e704d6c937ac6aec8814141cbb2f1e40e5ba88 /tpl/feed.atom.html | |
parent | 9646b7da22c4c6f3419bfe51431720dd622374d8 (diff) | |
download | Shaarli-c6d876bb2afe7e9ec1a64c74e766360e2fa441e0.tar.gz Shaarli-c6d876bb2afe7e9ec1a64c74e766360e2fa441e0.tar.zst Shaarli-c6d876bb2afe7e9ec1a64c74e766360e2fa441e0.zip |
Set updated date for items in feeds
RSS doesn't support updated date for items, so we use the ATOM extension.
Updated dates also bump the global update
Diffstat (limited to 'tpl/feed.atom.html')
-rw-r--r-- | tpl/feed.atom.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/feed.atom.html b/tpl/feed.atom.html index 2ebb162a..1932f507 100644 --- a/tpl/feed.atom.html +++ b/tpl/feed.atom.html | |||
@@ -27,7 +27,8 @@ | |||
27 | {/if} | 27 | {/if} |
28 | <id>{$value.guid}</id> | 28 | <id>{$value.guid}</id> |
29 | {if="$show_dates"} | 29 | {if="$show_dates"} |
30 | <updated>{$value.iso_date}</updated> | 30 | <published>{$value.pub_iso_date}</published> |
31 | <updated>{$value.up_iso_date}</updated> | ||
31 | {/if} | 32 | {/if} |
32 | <content type="html" xml:lang="{$language}"> | 33 | <content type="html" xml:lang="{$language}"> |
33 | <![CDATA[{$value.description}]]> | 34 | <![CDATA[{$value.description}]]> |