3
1
Back

Content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech * Girls with Slingshots // Girls with Slingshots * Three Panel Soul elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } 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"], "www.pilotside.us/comic/") !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { function about() { return $this->mangle_article($article); } function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { if (!$alt_text || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } 0 0 Y N 3 F N DEF SW_Push_Dual_x2 SW 0 40 Y N 1 F N DEF MountingHole H 0 40 Y N 1 F N DEF SW_DIP_x07 SW 0 0 Y N 1 F N DEF SW_DIP_x05 SW 0 40 N N 1 F N DEF SW_MEC_5G SW 0 0 Y N 1 F N DEF SW_Push_DPDT SW 0 40 N N 1 F N DEF SW_Push_DPDT SW 0 0.

New Pull Request