aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-19 04:42:30 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-19 04:42:30 +0000
commit8bfcca5b47c412b8f60c12d68302fb8b2f0a2354 (patch)
tree4f3484dc56ba3cff6cbcc3dae72578120eff617a
parent644ba425c8c56d5dbc6d4074e89f65e2624898e5 (diff)
downloadikiwiki-8bfcca5b47c412b8f60c12d68302fb8b2f0a2354.tar
ikiwiki-8bfcca5b47c412b8f60c12d68302fb8b2f0a2354.tar.gz
* Patch to fix validaton of atom feeds by fixing the category tags.
-rw-r--r--debian/changelog6
-rw-r--r--doc/patchqueue/atom-category-fix.mdwn15
-rw-r--r--templates/atomitem.tmpl2
3 files changed, 7 insertions, 16 deletions
diff --git a/debian/changelog b/debian/changelog
index af5c9c06c..fb2d2d147 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ikiwiki (1.44) UNRELEASED; urgency=low
+
+ * Patch to fix validaton of atom feeds by fixing the category tags.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 18 Feb 2007 23:40:32 -0500
+
ikiwiki (1.43) unstable; urgency=low
* Allow plugins to add new types of tests that can be used in PageSpecs.
diff --git a/doc/patchqueue/atom-category-fix.mdwn b/doc/patchqueue/atom-category-fix.mdwn
deleted file mode 100644
index 199f769f8..000000000
--- a/doc/patchqueue/atom-category-fix.mdwn
+++ /dev/null
@@ -1,15 +0,0 @@
-The Atom feed fails validation at http://feedvalidator.org/ because the `<category>` tags are syntactically incorrect ([spec](http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.category)). With this patch it validates.
-
- Index: templates/atomitem.tmpl
- ===================================================================
- --- templates/atomitem.tmpl (revision 2640)
- +++ templates/atomitem.tmpl (working copy)
- @@ -8,7 +8,7 @@
- <link href="<TMPL_VAR PERMALINK>"/>
- <TMPL_IF NAME="CATEGORIES">
- <TMPL_LOOP NAME="CATEGORIES">
- - <category><TMPL_VAR CATEGORY></category>
- + <category term="<TMPL_VAR CATEGORY>" />
- </TMPL_LOOP>
- </TMPL_IF>
- <updated><TMPL_VAR DATE_3339></updated> \ No newline at end of file
diff --git a/templates/atomitem.tmpl b/templates/atomitem.tmpl
index 9dfcb1b32..bdbfe69c7 100644
--- a/templates/atomitem.tmpl
+++ b/templates/atomitem.tmpl
@@ -8,7 +8,7 @@
<link href="<TMPL_VAR PERMALINK>"/>
<TMPL_IF NAME="CATEGORIES">
<TMPL_LOOP NAME="CATEGORIES">
- <category><TMPL_VAR CATEGORY></category>
+ <category term="<TMPL_VAR CATEGORY>" />
</TMPL_LOOP>
</TMPL_IF>
<updated><TMPL_VAR DATE_3339></updated>