$location = $location_object->item(0)->nodeValue;
}
+ // url is optional
+ $url = null;
+ $url_object = $happeningObj->element->getElementsByTagName('url');
+ if($url_object->length > 0) {
+ $url = $url_object->item(0)->nodeValue;
+ }
+
$notice = null;
switch ($activity->verb) {
$happeningObj->title,
$location,
$happeningObj->summary,
- null,
+ $url,
$options);
break;
case RSVP::POSITIVE:
common_date_iso8601($happening->end_time));
$obj->extra[] = array('location', false, $happening->location);
+ $obj->extra[] = array('url', false, $happening->url);
- // FIXME: add URL
// XXX: probably need other stuff here
return $obj;