Difference between revisions of "Template:Subscribe"

From Organic Design wiki
(change to API links)
(stick with 'q')
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{info|Use this template to create RSS/Atom subscription links to site posts. If a parameter is supplied, it will be used as the category name to filter the feed by.}}[[Category:Bliki]]</noinclude><includeonly><div class="subscribe" style="float:right">
 
<noinclude>{{info|Use this template to create RSS/Atom subscription links to site posts. If a parameter is supplied, it will be used as the category name to filter the feed by.}}[[Category:Bliki]]</noinclude><includeonly><div class="subscribe" style="float:right">
 
'''Subscribe to this feed:&nbsp;'''
 
'''Subscribe to this feed:&nbsp;'''
{{#tag:html|<a id="feed-rss" class="feedlink" title="RSS feed for this page" type="application/rss+xml" rel="alternate" href="{{SCRIPTPATH}}/api.php?action=blikifeed&categories={{{1|1}}}">RSS</a>&nbsp;
+
{{#tag:html|<a id="feed-rss" class="feedlink" title="RSS feed for this page" type="application/rss+xml" rel="alternate" href="{{SCRIPTPATH}}/api.php?action=blikifeed&q={{urlencode:{{{1|1}}}}}">RSS</a>&nbsp;
<a id="feed-atom" class="feedlink" title="Atom feed for this page" type="application/atom+xml" rel="alternate" href="{{SCRIPTPATH}}/api.php?action=blikifeed&categories={{{1|1}}}&feed=atom">Atom</a>}}
+
<a id="feed-atom" class="feedlink" title="Atom feed for this page" type="application/atom+xml" rel="alternate" href="{{SCRIPTPATH}}/api.php?action=blikifeed&q={{urlencode:{{{1|1}}}}}&feed=atom">Atom</a>}}
 
</div><div style="clear:both"></div></includeonly>
 
</div><div style="clear:both"></div></includeonly>

Latest revision as of 14:57, 17 June 2015

Info.svg Use this template to create RSS/Atom subscription links to site posts. If a parameter is supplied, it will be used as the category name to filter the feed by.