3
1
Back

"//figure[@class='photo-hires-item']//img", $article); } // there's an arrow shaped cutout in the post that we want $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); if ($bread) { $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( $html, $content_type); } function mangle_article($article) { // only keep everything starting at the first if(preg_match("@.*(get_xpath_dealie($article['link']); // elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags textified. //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'somethingpositive.net') .

New Pull Request