3
1
Back

Sep 17 00:00:00 2001 Subject: [PATCH] Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // } elseif (strpos($title_text, $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Poly In Pictures elseif (strpos($article['link'], 'qwantz.com/index.php?comic.

New Pull Request