3
1
Back

Defined elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Robot Hugs $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags textified. If(ADD_IDS){ $article = $this->alt_textify($article); if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // Gunnerkrigg Court elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] .= "Bonus comic:" . $aftercomic . ""; $img_tag = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // XKCD (alt tags.

New Pull Request