3
1
Back

It's really just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } // Two Lumps // Breaking Cat News // Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Alice Grove bigger img elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $doc = new DOMXpath($doc); elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // slider pot slit // make a hole with radius: ", hole_r , " at ", width_mm - thickness*2; left_rib_x = 0; // The OpenSCAD default. // go positive if you like. Or both. Pointy_external_indicator_pokey_outey_ness = -0.0; // pokey_outey_value = pointy_external_indicator_pokey_outey_ness - 1 - pad; pokey_outey = [pokey_outey_value, pokey_outey_value,0]; // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } $img->parentNode->replaceChild($new_element, $img); } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ Assorted updates elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $doc = new DOMXpath($doc); $bread.

New Pull Request