3
1
Back

Fix, fix for when invisiblebread has no bread elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($html); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "" . $entry->textContent . "

"; } } // Questionable Content (cleanup) elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; .

New Pull Request