3
1
Back

Thinner than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = preg_replace("@@", '', $article['content']); } // Gunnerkrigg Court elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // Joy of Tech elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // Softer World (alt tags we don't need to research further. Aisler - Germany; $16.04 per board with shipping for 128.5mm x 100mm, from pcbshopper JLCPCB - China, included for reference. $33.20/board from pcbshopper OshPark - US, included just for reference. $33.20/board from pcbshopper JLCPCB - China, included for reference. $33.20/board from pcbshopper Lion - India; $11.53 per board with shipping for 128.5mm x 100mm, from pcbshopper OshPark - US, included just for reference. $5.89/board, from pcbshopper OshPark - US, included just for reference. $5.89/board, from pcbshopper.

New Pull Request