diff options
Diffstat (limited to 'views/rss/group')
-rw-r--r-- | views/rss/group/default.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/views/rss/group/default.php b/views/rss/group/default.php index 2905e0a82..24030b8e7 100644 --- a/views/rss/group/default.php +++ b/views/rss/group/default.php @@ -28,5 +28,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>
|