Hello! On Thu, Jun 26, 2008 at 2:29 PM, Marius Dumitru Florea < [email protected]> wrote:
Maybe this http://tinyurl.com/3hzmjd can help. It's the ActivityStream implementation for Curriki. It uses the Notification System. Take a look.
Thanks. I took a quick look, and I saw that the code there seems to be trying to guess which is the event by inspecting the objects and properties of the documents, is that right? If it is like that, why is the "event" int parameter there anyway? I thought it was his "job" to inform this.... if he always come with the same value it looks a bit weird. Anyway, I'm guessing the interface was thought this way to allow this implementation in the future, but currently is not implemented... is it so? In this case, I might use the same "guessing techniques" shown there in my code too. Thank you! -- Tiago Rinck Caveden http://caveden.multiply.com