First off, great module and fantastic support of it.

Reading the Filters documentation but unable to find how to refer to another field or xpath. What I would like to do is take one field (fname) and concatenate with another field (lname) to create content for a third (name). What is the syntax or variable for the other fields to put in the Params field of the UI?

Comments

Sorin Sarca’s picture

field = fname | lname
(maybe you must swap places: lname | fname)

and filters use ::join for filter, with two params: [field] and a space as glue string (on the next line).

aniebel’s picture

Great! I didn't realize I could put both xpaths into one field. The space, however, doesn't seem to be recognized. My Param is [field] on the first line and a space on the next line below. Did I understand correctly?

To be clear, it's joining the two fields together without a space.

Am loving this module now that I can see how much it can do!

Sorin Sarca’s picture

Yes there is minor bug which I forgot to fix. If you are using 2.7 release you can fix it by commenting (prepend //) line 1654 from feed_import.module file.
This one: http://drupalcode.org/project/feed_import.git/blob/38d3e6a5a9326267b3a04...

Now you will be able to save spaces in filters.

However, I would recommend you to use 3.x version (will be released in 1 week, when documentation is ready) because 2.x will not be compatible with 3.x (there is a solution but is not so simple).
Also, I need some feedback to fix bugs if any :)

aniebel’s picture

Ok, I am happy to provide feedback. I assume there will be update information since I already have 2.7 installed?

Sorin Sarca’s picture

There will be a tutorial on how to upgrade from 2 to 3.

aniebel’s picture

Yes, that worked! I had already updated to 3.x dev version but that still fixed. Looking forward to testing the new stuff!

Sorin Sarca’s picture

Status: Active » Closed (works as designed)