aboutsummaryrefslogtreecommitdiff
path: root/views/rss/object/georss.php
blob: 8aa02751988193bf7685681fc118c576c49198f8 (plain)
1
2
3
4
5
6
7
8
9
10
<?php
/**
 * 
 */

if (($vars['entity'] instanceof Locatable) &&
	($latitude = $vars['entity']->getLongitude()) && ($longitude = $vars['entity']->getLatitude())
) {
	echo "<georss:point>$latitude $longitude</georss:point>";
}