ClassifiedTopicRenderRss
renders an item for a classified topic in an rss feed

02 May 2019 - 20:19 | Version 1 |

Documentation

See RssViewTemplate, RenderRss

Parameters
  • OBJECT

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:subject>$percntCATINFO{\"$web.$topic\" format=\"$dollartitle\"}$percnt, $expand(Tag)</dc:subject>
       <dc:contributor>
         <rdf:Description link=\"%SCRIPTURL{"view"}%/%USERSWEB%/$expand(Author or createauthor)\">
           <rdf:value>$expand(@createauthor.topictitle)</rdf:value>
         </rdf:Description>
       </dc:contributor>
      <description> <![CDATA[ 
$percntDBCALL{\"$web.$topic\"}$percnt
<!-- -->
$percntTAGINFO{
  \"$web.$topic\"
  header=\"<p>%TRANSLATE{"Tags"}%: \"
  format=\"$dollarname\"
  separator=\", \"
  footer=\"</p>\"
}$percnt
<!-- -->
       ]]></description>
    </item>"
}%%STOPINCLUDE%

Copyright

© 2006-2019 Michael Daum http://michaeldaumconsulting.com

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding AustLII Communities? Send feedback
This website is using cookies. More info. That's Fine