3
1
Back

Title tag. Function alt_textify($article, $doc = new DOMXPath($doc); return $xpath; } function mangle_article($article) { // Joy of Tech elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } // Cyanide & Happiness elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // not a comic, just a quick and dirty content rewriting engine.

New Pull Request