Closed (fixed)
Project:
FeedAPI
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2007 at 19:02 UTC
Updated:
22 Aug 2008 at 07:29 UTC
Look at:
_feedapi_inherit_locate_feedapi_item()
in feedapi_inherit.module
This function tries to pull information about a previous processing stage (node object produced by feedapi_item or similar) on the next stage. It does this by looking for the node being produced by feedapi_item in the database. As we don't have the means to pass on the result of one processing stage to the next one, we end up producing code like this.
What about handing down the results from stage to stage in an array like:
$results = array(
'parser_simplepie' => .... ,
'feedapi_item' => $node,
...,
);
I am just not sure wether we should pass all information available about the feed through all processing stages or only the information about the current item being processed.
Comments
Comment #1
aron novakfeedapi_inherit uses nodeapi now.
Comment #2
aron novak