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

aron novak’s picture

Status: Active » Closed (fixed)

Unclear, old ticket.
"The module has a nid"