getURL(), ENT_NOQUOTES, 'UTF-8'); $pubdate = date('r', $vars['entity']->getTimeCreated()); $title = $vars['entity']->getTitle(); $description = elgg_autop($vars['entity']->description); $creator = elgg_view('page/components/creator', $vars); $georss = elgg_view('page/components/georss', $vars); $extension = elgg_view('extensions/item', $vars); $thumbnail_url = $vars['entity']->getIconURL('tiny'); $download_url = $vars['entity']->getIconURL('large'); $mime_type = $vars['entity']->getMimeType(); $item = <<<__HTML $permalink $pubdate $permalink <![CDATA[$title]]> $creator$georss$extension __HTML; echo $item;