3
1
Back

Not licensed at all. For example, if you feel like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function api_version() { return $article; } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { } //Sites that provide images and just need alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Dead Philosophers elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Joy of Tech elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $img_tag . $article['content']; } // Jesus .

New Pull Request