I posted this in 'feeds tamper' module as well...

I am looking for a way to set the source field to a token within the URL of the feed. ie, my URL for an import looks like this: siteName/import/runsheets/[nid] where [nid] comes from the parent node of the nodes being imported by the feed. So I have a bunch of child nodes being imported which have a node reference field that needs to default to the [nid] in the URL.

feeds tamper has a rewrite function that would allow me to change the source value to one of the other fields within the CSV import file, but NOT the [nid] token from the URL.

any ideas? thanks in advance

Comments

bluegeek9’s picture

Component: Feeds Import » Code
Issue summary: View changes
Status: Active » Closed (outdated)
//www.flaticon.com/free-icons/thank-you Thank you for your contribution!

Unfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.