3
1
Back

Textified. } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
Alt: $alt_text
"; } } // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $article['content'] = $matches[1]; } } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { // The Oatmeal $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // SatW elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { // only keep everything starting at the.

New Pull Request