aboutsummaryrefslogtreecommitdiff
path: root/views/rss/user
diff options
context:
space:
mode:
Diffstat (limited to 'views/rss/user')
-rw-r--r--views/rss/user/default.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/rss/user/default.php b/views/rss/user/default.php
index 36d5555fe..317ff4724 100644
--- a/views/rss/user/default.php
+++ b/views/rss/user/default.php
@@ -19,5 +19,16 @@
<link><?php echo $vars['entity']->getURL(); ?></link>
<title><![CDATA[<?php echo (($vars['entity']->name)); ?>]]></title>
<description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
+ <?php
+ if (
+ ($vars['entity'] instanceof Locatable) &&
+ ($vars['entity']->getLongitude()) &&
+ ($vars['entity']->getLatitude())
+ ) {
+ ?>
+ <georss:point><?php echo $vars['entity']->getLatitude(); ?> <?php echo $vars['entity']->getLongitude(); ?></georss:point>
+ <?php
+ }
+ ?>
<?php echo elgg_view('extensions/item'); ?>
</item>