3
1
Back

$host->add_hook($host::HOOK_ARTICLE_FILTER, $this); // Joy of Tech elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ function get_img_tags($xpath, $query, $article, $base_url=NULL) { /* absolute URL is ready! */ return $scheme . '://' . $abs; } From 2cddc4d62d38c9e1b69839f92a19e7915eecbceb Mon Sep 17 00:00:00.

New Pull Request