3
1
Back

V1 build Schematics/bad_trace_v1.jpeg Normal file View File 5663c8bc86 Some comics supported elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } } } // Awkward Zombie elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Achewood (alt tag already present elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); // $xpath = new DOMXPath($doc); } function get_img_tags($xpath, $query, $article, $base_url=NULL) { /* absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) { } $article = $this->alt_textify($article); if (GDORN_DEBUG.

New Pull Request