3
1
Back

$alt_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } $img->parentNode->replaceChild($new_element, $img); } function hook_render_article_cdm($article) { return $this->mangle_article($article); } function hook_render_article_cdm($article) { } //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } // Questionable Content (cleanup elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); function mangle_article($article) { if ($img->getAttribute('title')) { // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics.

New Pull Request