[ckan-dev] RFC: Activity streams on-site and email notifications

Sean Hammond sean.hammond at okfn.org
Tue Oct 23 12:04:21 UTC 2012


Thanks Salman, yes we've had a ticket to make CKAN conform to the
activity streams standard for a while but it's not a high priority. We
weren't aware of the standard when we implemented activity streams in
CKAN, we discovered it afterwards, but our implementation was quite
close to the standard so I don't think it'd be too hard to make it
conform.

On Mon, Oct 22, 2012 at 10:46:55AM -0400, Haq, Salman wrote:
> I suspect you may already be familiar with these links, but would like to
> share them anyway:
> 
> http://smiy.sourceforge.net/ao/spec/associationontology.html
> 
> 
> http://activitystrea.ms/specs/
> 
> 
> These may help with data modeling.
> 
> Best,
> Salman
> 
> On 10/22/12 10:29 AM, "Sean Hammond" <sean.hammond at okfn.org> wrote:
> 
> >We have two tickets for pdeu, to implement on-site notification of new
> >activity in your activity stream (i.e. a number in the corner of the
> >site that tells you how many new activities you have) and to implement
> >email notifications of new activities.
> >
> >I plan to start implementing these soon and I've put some implementation
> >notes here:
> >
> >https://github.com/okfn/ckan/wiki/Spec:-Activity-Stream-Notifications
> >
> >Comments welcome.
> >
> >For the on-site notification, we need to add the concept of "seen" and
> >"unseen" activities to the model on a per-user basis. My idea is to add
> >a datetime column to the user table which records the last time they saw
> >their activity stream, and count any activities newer than that as
> >unseen.
> >
> >For the email notification the plan is to add an "unsent notifications"
> >table to the database and add a notifier job that runs periodically and
> >consumes rows from this table, sending them as emails (this is from an
> >older spec for the same feature).
> >
> >_______________________________________________
> >ckan-dev mailing list
> >ckan-dev at lists.okfn.org
> >http://lists.okfn.org/mailman/listinfo/ckan-dev
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev




More information about the ckan-dev mailing list