diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-14 16:45:31 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-14 16:45:31 +0000 |
commit | 9e1ff71a0ffd0036ad3586be397d77034384b3e2 (patch) | |
tree | 72a25e9b68fdb0ef88ba715e1bf469b92587119d /views/rss/object/default.php | |
parent | 1119cf74af4e3fdc0b81e0667ba7f76f25313cc3 (diff) | |
download | elgg-9e1ff71a0ffd0036ad3586be397d77034384b3e2.tar.gz elgg-9e1ff71a0ffd0036ad3586be397d77034384b3e2.tar.bz2 |
Making use of the Dublin Core extensions to provide owner information in RSS feeds
git-svn-id: https://code.elgg.org/elgg/trunk@3290 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/rss/object/default.php')
-rw-r--r-- | views/rss/object/default.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/views/rss/object/default.php b/views/rss/object/default.php index 7b55c5846..b711ab329 100644 --- a/views/rss/object/default.php +++ b/views/rss/object/default.php @@ -26,5 +26,14 @@ <pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate>
<link><?php echo htmlspecialchars($vars['entity']->getURL()); ?></link>
<title><![CDATA[<?php echo $title; ?>]]></title>
- <description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
+ <description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description> + <?php + $owner = $vars['entity']->getOwnerEntity(); + if ($owner) + { +?> + <dc:creator><?php echo $owner->name; ?></dc:creator> +<?php + } + ?>
</item>
|