3
1
Back

$alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } else { return $rel; } if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if (preg_match("@.*(alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debugging'] as $msg) { if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "
ID: " . $article['id']; $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); function mangle_article($article) { Added.

New Pull Request