3
1
Back

Fixes but before shrinking boards renamed repository from precadsrprecadsr to synth_mages/precadsr 2a5bb74bbd Stuff all teh scad files in Stuff all teh scad files in ttrss-plugin- _comics/init.php 424 lines $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); } else if (two_holes_type == "center") { } function get_img_tags($xpath, $query, &$article, $base_url=NULL) { /* absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ } /* 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)) { } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debugging'] as $msg) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'uploads') and contains(@src, 'comics')]", $article); } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. // $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Dead.

New Pull Request