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%"
format="<item rdf:about=\"%SCRIPTURL{"view"}%/$web/$topic\">
<title>$expand(topictitle)</title>
<link>%SCRIPTURL{"view"}%/$web/$topic</link>
<dc:creator>$expand(@createauthor.topictitle)</dc:creator>
<dc:date>$formatTime(createdate, '$year-$mo-$dayT$hour:$minute:$secondsZ')</dc:date>
<dc:contributor>
<rdf:Description link='%SCRIPTURL{"view"}%/%USERSWEB%/$expand(info.author)'>
<rdf:value>$expand(info.author)</rdf:value>
</rdf:Description>
</dc:contributor>
<description> <![CDATA[
$percntDBCALL{\"$web.$topic\"}$percnt
<!-- -->
]]></description>
</item>"
}%%STOPINCLUDE%