Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If there were a FeedsMessageProcessor, it would be possible to use the Message module as the basis for a leaner ActivityStream or syndicating user activities across a multi-site installation.
Comments
Comment #1
amitaibuCan you explain the workflow of this?
Comment #2
Grayside CreditAttribution: Grayside commentedA Feeds Processor plugin for Message would look vaguely like the Taxonomy Processor.
Additional pieces I missed before thinking this through further--a Message Argument Mapper and a Message Feeds Source Realm plugin.
Here's what I imagine the backbone of an ActivityStream-like use case to be:
To truly match ActivityStream, you would also want Feeds to have a user-friendly interface for users to sign up for a Feed via their account page. IIRC, the current options are to be a Feeds administrator or create a node.
Is this any clearer?
Comment #3
amitaibuhardcore!
I've haven't used feeds yet, but it sounds interesting. I'll tell also fago about it, as he helps with the D7 port + has usually good ideas about everything/ web-services :)
Comment #4
fagomakes much sense, with d7 feeds processors are very entity centric anyway so that shouldn't be hard in d7 as messages are entities too. I guess then that all could easily go into a feature too.
Integrating http://activitystrea.ms/ streams would be neat too.
For collecting activity streams of multiple drupal (7) sites, I plan to use rules web hooks which is not ready for prime-time yet.
Comment #5
Grayside CreditAttribution: Grayside commentedI'm working through the creation of an initial processor. I haven't looked at Entities or the new DB layer yet, so it's a bit slow going.
I'm having a little trouble understanding what's become of Realms and how to play with this, an update to the example module (in the 7.x branch but still 6.x code) would be helpful.
Comment #6
fagoFor 7.x have a look at #1033202: [Meta] Generic entity processor, which should do it for messages too.
Comment #7
Grayside CreditAttribution: Grayside commentedI looked over there, and that is clearly the right approach to take for Message. As I posted though, it doesn't seem to work for me.
Comment #8
bluegeek9 CreditAttribution: bluegeek9 as a volunteer commented