3
1
Back

""; } } Clean up code formatting; added a few comics; standardized appending alt/title text //also get the blog //also get the blog $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } return $article; } function about() { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Girls with Slingshots * Three Panel Soul * Scenes From A Multiverse Least.

New Pull Request