Labels Milestones
Back"//div[@id='comic-img']//img", $article); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { // Timothy Winchester (People I Know) // Timothy Winchester (People I Know) // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } Various updates, additions Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users /* absolute URL is ready! */ } function hook_render_article($article) { try { return $rel; } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Jesus & Mo elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Something Positive elseif (strpos($article['link'], 'campcomic.com/comic.
New Pull Request