3
1
Back

$xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Poly In Pictures elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } achewood, gwss fix, fix for when invisible bread has no bread Pain Train (to get alt tags if both exist elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Scenes From A Multiverse (to get alt tags if both exist Updated LICD, alter.

New Pull Request