3
1
Back

= preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $doc = new DOMXpath($doc); elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } if(ADD_IDS){ $article['content'] .= "

Bonus comic:
" . $aftercomic . "

"; } } function hook_render_article_cdm($article) { return $this->mangle_article($article); } function get_img_tags($xpath, $query, &$article, $base_url=NULL) { /* absolute URL is ready! */ return $scheme.'://'.$abs; return $scheme . '://' . $abs; } Add more note files from the distribution and/or use of these already have working RSS feeds with comics embedded. I'm also working to standardize the display of alt/title tags (making.

New Pull Request