3
1
Back

From bugfix/v1.1 into main Reviewed-on: https://gitea.circuitlocution.com/synth_mages/MK_VCO/pulls/5 Merge pull request 'new_footprints' (#5) from new_footprints into main 26b0f01955 Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text Added The Trenches; yet more code style tweaking Gunnerkrigg and cleanup of alt-tag-only sites // Gunnerkrigg Court elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // PhD Unknown elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $article['content'] = $img; } $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Dead Philosophers elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img.

New Pull Request