Closed (fixed)
Project:
FeedAPI
Version:
6.x-1.6
Component:
Code feedapi_node
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 May 2009 at 23:38 UTC
Updated:
18 Aug 2009 at 09:25 UTC
Hello,
I'm trying to build a module. The module has a nid, this nid represents a feed.
What I would like to do is to refresh the feed (and create new nodes if any present in the feed) based on that nid.
Much like this snippet does when going to the alias
$items['node/%node/refresh'] = array(
'title' => 'Refresh',
'page callback' => 'feedapi_refresh',
'page arguments' => array(1),
'type' => MENU_LOCAL_TASK,
'access callback' => '_feedapi_op_access',
'access arguments' => array(1),
);
In other words: I'd like to check if there are new items in the feed and if there are any, I'd like to create new nodes from them. -- All based on the nid of a feed.
Hope that is clear enough. :)
Comments
Comment #1
aron novakUnclear, old ticket.
"The module has a nid"