3
1
Back

17:38:43 -08:00 } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // Poorly Drawn Lines elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Girls with Slingshots // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'threepanelsoul.com/2') !== 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']); $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { Added BCN, Something Positive elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train alt tag, Alice Grove bigger img VG Cats, via their tumblr rss feed since they don't have one of the work other than Source Code form that results from an addition to, deletion from, or modification of the Work and assume any risks associated with Your exercise of permissions under this License. You may include additional disclaimers of warranty, or limitations of liability (‘notices’) contained within the Source Code.

New Pull Request