3
1
Back

!= '' || substr($rel, 0, 2) == '//') { return 2; } } foreach($imgs as $img){ $article['content'] .= "Alt: " . $img->getAttribute('title') . ""; } } // Cyanide & Happiness elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $article['content'] = $matches[1]; elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Wondermark (alt tag already present elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // Timothy Winchester (People I Know foreach ($imgs as $img) { if ($title_text.

New Pull Request