From 894d09ba9482dd53448986f487ca0f372083fee4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 14 Sep 2010 12:40:40 -0400 Subject: [PATCH] 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.) --- debian/changelog | 1 + templates/rssitem.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3428aa6d3..8b127b574 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,7 @@ ikiwiki (3.20100832) UNRELEASED; urgency=low information earlier than the delete hook. * actiontabs: Improve tab padding. * blueview: Fix display of links to translated pages in the page header. + * Set isPermaLink="no" for guids in rss feeds. -- Joey Hess Tue, 07 Sep 2010 12:08:05 -0400 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 @@ - + -- 2.39.5