aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-14 12:40:40 -0400
committerJoey Hess <joey@kitenet.net>2010-09-14 12:40:40 -0400
commit894d09ba9482dd53448986f487ca0f372083fee4 (patch)
treed4b32a6b0e13bfd1da15c88e55e1810254c5a5e7 /templates
parentd7cd669470a5c8a920032baac6665bfc8eb4bd5b (diff)
downloadikiwiki-894d09ba9482dd53448986f487ca0f372083fee4.tar
ikiwiki-894d09ba9482dd53448986f487ca0f372083fee4.tar.gz
Set isPermaLink="no" for guids in rss feeds.
The rss spec says that unless the attribute is set, guid elements *are* permalinks. The problem with that is that if [[meta permalink=]] is used, as is done with aggregated posts, that goes into the link element, and apparently some rss readers prefer the not-really-permalink in the guid element when linking to the post. Without meta permalink, the link and guid elements have the same content, so it should be ok, in that case too for the guid to not be a permalink. (Checked and this does not flood aggregators.)
Diffstat (limited to 'templates')
-rw-r--r--templates/rssitem.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl
index a64a4ebd7..272b340bb 100644
--- a/templates/rssitem.tmpl
+++ b/templates/rssitem.tmpl
@@ -8,7 +8,7 @@
<TMPL_IF GUID>
<guid isPermaLink="no"><TMPL_VAR GUID></guid>
<TMPL_ELSE>
- <guid><TMPL_VAR URL></guid>
+ <guid isPermaLink="no"><TMPL_VAR URL></guid>
</TMPL_IF>
<link><TMPL_VAR PERMALINK></link>
<TMPL_IF CATEGORIES>