3
1
Back

Textified. Function rel2abs($rel, $base) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Scenes From A Multiverse (to get alt tags) } // Camp Weedonwantcha elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $doc = 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, '(//div[@class="container"]//center//img)', $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Invisible Bread (make the bread visible if.

New Pull Request