URLs", "GoneWacko"); } function init($host) { $this->host = $host; $host->add_hook($host::HOOK_SUBSCRIBE_FEED, $this); } function hook_subscribe_feed($contents, $url, $auth_login, $auth_pass) { if (preg_match("/youtube\.com\/channel\/(UC.*)$/", $url, $matches) === 1) { $channel_id = $matches[1]; $contents = "
"; } return $contents; } function api_version() { return 2; } } ?>