3
1
Back

3d0ca7fdf6e2ad8d7864221e585c668e46544055 Update README.md 2015-02-23 04:37:33 -08:00 It's really just a borked RSS feed elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } function init($host) { * Inserts text captions from any image with an alt or title tag. Function alt_textify($article, $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Softer World (alt tags we don't need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(

New Pull Request