(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); // Jesus & Mo elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); Created by Cvpcb (2015-03-25 BZR 5536)-product date = sam. 04 avril 2015 11:21:18 UTC update=Tue 20 Apr 2021 10:22:18 AM EDT Mon 10 May 2021 12:33:34 AM EDT Sat 28 Aug 2021 07:18:14 PM EDT Generated from schematic by Eeschema 5.1.9-73d0e3b20d~88~ubuntu20.04.1 Generated from schematic into main pull from: pcb_finalization merge into: synth_mages:main.