3
1
Back

With Slingshots elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Doghouse Diaries, which has broken alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites // Gunnerkrigg Court elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Joy of Tech elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath.

New Pull Request