Hello,
I'm trying to use the Feeds Xpath Parser module together with the Feeds module. I am trying to create nodes from Flickr images. Now the xml output for Flickr images only include the image ID, not the image urls (which I need to save in the emfield cck field to render Flickr image references.)
Now I was thinking: is it possible to add a prefix (a url) to a string that gets parsed from the xml file?
As an alternative I could save just the ID and then render it through the theme layer. But I rather get it correct before saving the node.
Thanks in advance!
Cheers,
Danny
Comments
Comment #1
Anonymous (not verified) commentedTry CCK: embedded media fields and media_image_flotsam.
Maybe that solves your issue.
Comment #2
danny_joris commentedThanks, Martin. I'll try it when I get xPath parser working again. #908458: warning: mysql_real_escape_string()
Comment #3
twistor commentedThis can be done using Feeds Tamper and the rewrite plugin.
Comment #4
twistor commentedthis can be done in the dev version now that XPath string functions are supported.
example: concat('http://flicker.com/images/', emlement_you_want/text())
see http://www.w3.org/TR/xpath/#section-String-Functions
Comment #6
summit commentedHi, This is great info! Greetings, Martijn