Labels Milestones
BackScratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function rel2abs($rel, $base) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $title_text) !== False) { if (preg_match("@.*( " . $entry->ownerDocument->saveXML($entry) . " " . $entry->textContent . "
" . $msg . ""; } } // SBMC elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Various updates, additions elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; // Least I Could Do (wtf image size?) // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) .