diff options
Diffstat (limited to 'views/rss/object/default.php')
-rw-r--r-- | views/rss/object/default.php | 11 |
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>
|