Love the module. How difficult would it be to allow activity streams for nodes of a node type? The nodes would would have view, edit, clone (if installed), and Activity Stream tabs when viewing or editing?

Thoughts?

--
J.

CommentFileSizeAuthor
#7 activitystream-node_base-522044-7.patch9.35 KBbverc

Comments

akalsey’s picture

I don't understand what you're looking for. Could you explain a little further?

keesee’s picture

Sure. Thanks for the response. currently the module works by attaching or associating activity nodes to users. User creates an account and the has the activity stream tab available when editing the user profile. I'd like to be able to attach activities to nodes. The example that comes to mind is a business directory where businesses are nodes. each node would have an activity stream tab where activities are associated with a node rather than a user. Musicians, or artists can be another example if they are maintained by the website and not by registering users. When you edit the node you are given the ability to added activity stream information for a new node that you create.

Thus activity stream would take advantage of the node api aswell as the user api like it does now.

Thoughts?

akalsey’s picture

I like the idea. Here's how I was thinking I'd implement it.

Add a setting to Activity Stream that allowed you to select a list of content types. The same subtab that appears on user/edit would appear on nodes of that content type, too.

One wrinkle is that to help prevent abandoned user accounts from sucking resources, user streams stop updating if a user stops logging in. I'm not sure how that would work with nodes. Would that feature not be implemented for nodes?

akalsey’s picture

Title: Node SUpport » Node Support
Status: Active » Postponed

I think this is a feature for the next major release.

akalsey’s picture

Title: Node Support » Use Nodes as base for Activity Streams
bverc’s picture

I know this issue is a year old, but I too am really interested in this feature.
By next major release did you mean the 2.x version or a 3.x version?

I was planning on attempting to develop this feature myself before I found this issue. If I have any luck, will share what I have. I do not want to reinvent the wheel if this is already in the development pipeline however.

bverc’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta2
Status: Postponed » Needs work
StatusFileSize
new9.35 KB

I made some progress with this, and it's about 50% done. I've included it a patch as I'm unlikely to continue working on it. So if someone else wants to finish it they may.

talatnat’s picture

I was looking for this functionality and came across this thread. It would make a great addition to AS. +1, subscribing.

keesee’s picture

Wow... Love it when an old thread bares fruit. I'm not using this at the moment, but plan to test soon. thanks robotat.