3
1
Back

DOMDocument(); // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Doghouse Diaries, which has broken alt tags elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } } // CTRL+ALT+DEL elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $article['content.

New Pull Request