3
1
Back

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'], 'threepanelsoul.com/2') !== FALSE) { Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text //also get blog entry $entries = $xpath->query($query); $result_html = ''; } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Dinosaur Comics Cleanup $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] .= "
ID.

New Pull Request