function feedapi_refresh in FeedAPI 5
Same name and namespace in other branches
- 6 feedapi.module \feedapi_refresh()
Refresh a feed node (= run enabled processors on it).
Parameters
$node: A node object with a $node->feed object.
$destination_path: If a destination path is given, function redirects to this destination.
1 string reference to 'feedapi_refresh'
- feedapi_menu in ./
feedapi.module - Implementation of hook_menu().
File
- ./
feedapi.module, line 872 - Handle the submodules (for feed and item processing) Provide a basic management of feeds
Code
function feedapi_refresh($node, $destination_path = NULL) {
feedapi_invoke('refresh', $node->feed, FALSE);
if ($destination_path) {
drupal_goto($destination_path);
}
}