[CORE] Plugin API now extends a new Module API
This commit is contained in:
@@ -259,13 +259,13 @@ class Happening extends Managed_DataObject
|
||||
|
||||
/* We don't use these ourselves, but we add them to be nice RSS/XML citizens */
|
||||
$actobj->extra[] = array('startdate',
|
||||
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
|
||||
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
|
||||
common_date_iso8601($this->start_time));
|
||||
$actobj->extra[] = array('enddate',
|
||||
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
|
||||
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
|
||||
common_date_iso8601($this->end_time));
|
||||
$actobj->extra[] = array('location',
|
||||
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
|
||||
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
|
||||
$this->location);
|
||||
|
||||
return $actobj;
|
||||
|
Reference in New Issue
Block a user