Provide a feed of all of a user's content activity (nodes & comments)

Events happening in the community are now at Drupal community events on www.drupal.org.
garbanzito's picture

I propose a module that provides an RSS feed of nodes and comments authored by any given user. The feed is available when viewing a user's profile:

The feed orders nodes and comments correctly and respects the admin/content/rss-publishing settings.

I think the module should provide an admin interface for selecting what content types to publish via RSS. It would then produce a feed of nodes of those types plus comments on nodes of those types.

In my research, I have not found a module that provides this kind of feed, and I don't think I can construct a view for it.

Does this sound useful?

Comments

Views

michelle's picture

You can do it with two views, one for nodes, one for comments. Or use the nodecomment module for your comments and then it can be done in one.

Michelle

Thanks for the suggestions,

garbanzito's picture

Thanks for the suggestions, Michelle.

I'd like to make this feature available on sites not using nodecomment.

As far as doing it with two views, is there a way to intersort the results of two views by post/comment date and provide the result as a single feed?

I don't think there's a way

Garrett Albright's picture

I don't think there's a way to do it purely in Views. Your module could load the results of the two separate views and then combine the resultant items, but that's kind of ugly. You could also use Aggregator to combine the two feeds into one without writing any code, but that's both ugly and lazy.

I know there's various user activity tracker modules out there, though. Even if none of them currently provide an RSS feed, it may be easier and more beneficial to simply hack those to spit out a feed than to start fresh - you may be reinventing a wheel or two.

At least the Activity module

smk-ka's picture

At least the Activity module states:

The Activity module keeps track of the things people do on your site and provides mini-feeds of these activities in blocks, in a specialized table, and via RSS.

-Stefan

Merging two views results

smk-ka's picture

Merging two views results would be done using a UNION SELECT in pure SQL. A quick search with the right keywords revealed Views Union, but this module seems to be in need of love (no D6 release). Unless you are a programmer, there seems to be no out-of-the-box solution, I'm afraid.

-Stefan

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: