feedapi_refresh($node, $destination_path = NULL)Refresh a feed node (= run enabled processors on it).
$node A node object with a $node->feed object.
$destination_path If a destination path is given, function redirects to this destination.
contributions/feedapi/feedapi.module, line 890
<?php
function feedapi_refresh($node, $destination_path = NULL) {
feedapi_invoke('refresh', $node->feed, FALSE);
if ($destination_path) {
drupal_goto($destination_path);
}
else {
drupal_goto('node/'. $node->nid);
}
}
?>