From c07218b9c7b256e998f0a31c0226b3bd6d8011d7 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Mon, 27 Jun 2011 12:49:05 +0200 Subject: added main code --- trunk/views/rss/object/event_calendar.php | 60 +++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 trunk/views/rss/object/event_calendar.php (limited to 'trunk/views/rss/object') diff --git a/trunk/views/rss/object/event_calendar.php b/trunk/views/rss/object/event_calendar.php new file mode 100644 index 000000000..92f6fcc14 --- /dev/null +++ b/trunk/views/rss/object/event_calendar.php @@ -0,0 +1,60 @@ +title; + + $event_items = event_calendar_get_formatted_full_items($vars['entity']); + $items = array(); + foreach($event_items as $item) { + if (trim($item->value)) { + $items[] = ''.$item->title.': '.$item->value; + } + } + + $description = '

'.implode('
',$items).'

'; + + if ($vars['entity']->long_description) { + $description .= '

'.autop($vars['entity']->long_description).'

'; + } else { + $description .= '

'.$vars['entity']->description.'

'; + } + +?> + + + getURL()); ?> + getURL()); ?> + <![CDATA[<?php echo $title; ?>]]> + ]]> + getOwnerEntity(); + if ($owner) + { +?> + name; ?> + + getLongitude()) && + ($vars['entity']->getLatitude()) + ) { + ?> + getLatitude(); ?> getLongitude(); ?> + + + -- cgit v1.2.3