3
1
Back

= strip_tags($article['content']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = $entry->getAttribute('alt'); $alt_text = $entry->getAttribute('alt'); $alt_text = trim($entry->getAttribute('title')); $result_html .= $entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debug'] as $msg) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='comic-notes']"); d5bfb6e27b Go to file 99b8f1493d More layout updates ttrss-plugin- _comics/init.php 424 lines $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] = $img_tag . $article['content']; } Various updates, additions // PhD Unknown elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
ID: " . $article['id']; } return $article; } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); $doc = new.

New Pull Request