3
1
Back

424 lines $alt_element = $doc->createElement("i", $alt_text); } elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // Eat That Toast bog-standard example elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // only keep everything starting at the first $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } // Two Lumps // Breaking Cat News $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tags textified. } //Sites that provide images and just need alt tags in feedburner (if there are quotes) // Doghouse Diaries, which has broken alt tags elseif (strpos($article['link'], 'polyinpictures.com/comic.

New Pull Request