From: ArthurHoaro Date: Tue, 2 Aug 2016 09:55:11 +0000 (+0200) Subject: Add plugin placeholders in RSS and ATOM feeds templates X-Git-Tag: v0.9.0~85^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=085efc33cc0cadaed0c01d926604e219e1d44365;p=github%2Fshaarli%2FShaarli.git Add plugin placeholders in RSS and ATOM feeds templates --- 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}