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); } // Chainsawsuit elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // Joy of Tech elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Scenes From A Multiverse (to get alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = preg_replace("@@", '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { // $xpath = $this->get_xpath_dealie($article['link']); // there's an arrow shaped cutout in the post that we want them to match. We could also do one of.

New Pull Request