3
1
Back

$article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = $matches[1]; // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= "

Bonus comic:
" . $aftercomic . "

"; // Wondermark (alt tag already present foreach($imgs as $img){ // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Doghouse Diaries, which has broken alt tags elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Poly In Pictures } // Eat That Toast elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $article['content'] .= "
Alt: .

New Pull Request