3
1
Back

$para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // $article['content'] = $img; } } // $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); // Scenes From A Multiverse (to get alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than having hundreds of plugins, one per feed. The file will get big, but whatever. From dd8fda85b17279e6d8dbcb525c226736e6399cf9 Mon Sep 17.

New Pull Request