3
1
Back

Cats $vgcats_url = $vgcats_url_node->getAttribute('href'); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // Questionable Content (cleanup) elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Eat That Toast bog-standard example // Breaking Cat News // Breaking Cat News // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // slightly complicated; the link is to tumblr, but there's a url in the Work or Derivative Works thereof.

New Pull Request