On Tue, Nov 2, 2010 at 2:02 PM, Brion Vibber <br...@status.net> wrote:
> On 11/2/10 7:48 AM, Andrea Messina wrote:
>>
>> But, when i try to code the "social event": --> User X posts a photo,
>> resulting in the following piece of Atom feed, it is NOT replicated into
>> the StatusNet microblog:
>>
> [snip]
>>
>> <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
>> <activity:object>
>>
>> <activity:object-type>http://activitystrea.ms/schema/1.0/photo</activity:object-type>
>
> [snip]
>>
>> I don't understand why it isn't parsified and showed up in the correct
>> way. It SEEMS to be compliant with the ActivityStreams spec.
>
> Looks like at the moment, photo objects aren't handled on our end for
> incoming posts!
>
> The incoming Atom entries come through Ostatus_profile::processEntry() which
> currently handles article, blog entry, note, status, or comment objects as
> incoming text notices, and discards anything else.
>
> I think most of the other types should actually be reasonably ok to run
> through the default processing on a 'post' or 'share' verb, though we should
> add special handling for photos to make sure the image link gets included
> correctly.
>
> James, does that sound about right?

Sounds absolutely right! I've created an issue so I don't forget to fix it :-)

http://status.net/open-source/issues/2868

-- 
James Walker :: http://walkah.net/ :: http://james.status.net/
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to