3
1
Back

$matches)){ function get_img_tags($xpath, $query, $article) { $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Camp Weedonwantcha // Camp Weedonwantcha elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $article['content.

New Pull Request