3
1
Back

2/2] Fix for when invisible bread has no bread elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Awkward Zombie elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } if(ADD_IDS){ $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); } } // Scenes From A Multiverse (to get alt tags) } // Three Panel Soul elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Timothy Winchester (People I Know) // Timothy Winchester (People I Know) $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; if (ADD_IDS) { $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = trim($entry->getAttribute('alt')); $alt_text = $entry->getAttribute('alt'); $alt_text = $entry->getAttribute('alt'); $alt_text.

New Pull Request