3
1
Back

But adjust to fit in glide controls Final-ish tweaks More mounting hole position tweaks 45c41b9873c867fd482202c4f0c018a6f3903a54 Messing around with panel title fonts } // Make sure bottom ends at z=0 KnobMajorRadius+RingWidth) * 3, 20], center=true); } // Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Alice Grove (get bigger image elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users) 2015-03-02 17:38:43 -08:00 } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debug'] as $msg) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt tags foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $img; } } // Cyanide & Happiness elseif.

New Pull Request