You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by Ryan Ebanks <ry...@gmail.com> on 2014/02/27 20:33:10 UTC

Activity Verb/Object Question

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

Re: Activity Verb/Object Question

Posted by Stanton Sievers <ss...@apache.org>.
Based on the scenario you outlined and the information at the link provided
by Matt, I would vote for #5.  One *post* of a *note* for the tweet
itself.  Two *share* of *video* for the others.  Ideally the two shares
would have a *source* or *provider* pointing to the tweet. The semantics
are still a bit fuzzy for me on which of the those two verbs to use, if
they are to be used at all.

Thanks,
-Stanton




On Thu, Feb 27, 2014 at 7:32 PM, Matt Franklin <m....@gmail.com>wrote:

> 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
> >
> >
>

Re: Activity Verb/Object Question

Posted by Matt Franklin <m....@gmail.com>.
On Thu, Feb 27, 2014 at 6:15 PM, Danny Sullivan <ds...@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
>
>

RE: Activity Verb/Object Question

Posted by Danny Sullivan <ds...@hotmail.com>.
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. 
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