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/annotation | |
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/annotation')
-rw-r--r-- | views/rss/annotation/default.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/views/rss/annotation/default.php b/views/rss/annotation/default.php index 375a3d5ac..f96e85632 100644 --- a/views/rss/annotation/default.php +++ b/views/rss/annotation/default.php @@ -25,5 +25,14 @@ <pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate>
<link><?php echo $vars['entity']->getURL(); ?>#<?php echo $vars['annotation']->id; ?></link>
<title><![CDATA[<?php echo $title; ?>]]></title>
- <description><![CDATA[<?php echo (autop($vars['annotation']->value)); ?>]]></description>
+ <description><![CDATA[<?php echo (autop($vars['annotation']->value)); ?>]]></description> + <?php + $owner = get_entity($vars['entity']->owner); + if ($owner) + { +?> + <dc:creator><?php echo $owner->name; ?></dc:creator> +<?php + } + ?>
</item>
|