3
1
Back

Otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { catch (Exception $e) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } } Invisible Bread, Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks Dead Philosophers Added BCN, Something Positive // Timothy Winchester (People I Know) // Timothy Winchester (People I Know foreach ($imgs as $img) { if ($rel[0]=='#' || $rel[0]=='?') { return $article; } function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $article; } function get_img_tags($xpath, $query, $article){ $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer Latest commits for file Images/IMG_6770.JPG Binary files /dev/null and b/3D Printing/Rails/18hp_innie.stl differ Binary files /dev/null and b/3D Printing/Pot_Knobs/scaled_french_pot.mix differ Binary files /dev/null and b/Images/PXL_20210831_002553634.jpg differ Binary files a/3D Printing/Panels/SPIDER CLIMB.png differ From 9060b76361734f9abf9a1c676dd9110e9ced917b Mon Sep 17 00:00:00 2001 Subject.

New Pull Request