3
1
Back

Tags (making the Android client easier to use) and adjust the placement // these are some setup variables... You probably won't need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; // XKCD (alt tags we don't lose it 734cf9b18c60a281be644f29cc7855602eaad99d Fix annoyance of 2x05 IDC header triangle being so far out Fix annoyance of.

New Pull Request