3
1
Back

$n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } //Sites that provide images and just need alt tags if both exist Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
Alt: $alt_text
"; } } Dead Philosophers elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry){ $article['content.

New Pull Request