Allow dataDelimiter to be specified per feed? #1019
Unanswered
jamesmacwhite
asked this question in
Ideas
Replies: 1 comment
-
Partially related: #575 |
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
-
Description
I have a requirement for a certain feed the way it presents multiple values for a field to be parsed with a specific delimiter, however I'm not sure it is currently possible to do this. I ended up forking FeedMe and applying a "fix" (or hack) potentially depending on how bad it is.
In
config/feed-me.php
nottinghamcollege@0bac80c (this will be outdated compared to the current release.
The issue I have is data in a feed is represented like this:
I cannot influence the XML schema of the feed itself but I'm aware this is not an ideal representation and should be ideally in an array type format.
So in order for all these values to be added to a Category field, I use the dataDelimiter functionality, but need to make sure it only runs on this specific feed, otherwise it is going to apply way too wide and break other feeds, so my code change on my fork basically makes it look at the feedID when using the dataDelimiter feature.
Is there a better way to do this? I'd rather use the upstream release of this plugin of course.
Beta Was this translation helpful? Give feedback.
All reactions