diff options
author | VirtualTam <tamisier.aurelien@gmail.com> | 2015-07-11 19:09:52 +0200 |
---|---|---|
committer | VirtualTam <tamisier.aurelien@gmail.com> | 2015-07-11 19:09:52 +0200 |
commit | bba021defce15184c986d5e3db138bdbdd4df5d5 (patch) | |
tree | b494366fee211dcb492ce8cb9b96ec6383c2f7c1 /tpl | |
parent | 1b73f35ebf690cdbc60e6e3423d9347634a841bd (diff) | |
parent | f3b8f9f0f80a05739756fb05cbec403011c46607 (diff) | |
download | Shaarli-bba021defce15184c986d5e3db138bdbdd4df5d5.tar.gz Shaarli-bba021defce15184c986d5e3db138bdbdd4df5d5.tar.zst Shaarli-bba021defce15184c986d5e3db138bdbdd4df5d5.zip |
Merge pull request #268 from ArthurHoaro/dailrss-template
Include the whole <item> in Daily RSS template
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/dailyrss.html | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/tpl/dailyrss.html b/tpl/dailyrss.html index 1b7ab8e9..d959d6be 100644 --- a/tpl/dailyrss.html +++ b/tpl/dailyrss.html | |||
@@ -1,8 +1,16 @@ | |||
1 | {loop="links"} | 1 | <item> |
2 | <h3><a href="{$value.url}">{$value.title}</a></h3> | 2 | <title>{$title} - {function="strftime('%A %e %B %Y', $daydate)"}</title> |
3 | <small>{if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}<br> | 3 | <guid>{$absurl}</guid> |
4 | {$value.url}</small><br> | 4 | <link>{$absurl}</link> |
5 | {if="$value.thumbnail"}{$value.thumbnail}{/if}<br> | 5 | <pubDate>{$rfc822date}</pubDate> |
6 | {if="$value.description"}{$value.formatedDescription}{/if} | 6 | <description><![CDATA[ |
7 | <br><br><hr> | 7 | {loop="links"} |
8 | {/loop} \ No newline at end of file | 8 | <h3><a href="{$value.url}">{$value.title}</a></h3> |
9 | <small>{if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}<br> | ||
10 | {$value.url}</small><br> | ||
11 | {if="$value.thumbnail"}{$value.thumbnail}{/if}<br> | ||
12 | {if="$value.description"}{$value.formatedDescription}{/if} | ||
13 | <br><br><hr> | ||
14 | {/loop} | ||
15 | ]]></description> | ||
16 | </item> \ No newline at end of file | ||