3
1
Back

$article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Doghouse Diaries, which has broken alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
$orig_content
"; } // Drugs and Wires elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { // Girls with Slingshots // Girls with Slingshots elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Drugs and Wires elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) .

New Pull Request