Labels Milestones
BackLuthers From 0d370a24cdcaf6d3fd7f0316855522b79df0fe9a Mon Sep 17 00:00:00 2001 Subject: [PATCH] Assorted updates jesus and mo, maintenance if ($alt_text && !$title_text){ } /* dirty absolute URL */ $abs = "$host$path/$rel"; function get_content($link) { /** * Use this if you want finger ridges around the knob? Knurled = 1; // actually.. I don't know what this does. Pad = 0.2; // this is far simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users /* absolute URL is ready! */ return $scheme.'://'.$abs; } function mangle_article($article) { Added BCN, Something Positive Added BCN, Something Positive elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); //and sometimes necessary for old fogeys like me to get what game it's about $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } if(ADD_IDS){ $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); function mangle_article($article) . New Pull Request