3
1
Back

Diode, DO-35"/> getAttribute('title')) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } // Scenes From A Multiverse (to get alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { // Poorly Drawn Lines elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Doghouse Diaries, which has broken alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { //also append the blarg.

New Pull Request