Changeset 12046
- Timestamp:
- 09/06/07 14:05:50 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/de.bitfolge.feedcreator/feedcreator.php
r11998 r12046 992 992 } 993 993 if ( count($this->items) > 0 994 && isset($this->items[0]->additionalElements['x Cal:start']))994 && isset($this->items[0]->additionalElements['xcal:dtstart'])) 995 995 { 996 $feed.= " xmlns:x Cal=\"urn:ietf:params:xml:ns:xcal\"\n";996 $feed.= " xmlns:xcal=\"urn:ietf:params:xml:ns:xcal\"\n"; 997 997 } 998 998 $feed.= ">\n"; trunk/midcom/net.nemein.calendar/style/feeds-item.php
r11992 r12046 21 21 22 22 // Add xCal data to item 23 $item->additionalElements['x Cal:start'] = gmdate('Ymd\THis\Z', $data['event']->start);24 $item->additionalElements['x Cal:end'] = gmdate('Ymd\THis\Z', $data['event']->end);23 $item->additionalElements['xcal:dtstart'] = gmdate('Ymd\THis\Z', $data['event']->start); 24 $item->additionalElements['xcal:dtend'] = gmdate('Ymd\THis\Z', $data['event']->end); 25 25 26 26 $item->guid = $_MIDCOM->permalinks->create_permalink($data['event']->guid);
