Some initial media parsing

- Activity now returns a list of activity objects
- Processing of photo objects
This commit is contained in:
Zach Copley
2010-03-22 18:53:09 -07:00
parent 073e3a1572
commit b8e97ac709
8 changed files with 266 additions and 31 deletions

View File

@@ -60,7 +60,8 @@ class GroupsalmonAction extends SalmonAction
function handlePost()
{
switch ($this->act->object->type) {
// @fixme process all objects?
switch ($this->act->objects[0]->type) {
case ActivityObject::ARTICLE:
case ActivityObject::BLOGENTRY:
case ActivityObject::NOTE: