aboutsummaryrefslogtreecommitdiff
path: root/views/rss/annotation
diff options
context:
space:
mode:
Diffstat (limited to 'views/rss/annotation')
-rw-r--r--views/rss/annotation/default.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/rss/annotation/default.php b/views/rss/annotation/default.php
index 6d8cb8812..718a6b5e3 100644
--- a/views/rss/annotation/default.php
+++ b/views/rss/annotation/default.php
@@ -35,5 +35,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>