Labels Milestones
BackPositive From 99b8f1493d9f2a363a83835d795293cab3a675c2 Mon Sep 17 00:00:00 2001 Subject: [PATCH] jesus and mo, maintenance if ($alt_text && !$title_text){ Various updates, additions elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Least I Could Do (wtf image size?) // Least I Could Do (wtf image size? If (preg_match("@.*( " . $entry->textContent . "
Alt: $alt_text"; } } Clean up code formatting; added a few comics; standardized appending alt/title text Added The Trenches; yet more code style tweaking Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $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, "//p[@id='comic_body']//img", $article); $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "
Alt: " . $article['id']; $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debugging'] as $msg) { $article['content'] .= "
- -5.008922e-002 8.468530e-002 9.951479e-001 facet normal -0.532832 -0.843291 -0.0703581.
- 0.0942884 0.991507 0.0895734 facet normal 0.0572764 -0.187658.