3
1
Back

2 commits » 33729ec97f More repo cleanup, adopt github .gitignore file More repo cleanup, adopt github .gitignore file f45c980890 Align panel to integer pseudo-origin, remove testing text, decrease title label font so we don't need to call out for Wondermark fix; added Oatmeal initial $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $img_tag . $article['content']; // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { //also get blog //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present) // Wondermark (alt tag elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry){ $article['content'] .= "

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

"; // only keep everything starting at the top edge. (Other "top rounding *" parameters are only relevant if checked. // Radius to use for rounding teh top edge. [mm] top_rounding_radius = 8; // Cylinder faces to use the trade names.

New Pull Request