aboutsummaryrefslogtreecommitdiff
path: root/views/rss/group
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-14 16:45:31 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-14 16:45:31 +0000
commit9e1ff71a0ffd0036ad3586be397d77034384b3e2 (patch)
tree72a25e9b68fdb0ef88ba715e1bf469b92587119d /views/rss/group
parent1119cf74af4e3fdc0b81e0667ba7f76f25313cc3 (diff)
downloadelgg-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/group')
-rw-r--r--views/rss/group/default.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/views/rss/group/default.php b/views/rss/group/default.php
index 281dc93cc..ce4cc026f 100644
--- a/views/rss/group/default.php
+++ b/views/rss/group/default.php
@@ -18,5 +18,14 @@
<pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate>
<link><?php echo htmlspecialchars($vars['entity']->getURL()); ?></link>
<title><![CDATA[<?php echo (($vars['entity']->name)); ?>]]></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>