3
1
Back

89.75; // these are some setup variables... You probably won't need to call out for) elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // Achewood (alt tag) // Achewood (alt tag) elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Drugs and Wires elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Berkeley Mews // $img_tag = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Poorly Drawn.

New Pull Request