3
1
Back

Size=9, halign="center", font="Futura XBlk BT:style=Extra Black") { // Camp Weedonwantcha elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { //noop elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // And get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } if(ADD_IDS){ $article['content'] .= $aftercomic; } } Invisible Bread, Softer World (alt tags we don't need to call out for foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . "

New Pull Request