Quantcast
Channel: Using Rules after importing an item using Feeds to set a custom field value - Drupal Answers
Viewing all articles
Browse latest Browse all 2

Using Rules after importing an item using Feeds to set a custom field value

0
0

I need a bit of help with Feeds and Rules. I have a Feed Importer that uses XPATH to parse websites for Titles and creates nodes in a custom content type. I've added a field (Field_Source) to the content type. What I'd like to do is create a rule to copy the Feed URL value into the Field_Source. I have a new rule that acts on After importing Feed but I'm not able to get access to the fields in the Node.

If I change the Event to Before saving an item imported by Feeds, I can get access to the node:field_source but not the Feeds URL.

SOLVED: It was much easier than this: I just added a relationship in Views to the Feed Item and was able to use the source URL.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images