web commit by http://id.inelegant.org/: Markdown ate my previous attempt at pasting the patch in-line; apologies if this has clobbered it.

master
joey 2007-02-19 02:40:07 +00:00
parent 33f3db2104
commit 62aaf67a32
1 changed files with 13 additions and 15 deletions

View File

@ -1,17 +1,15 @@
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. 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
Index: templates/atomitem.tmpl ===================================================================
=================================================================== --- templates/atomitem.tmpl (revision 2640)
--- templates/atomitem.tmpl (revision 2640) +++ templates/atomitem.tmpl (working copy)
+++ templates/atomitem.tmpl (working copy) @@ -8,7 +8,7 @@
@@ -8,7 +8,7 @@ <link href="<TMPL_VAR PERMALINK>"/>
<link href="<TMPL_VAR PERMALINK>"/> <TMPL_IF NAME="CATEGORIES">
<TMPL_IF NAME="CATEGORIES"> <TMPL_LOOP NAME="CATEGORIES">
<TMPL_LOOP NAME="CATEGORIES"> - <category><TMPL_VAR CATEGORY></category>
- <category><TMPL_VAR CATEGORY></category> + <category term="<TMPL_VAR CATEGORY>" />
+ <category term="<TMPL_VAR CATEGORY>" /> </TMPL_LOOP>
</TMPL_LOOP> </TMPL_IF>
</TMPL_IF> <updated><TMPL_VAR DATE_3339></updated>
<updated><TMPL_VAR DATE_3339></updated>
</pre>