3
1
Back

B284a71188b23f9f8c43bee1fcce2820249f4384 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fixes for CAD and sorcery101 Updated LICD, alter alt-textify to handle both title and alt tags textified. } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } if(ADD_IDS){ $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } if(ADD_IDS){ $article['content'] .= "

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

"; } } // label.

New Pull Request