3
1
Back

Quentin/Panels' Delete '3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/MAGIC MOUTH.png Normal file Unescape Hardware/PCB/precadsr/ao_tht.pretty/C_Disc_D3.0mm_W1.6mm_P2.50mm.kicad_mod Normal file Unescape Schematics/Unseen Servant/Unseen Servant.kicad_sch From 8fe829edc2a52299443ce1d2193e2aa04d060c17 Mon Sep 17 00:00:00 2001 Subject: [PATCH 2/2] 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: * Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ function get_img_tags($xpath, $query, $article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); .

New Pull Request