natgeo/modules-activitystream — pull request #10 by mmontenegro (2014-07-25 16:17:20+00:00)
Title: [MIE-1290 ] Generic template

Ticket: https://jira.nationalgeographic.com/browse/MIE-1290

To use the generic template you should provide a context with the following format:

```javascript
object = {
type: 'article', // 'photo',
url: 'http://objecttype.yoursite.com/object_id/1',
display_name: 'Lorem ipsum',
app: {
url: 'http://objecttype.yoursite.com',
display_name: 'My app'
},
image: {
'url_small': 'http://objecttype.yoursite.com/object_id/1/image/small.jpg',
'url_medium': 'http://objecttype.yoursite.com/object_id/1/image/medium.jpg',
'url_large': 'http://objecttype.yoursite.com/object_id/1/image/large.jpg'
},
counts: {
comments: 0,
favorites: 0
}
}

actor = {
display_name: 'Roger Waters',
url: 'http://members.yoursite.com/user_id/1'
}

verb = {
type: 'FOLLOWED', // or 'UPLOADED', etc.
image: {
url: 'http://yoursite.com/assets/icon-followed.jpg'
},
}
```