3
1
Back

{ $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } /* absolute URL is ready! */ return $scheme . '://' . $abs; if (preg_match("@.*(getAttribute('title') . ""; } //noop elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img.

New Pull Request