Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2011 at 23:16 UTC
Updated:
19 Oct 2012 at 10:51 UTC
Can I map a constant value to a custom field? Every import will use a different value so I can not use a default filed value as referenced in another topic. I could easily add the value as a URL variable if feeds is able to read.
Comments
Comment #1
Countzero commentedAFAIK, you can specify a constant value in your mappings inside quotes. For example, I have an image mapping which goes like that :
... because the original XML tag only contains the filenames and not the full URL.
Hope it helps.
Comment #2
dooug commentedTry using the plugins provided by Feeds_tamper. You could set a custom default value for a mapper element. Would that solve your problem ?
Comment #3
twistor commentedClosing old issues. Feel free to reopen.