3
1
Back

(strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = preg_replace("@@", '', $article['content']); // only keep everything starting at the first elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } } //Sites that provide images and just need alt tags textified. If(ADD_IDS){ $article = $this->alt_textify($article); if (ADD_IDS) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ Various updates, additions Updated LICD, alter alt-textify to.

New Pull Request