3
1
Back

_comics extends Plugin { function rel2abs($rel, $base) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] = $matches[1]; $img = $matches[1]; } } // Poorly Drawn Lines elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { //also get the blog //also get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $article['content'] .= "
Alt: $alt_text
"; } } $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tags textified. $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
ID.

New Pull Request