Replies: 2 comments
-
I had the same requirement, because the imports are mirrored on multiple deployments of the same site. I managed to cobble something together that (mostly) works:
Logging the feed configAdd this to Event::on(Feeds::class, Feeds::EVENT_AFTER_SAVE_FEED, function(FeedEvent $event) {
Craft::info(['FeedEvent After', __METHOD__, json_encode($event->feed)]);
}); Problems with this solution
It still requires some manual work when creating the config but worked well enough, saving me from having to configure dozens of field imports each time. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this got accommodated to some extent by a paid plugin: https://github.com/litzinger/feed-me-migrations |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a feature request.
The project config workflow in Craft CMS is pretty fun. It makes life easier for developers iterating through live sites and multiple dev environments.
Currently - afaik - configuration of feeds in FeedMe is stored only in the database. Due to the power of this plugin and how it deals with sometimes quite elaborate architectures, the setup can be a bit arduous. The impact of this is felt more keenly when this setup needs to be repeated.
Would be possible to save a feed config (using YAML files like in Project config, rather than just in the DB) in a manner that could be committed to version control instead?
Beta Was this translation helpful? Give feedback.
All reactions