function do_main()
 {
     //get folder object
     $oFolder = $this->oFolder;
     // get folder id
     $iFId = $oFolder->getID();
     $oTemplating =& KTTemplating::getSingleton();
     $oTemplate = $oTemplating->loadTemplate('RSSPlugin/rssfolderaction');
     $aTemplateData = array('context' => $this, 'link' => KTrss::getRssLink($iFId, 'folder'), 'linkIcon' => KTrss::getImageLink($iFId, 'folder'), 'folderName' => $this->oFolder->getName());
     return $oTemplate->render($aTemplateData);
 }
 function do_main()
 {
     //get document object
     $oDocument = $this->oDocument;
     // get document id
     $iDId = $oDocument->getID();
     $oTemplating =& KTTemplating::getSingleton();
     $oTemplate = $oTemplating->loadTemplate('RSSPlugin/rssdocumentaction');
     $aTemplateData = array('context' => $this, 'link' => KTrss::getRssLink($iDId, 'document'), 'linkIcon' => KTrss::getImageLink($iDId, 'document'));
     return $oTemplate->render($aTemplateData);
 }