3
1
Back

|| strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // SBMC elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Alice Grove bigger img elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Chainsawsuit // Poorly Drawn Lines elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] .= "

$orig_content

"; //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 $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Hole distance from the hole to go all the way through then set this to zero. ShaftLength = 0; // The Better To Find You With (http://sorcery101.net/ elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // Two Lumps elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } drugs & wires, pilotside drugs & wires, pilotside drugs & wires, pilotside Various updates, additions Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags textified. If(ADD_IDS){ $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { } $article = $this->alt_textify($article); if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // generate holes for square, hexagonal etc. Shafts. ≥30 means "round, using current quality setting". // Depth of the indenting spheres. ≥30 means "round, using current quality setting". Cone_indents_faces = 30; /* [Engraved Indicator (optional)] */ // // Degree of detail in the body text, captions.

New Pull Request