Documentation
This method is called by
RssViewTemplate for each topic found. Note that this is a base-implementation
for all
TopicTypes processed. Individual TopicTypes may implement their own version called
MyTopicTypeRenderRss
.
These are then called automatically using the
%DBCALL{"web.topic->RenderRss"}%
method call of the RssViewTemplate.
Parameters
- OBJECT: the current topic
Implementation
%STARTINCLUDE%%DBQUERY{topic="%OBJECT%"
datelanguage="en"
format="<item>
<title><literal>$expand(topictitle)</literal></title>
<link>$percntSCRIPTURL{\"view\" topic=\"$web/$topic\"}$percnt</link>
<guid>$percntSCRIPTURL{\"view\" topic=\"$web/$topic\"}$percnt</guid>
<dc:creator>$percntGETTOPICTITLE{\"$percntUSERINFO{\"$expand(info.author)\" format=\"$wikiusername\"}$percnt\"}$percnt</dc:creator>
<dc:date>$formatTime(info.date, '$year-$mo-$dayT$hour:$minute:$secondsZ')</dc:date>
<description> <![CDATA[
$percntDBCALL{\"$web.$topic\"}$percnt
<!-- -->
]]></description>
</item>"
}%%STOPINCLUDE%