Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2011 at 21:53 UTC
Updated:
8 May 2014 at 13:20 UTC
Jump to comment: Most recent
Comments
Comment #1
hampshire commentedCan it not be done? Is anyone doing something like this?
Comment #2
Jason Dean commentedI'd be really interested to know this too :)
Comment #3
OldAccount commentedMarking as duplicate of #1005128: Rules integration & enable modules to customize imports.
Comment #4
tuccio commentedWhat's being asked here is an action to trigger a Feeds import. It does not appear to me that the other thread is discussing the same issue. I need an action component that initiates a Feeds import possibly passing parameters such as the file to be imported and other settings. Or am I missing something?
Comment #5
tuccio commentedsorry for the duplicate post
Comment #6
timb commentedI would also like to know how to do this. I currently have a feed in a standalone form that I would like to be able to configure and fire with rules.
Comment #7
tuccio commentedHi, I think I am now able to fire an import from Rules with some php code. I followed this tutorial: http://nodesforbreakfast.com/article/2012/09/23/programmatically-execute...
Comment #8
clemens.tolboomFollowing along https://drupal.org/node/622700 "Programmatic operations" and to extend this to rules enable PHP Input filter and create a new PHP action component with 2 or 3 arguments $type, $title and $uri containing this snippet
Now you can use this action component for your rules to trigger imports.
Comment #9
clemens.tolboomI've added #8 to the developer documentation https://drupal.org/node/622700.
Please edit over there your experiences ;)