3
1
Back

Build notes GitHub repository https://github.com/holmesrichards/precadsr Submodules git clone git@gitlab.com:rsholmes/precadsr.git git submodule init git submodule update ``` ``` git clone --recurse-submodules git@gitlab.com:rsholmes/precadsr.git $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $img_tag . $article['content']; } Various updates, additions 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 elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $img; } $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); } // Two Lumps elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Girls with Slingshots * Three Panel Soul elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Three Panel Soul // Three.

New Pull Request