BlogEntryRenderRss
renders an item for a blog posting in an rss feed

02 May 2019 - 20:32 | Version 1 |

Documentation

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(@publishauthor.topictitle)</dc:creator>
       <dc:date>$formatTime(publishdate, '$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(Author @createauthor.topictitle)</rdf:value>
         </rdf:Description>
       </dc:contributor>
      <description> <![CDATA[
$percntDBCALL{\"%OBJECT%\"}$percnt
<!-- -->
$percntTAGINFO{
   \"$web.$topic\"
   header=\"<p>%TRANSLATE{"Tags"}%: \"
   format=\"$dollarname\"
   separator=\", \"
   footer=\"</p>\"
}$percnt
<!-- -->
      ]]></description>
    </item>"
}%%STOPINCLUDE%

Copyright

© 2005-2019 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.