3
1
Back

Export // Something Positive elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // SatW // SatW elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users) 2015-03-02 17:38:43 -08:00 } $article = $this->alt_textify($article); $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
ID: " . $article['id']; } return $article; } /* replace '//' or '/./' or '/foo/../' with '/' */ } function hook_render_article($article) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Three Panel Soul // Three.

New Pull Request