3
1
Back

And dirty content rewriting engine with code already written for about a dozen webcomics. Examples: * Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { } module label(string, size=4, halign="center", font=default_label_font) { } /* 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-1']//img", $article); } // Awkward Zombie elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); // $xpath = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // Berkeley Mews // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Two Lumps // Two Lumps // Two Lumps elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $article['content'] = $img; } //Sites that provide images and just need alt tags if both exist Updated LICD, alter alt-textify to handle weaker (<6v) signals Sequencer cascading to trigger a second sequencer's run, which then re-triggers the first. More feature ideas: Trigger out - Gate out, with.

New Pull Request