Rudimentary support for enclosures and some fiddling

This commit is contained in:
Zach Copley
2011-02-16 18:14:58 -08:00
parent ddda31038e
commit b1675ff175
3 changed files with 63 additions and 9 deletions

View File

@@ -645,16 +645,18 @@ class ActivityObject
{
$object = array();
// TODO: attachedObjects
// XXX: attachedObjects are added by Activity
// displayName
$object['displayName'] = $this->title;
// TODO: downstreamDuplicates
// TODO: embedCode (video)
// embedCode (used for video)
// id
//
// XXX: Should we use URL here? or a crazy tag URI?
$object['id'] = $this->id;
if ($this->type == ActivityObject::PERSON