mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:15:56 +00:00
Add subscribe hook, give more information to fetch_feed hook
This commit is contained in:
@@ -1687,6 +1687,10 @@
|
||||
return array("code" => 5, "message" => $fetch_last_error);
|
||||
}
|
||||
|
||||
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_SUBSCRIBE_FEED) as $plugin) {
|
||||
$contents = $plugin->hook_subscribe_feed($contents, $url, $auth_login, $auth_pass);
|
||||
}
|
||||
|
||||
if (is_html($contents)) {
|
||||
$feedUrls = get_feeds_from_html($url, $contents);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user