streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Franklin <m.ben.frank...@gmail.com>
Subject Re: Activity Verb/Object Question
Date Fri, 28 Feb 2014 00:32:09 GMT
On Thu, Feb 27, 2014 at 6:15 PM, Danny Sullivan <dsullivan7@hotmail.com>wrote:

> Hey Ryan,
> That's a good question, I've thought a little bit about single activities
> that are referring to multiple objects. There's no real place for it in the
> schema as it stands (at least as far as I can tell), but to compensate my
> team has decided to have two separate activities in such a scenario. It
> would be one for each video in your case.
>

The activity streams team has put some thought into this.  I recommend
Streams leverage the following vocabulary and add additional (documented)
constraints as necessary:

https://github.com/activitystreams/activity-schema/blob/master/activity-schema.md


> I haven't put that much emphasis on verbs, but I would say whether they
> are "posted" or "shared" is not too important as long as what's being
> displayed to the consumer makes sense. I may be misinterpreting the schema,
> but that's my understanding.
> Hope that helps!
> Danny
>
> > Date: Thu, 27 Feb 2014 13:33:10 -0600
> > Subject: Activity Verb/Object Question
> > From: ryanebanks@gmail.com
> > To: dev@streams.incubator.apache.org
> >
> > I am having trouble understanding the proper way to convert internet
> > actions to activities based on the documentation.  Below I have written
> an
> > example and would like some feed back please.
> >
> > If I have twitter post from "user1", and in this post user1 writes "Hey,
> > checkout these two funny videos. www.video1.com  www.video2.com".  When
> > this twitter post is converted to an activity object, according to the
> > specifications/documentation, what is the proper output?
> >
> > 1.) It gets converted to only a single Activity 'Post' object.
> >
> > 2.) It gets converted to only a single Activity 'Share' object.
> >
> > 3.) It gets converted to two Activity 'Share' objects, one for each link.
> >
> > 4.) It gets converted to one Activity 'Post' object because its a twitter
> > post and one Activity 'Share' object.
> >
> > 5. It gets converted to one Activity 'Post' object and two Activity
> 'Share'
> > objects.
> >
> > 6.) None of the above, it should be converted to __________________.
> >
> >
> > Also, I would like to suggest that we set an Apache Streams Users
> > list/forum to post these type of questions in, so we don't have to email
> > the Dev list.
> >
> > Thanks,
> >
> > Ryan Ebanks
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message