3
1
Back

// these are some setup variables... You probably won't need to call out for foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] = $img_tag . $article['content']; } // CTRL+ALT+DEL elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Two Lumps elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $title_text.

New Pull Request