Rules Feeds
Categories
Component ID
1960618
Component name
Rules Feeds
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
There are many use cases where Feeds framework is quite unusable because of it's inflexibility. Sometime it is needed to use more difficult logic while loading remote datas. Why not to use Rules to fetch, parse and process datas?
This module should provide:
- Rules Feeds fetcher loader - Rules action plugin, can load any Feeds fetcher plugin, you give URL, it returns raw fetched text
- Rules Feeds parser loader, Rules action plugin, can load any Feeds parser plugin, you give raw text (JSON, ...), it returns Rules list of lists (array)
So you can for example:
- Generate URL as derivate of another datas with special parameters, fetch and parse JSON feed, find there reference to another entity and load it on another URL
- On change of local entity you can update remote entity (over foreign REST API), wait for response and eventually deny local entity saving with graceful error message
- ... and many, many more
Feel free to brainstorm in the issue queue or on Twitter with #DrupalRulesFeeds hashtag.
This project is just concept with no working code!