3
1
Back

Know) elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Achewood (alt tag) // Pain Train (to get alt tags if both exist Updated LICD, alter alt-textify to handle both title and alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread achewood, gwss fix, fix for when invisible bread has no bread $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // there's both alt and title texts, they're both different, use both. } elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { //also get blog entry $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } // Girls.

New Pull Request