3
1
Back

Preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return $rel; } if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = ''; foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } // Girls with Slingshots $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Timothy Winchester (People I Know) // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

" . $entry->textContent . "

"; .

New Pull Request