3
1
Back

174.4825 137.23 (end 171.6 134.3475 (end 185.1 157.67 (end 161.04 118.54 (end 156.25 129.25 (end 152.6 130.4475 (end 152.25 121.83 (end 162.105 113.745 (end 168.85 124.8625 (end 158.25 123.75 (end 169.25 119.5 (end 170.12 120.37 (end 165.75 122.535 (end 166.31 121.975 (end 170.12 117.999999 (end 162.25 131.75 (end 162.9025 129.1975 (end 171.39 121.975 (end 179.25 125 (end 172.895 129.605 (end 177.75 128.75 (end 165.75 123.25 (end 171.39 122.6375 (end 173.7525 125 (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'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // Berkeley Mews // $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] .= "
$orig_content
"; } // Awkward Zombie elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // there's both alt and title texts, they're both.

New Pull Request