aboutsummaryrefslogtreecommitdiff
path: root/views/rss/page/components/creator.php
blob: a14f1dbca78f7109f38d259df28387dda5418160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * Creator view
 *
 * Implements Dublin Core creator
 *
 * @uses $vars['entity']
 */

$owner = $vars['entity']->getOwnerEntity();
if ($owner) {
	$owner_name = htmlspecialchars($owner->name, ENT_NOQUOTES, 'UTF-8');
	echo "<dc:creator>$owner_name</dc:creator>";
}