From 085efc33cc0cadaed0c01d926604e219e1d44365 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 2 Aug 2016 11:55:11 +0200 Subject: Add plugin placeholders in RSS and ATOM feeds templates --- tpl/feed.atom.html | 11 ++++++----- tpl/feed.rss.html | 10 ++++++---- 2 files changed, 12 insertions(+), 9 deletions(-) (limited to 'tpl') diff --git a/tpl/feed.atom.html b/tpl/feed.atom.html index aead0459..29187505 100644 --- a/tpl/feed.atom.html +++ b/tpl/feed.atom.html @@ -6,11 +6,9 @@ {$last_update} {/if} - {if="!empty($pubsubhub_url)"} - - - - {/if} + {loop="$plugins_feed_header"} + {$value} + {/loop} {$index_url} {$index_url} @@ -34,6 +32,9 @@ {loop="$value.taglist"} {/loop} + {loop="$value.feed_plugins"} + {$value} + {/loop} {/loop} diff --git a/tpl/feed.rss.html b/tpl/feed.rss.html index e18dbf9b..66d9a869 100644 --- a/tpl/feed.rss.html +++ b/tpl/feed.rss.html @@ -8,10 +8,9 @@ {$index_url} Shaarli - {if="!empty($pubsubhub_url)"} - - - {/if} + {loop="$plugins_feed_header"} + {$value} + {/loop} {loop="$links"} {$value.title} @@ -29,6 +28,9 @@ {loop="$value.taglist"} {$value} {/loop} + {loop="$value.feed_plugins"} + {$value} + {/loop} {/loop} -- cgit v1.2.3 From db90dfcbbc406b50381f17a72f24095fee91bb09 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 2 Aug 2016 11:55:49 +0200 Subject: Move PubSubHubbub code as a default plugin --- tpl/feed.atom.html | 2 +- tpl/feed.rss.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tpl') diff --git a/tpl/feed.atom.html b/tpl/feed.atom.html index 29187505..ad7dd935 100644 --- a/tpl/feed.atom.html +++ b/tpl/feed.atom.html @@ -6,7 +6,7 @@ {$last_update} {/if} - {loop="$plugins_feed_header"} + {loop="$feed_plugins_header"} {$value} {/loop} diff --git a/tpl/feed.rss.html b/tpl/feed.rss.html index 66d9a869..73791f63 100644 --- a/tpl/feed.rss.html +++ b/tpl/feed.rss.html @@ -8,7 +8,7 @@ {$index_url} Shaarli - {loop="$plugins_feed_header"} + {loop="$feed_plugins_header"} {$value} {/loop} {loop="$links"} -- cgit v1.2.3