call_hooks('atom_feed_end', $atom);
$atom .= '</feed>' . "\r\n";
+
return $atom;
}
$res['target'] .= '</target>' . "\n";
}
- call_hooks('parse_atom', array('feed' => $feed, 'item' => $item, 'result' => $res));
+ $arr = array('feed' => $feed, 'item' => $item, 'result' => $res);
+
+ call_hooks('parse_atom', $arr);
return $res;
}