Labels Milestones
BackOr other modifications represent, as a kind of odd LFO. Photos Build notes GitHub repository https://github.com/holmesrichards/precadsr Submodules git clone --recurse-submodules git@gitlab.com:rsholmes/precadsr.git $article['content'] = $doc->saveHTML(); function get_img_tags($xpath, $query, &$article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); $new_src = $this->rel2abs($orig_src, $article['link']); if ($alt_text && !$title_text){ Various updates, additions elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few more 'simple' Unseen Servant functions
New Pull Request