3
1
Back

Diaries rss: spaces in img src and quotes in alt/title text Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Awkward Zombie $orig_content = strip_tags($article['content']); // Awkward Zombie // Awkward Zombie elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { elseif (strpos($article['link'], 'campcomic.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[@id='comic-1']//img", $article); // Order of the terms of any necessary.

New Pull Request