X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/032dc6cebadb1bc3e1647dff131a1e99c53019ff..7097a8ad2ef040bc81a8c5f7ed7cc02e0073eaab:/tweeper.php?ds=inline diff --git a/tweeper.php b/tweeper.php index 2444a39..efc0fd6 100644 --- a/tweeper.php +++ b/tweeper.php @@ -257,6 +257,11 @@ class Tweeper { return NULL; } + $preprocess_html_host_method = 'preprocess_html_' . str_replace(".", "_", $host); + if (method_exists($this, $preprocess_html_host_method)) { + $html = call_user_func_array(array($this, $preprocess_html_host_method), array($html)); + } + $xmlDoc = $this->html_to_xml($html, $host); if (NULL === $xmlDoc) { return NULL;