Add FIXME comments to remember to encode/decode important data about a
happening in ActivityStreams format
This commit is contained in:
parent
a0ed80a5d8
commit
2998033816
@ -180,6 +180,7 @@ class EventPlugin extends MicroappPlugin
|
|||||||
|
|
||||||
switch ($activity->verb) {
|
switch ($activity->verb) {
|
||||||
case ActivityVerb::POST:
|
case ActivityVerb::POST:
|
||||||
|
// FIXME: get startTime, endTime, location and URL
|
||||||
$notice = Happening::saveNew($actor,
|
$notice = Happening::saveNew($actor,
|
||||||
$start_time,
|
$start_time,
|
||||||
$end_time,
|
$end_time,
|
||||||
@ -261,6 +262,9 @@ class EventPlugin extends MicroappPlugin
|
|||||||
array('xmlns' => 'urn:ietf:params:xml:ns:xcal'),
|
array('xmlns' => 'urn:ietf:params:xml:ns:xcal'),
|
||||||
common_date_iso8601($happening->end_time));
|
common_date_iso8601($happening->end_time));
|
||||||
|
|
||||||
|
// FIXME: add location
|
||||||
|
// FIXME: add URL
|
||||||
|
|
||||||
// XXX: probably need other stuff here
|
// XXX: probably need other stuff here
|
||||||
|
|
||||||
return $obj;
|
return $obj;
|
||||||
|
Loading…
Reference in New Issue
Block a user