3
1
Back

_comics/init.php 424 lines $alt_element = $doc->createElement("i", $title_text); } else { return array( $html, $content_type ); } function get_img_tags($xpath, $query, &$article, $base_url=NULL) { /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } function rel2abs($rel, $base) { if ($title_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // CTRL+ALT+DEL // Three Panel Soul elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); //and sometimes necessary for old fogeys like me to get.

New Pull Request