aboutsummaryrefslogtreecommitdiff
path: root/views/rss/object/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/rss/object/default.php')
-rw-r--r--views/rss/object/default.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/rss/object/default.php b/views/rss/object/default.php
index d1df921a6..42fb4b4b9 100644
--- a/views/rss/object/default.php
+++ b/views/rss/object/default.php
@@ -36,5 +36,16 @@
<?php
}
?>
+ <?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>