3
1
Back

Img src and quotes in alt/title text under images (extra useful for non-browser users elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { //no-op else { // SBMC elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Assorted updates elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Joy of Tech elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveHTML(); function get_img_tags($xpath, $query, &$article, $base_url=NULL) { /* absolute URL */ $abs = "$host$path/$rel"; function rel2abs($rel, $base) { Various updates, additions elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) .

New Pull Request