3
1
Back

Interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query($query); $result_html = ''; function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { //also get the blog //also get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $matches[1]; } } //Sites that provide images and just need alt tags textified. //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $article['content'] .= "
ID: " . $article['id']; $article = $this->alt_textify($article); $entries.

New Pull Request