(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text //also get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= " Alt: " . $img->getAttribute('title') . ""; } // SatW elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $doc = new DOMXpath($doc); elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Achewood (alt tag) elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // Camp Weedonwantcha // Camp Weedonwantcha elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Chainsawsuit // Poorly Drawn Lines elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $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 } // SBMC elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Scenes From A Multiverse (to get alt tags) // Scenes From A Multiverse (to get alt tag) // Pain Train alt tag, Alice Grove bigger img Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $matches[1]; $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $img_tag . $article['content']; } Added The Trenches; yet more code style tweaking 2015-03-27 02:51:25 -07:00 Subject: [PATCH] More assembly notes Latest commits for file Images/IMG_6770.JPG Binary files a/3D Printing/Panels/image.png and /dev/null differ 4049c4aafe Delete '3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/UNSEEN SERVANT.png differ Latest commits for file Envelope/Envelope.kicad_sch master PSU/Synth Mages Power Word Stun Panel.kicad_prl "filename": "Synth Mages Power Word Stun Panel.kicad_prl", Synth Mages Power Word Stun.kicad_pcb 23164 lines 774c07c353 Go to.