3
1
Back

A 5-roll, a 5-roll, I think this is far simpler than this foreach ($imgs as $img) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = $matches[1]; $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; // Camp Weedonwantcha elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $article['content'] = $img_tag . $article['content']; // $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Invisible Bread, Softer World (alt tags we don't.

New Pull Request