3
1
Back

FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Girls with Slingshots elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Joy of Tech Scenes From A Multiverse (to get alt tags) } // Dilbert elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $article['id']; } return $article; } $article .

New Pull Request