Lee
Lee

Reputation: 5936

Activity stream object structure

I am trying to understand the concepts behind the activity stream specification, specificity using the Django:

I have the following components:

As I understand it one of the following should be the correct way to structure the data, but I am unsure which.

 - Actor (Medal)
 - Verb (awarded to)
 - Action Object (User)

Example: 2014 medal awarded to Lee

OR

 - Actor (User)
 - Verb (was awarded)
 - Action Object (Medal)

Example: Lee was awarded 2014 medal

Additional question How would targets work into this data set?

Thanks in advance,

Upvotes: 2

Views: 144

Answers (1)

Craig Blaszczyk
Craig Blaszczyk

Reputation: 972

I think you need something like this

Lee (actor) was awarded (verb) the medal (action object)

This form might be more useful for you to use in Action Streams, which let you "follow" things that Lee does/are done to him

Upvotes: 2

Related Questions