3
1
Back

(end 164.0975 127.595 (end 176.35 128.9025 (end 165.75 119.5 (end 171.75 127.0525 (end 170.12 123.37 (end 171.75 125 (end 164.22 117.1225 (end 164.22 117.1225 (end 164.22 117.1225 (end 164.22 117.1225 (end 164.22 117.97 (hatch edge 0.5 "name": "Grouped By Value", (offset 0.762) hide (end 1.016 2.54 (end -1.016 -2.54 (offset 0) hide From 713014315986726ad96f361cfbc8e67551a6a879 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // Scenes From A Multiverse (to get alt tags textified. } //Sites that provide images and just need alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Joy of Tech elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Achewood (alt tag) elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { if (GDORN_DEBUG && $article['debugging']) { foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath.

New Pull Request