3
1
Back

: cone_indents_count]) { // Joy of Tech elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about //and sometimes necessary for old fogeys like me to get what game it's about $orig_content = strip_tags($article['content']); // Awkward Zombie $article['content'] .= "

" . $entry->textContent . "

"; } } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than having hundreds of plugins, one per feed. The file will get big.

New Pull Request