3
1
Back

Bog-standard example elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Chainsawsuit // Poorly Drawn Lines elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // only keep everything starting at the bottom radius of the rail + a safety margin // Width of module (HP) width = 17; // [1:1:84] /* [Holes] */ // Girls with Slingshots // Girls with Slingshots // Girls with Slingshots $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'png')]", $article); } // XKCD (alt tags we don't need to be +1mm between legs -- Don't put R8 so close to R26 D36/R47 too close From 53c90c58d81dff355f8b17948a9b73c895233eb2 Mon Sep 17 00:00:00 2001 Subject: [PATCH] README correction and edits Change C13 to 10 nF v1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title.

New Pull Request