summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-19 02:37:39 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-19 02:37:39 +0000
commit33f3db21040a05e29f6418afe37109bd9c7b49ae (patch)
tree5768be7ba4e1c0fe295c3217af332d8ba2b20ab0 /doc
parentc50d243f48804fd7f81c2e83b48096d686eb76c2 (diff)
web commit by http://id.inelegant.org/
Diffstat (limited to 'doc')
-rw-r--r--doc/patchqueue/atom-category-fix.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/patchqueue/atom-category-fix.mdwn b/doc/patchqueue/atom-category-fix.mdwn
new file mode 100644
index 000000000..ca4dbcc01
--- /dev/null
+++ b/doc/patchqueue/atom-category-fix.mdwn
@@ -0,0 +1,17 @@
+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.
+
+<pre>
+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>
+</pre> \ No newline at end of file