]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add FIXME comments to remember to encode/decode important data about a
authorEvan Prodromou <evan@status.net>
Sat, 2 Jul 2011 03:06:16 +0000 (23:06 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 2 Jul 2011 03:06:16 +0000 (23:06 -0400)
happening in ActivityStreams format

plugins/Event/EventPlugin.php

index a341c80732fc38919c8407109e7c93e36c998b3f..98a7d895ed0db3f2a289c186c90b7edec2cb7d12 100644 (file)
@@ -180,6 +180,7 @@ class EventPlugin extends MicroappPlugin
 
         switch ($activity->verb) {
         case ActivityVerb::POST:
+               // FIXME: get startTime, endTime, location and URL
             $notice = Happening::saveNew($actor,
                                          $start_time,
                                          $end_time,
@@ -261,6 +262,9 @@ class EventPlugin extends MicroappPlugin
                               array('xmlns' => 'urn:ietf:params:xml:ns:xcal'),
                               common_date_iso8601($happening->end_time));
 
+               // FIXME: add location
+               // FIXME: add URL
+               
         // XXX: probably need other stuff here
 
         return $obj;