Labels Milestones
BackCloser to the Wiki. The wiki lets you write and share documentation with collaborators. From 54fe4830602c83b6eac304b75796acbd9fc37ea8 Mon Sep 17 00:00:00 2001 Subject: [PATCH] MK VCO and Luthers Update README.md 2015-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) { //noop elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Scenes From A Multiverse (to get alt tag) // Pain Train alt tag, Alice Grove (get bigger image elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { //noop elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = ''; function get_xpath_dealie($link) { } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(
New Pull Request