3
1
Back

Extract(parse_url($base)); $path = ''; function rel2abs($rel, $base) { if ($img->getAttribute('title')) { $article['content'] .= $aftercomic; } } if(ADD_IDS){ $article['content'] .= "
" . $msg . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag already present elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // Awkward Zombie $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); } /* absolute URL */ $abs = "$host$path/$rel"; function rel2abs($rel, $base) { function get_img_tags($xpath, $query.

New Pull Request