Reproduced in
http://develop.twiki.org/~develop/cgi-bin/view/Sandbox/WebRss
- FF shows this error:
XML Parsing Error: mismatched tag. Expected: </dd>.
Location: http://develop.twiki.org/~develop/cgi-bin/view/Sandbox/WebRss
Line Number 97, Column 53:<dt> Notes</dt><dd> (last changed by TWikiGuest)</description> <dc:date>2006-01-12T12:38Z</dc:date> <dc:contributor> <rdf:Description link="http://develop.twiki.org/~develop/cgi-bin/view?topic=Main.TWikiGuest"> <rdf:value>guest</rdf:value> </rdf:Description> </dc:contributor> <wiki:version>34</wiki:version> <wiki:status>updated</wiki:status> <wiki:importance>major</wiki:importance> <wiki:diff>http://develop.twiki.org/~develop/cgi-bin/rdiff/Sandbox/WebStatistics</wiki:diff> <wiki:history>http://develop.twiki.org/~develop/cgi-bin/rdiff/Sandbox/WebStatistics<
----------------------------------------------------^
Generated code:
<item rdf:about="http://develop.twiki.org/~develop/cgi-bin/view/Sandbox/WebStatistics">
<title>WebStatistics</title>
<link>http://develop.twiki.org/~develop/cgi-bin/view/Sandbox/WebStatistics?t=2006-01-12T12:38Z</link>
<description> Month: Topic views: Topic saves: File uploads:
REMOVED: Jan 2006 875 23 2 61 60 WebHome 46 25 WYSIWYGTables...
INSERTED: Jan 2006 1982 52 6 139 WebTopicCreator 72 47 TestTab... <dl>
<dt> Notes</dt><dd> (last changed by TWikiGuest)</description> <dc:date>2006-01-12T12:38Z</dc:date> <dc:contributor> <rdf:Description link="http://develop.twiki.org/~develop/cgi-bin/view?topic=Main.TWikiGuest"> <rdf:value>guest</rdf:value> </rdf:Description> </dc:contributor> <wiki:version>34</wiki:version> <wiki:status>updated</wiki:status> <wiki:importance>major</wiki:importance> <wiki:diff>http://develop.twiki.org/~develop/cgi-bin/rdiff/Sandbox/WebStatistics</wiki:diff> <wiki:history>http://develop.twiki.org/~develop/cgi-bin/rdiff/Sandbox/WebStatistics</wiki:history>
</dd></dl>
</item>
Why not simply use the
$summary()
? It is plain text and avoids issues like this.
--
PTh
SVN 8256 - fixed parsing error; also removed remaining
<wiki:...>
tags that produced validation errors; validates OK with
http://feedvalidator.org/
This returns now the
$summary
instead of the
$changes
. If someone feels strongly about this, open a new bug item and fix
$changes
to return only plain text (and possibly implement also a
$changes(render)
that returns rendered text, consistent with the proposed
$summary(render)
feature in
Item1376.)
--
PTh
I just created new entry
Item1390: Add new $summary(render) to FormattedSearch.
--
PTh