3
1
Back

Bytes elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Joy of Tech elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Assorted updates elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
$orig_content
"; } // Wondermark (alt tag already present elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $article['content'] .= "

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

"; } } // Scenes From A Multiverse (to get alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Awkward Zombie elseif (strpos($article['link.

New Pull Request