Labels Milestones
Back2015-02-23 04:37:33 -08:00 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'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Two Lumps elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } Pain Train alt tag, Alice Grove (get bigger image) // Alice Grove (get bigger image elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); // Joy of Tech elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // only keep everything starting at the first" . $entry->textContent . ""; // Softer World.
- -0.469189 -0.877691 0.0975691 vertex -3.44415 8.31492.
- -2.3097 6.7 vertex -0.956708 2.3097 6.7 vertex -2.07867.