3
1
Back

3.4251927,4.4291344 v 0.196852" d="m -6.7913424,11.41733 h -0.19685" d="M -5.3937043,2.4606366 V 2.6574871" d="m -6.7913424,2.5590618 h -0.19685" d="M 3.4251924,8.759842 V 8.9566925" d="m 3.5236174,8.8582672 h -0.19685" d="m 3.4251919,5.8070862 v 0.196852" d="m 3.5236177,4.5275604 h -0.19685" d="m -2.5590543,2.521019 v 0.07874" d="M 2.992121,8.8569411 H 2.913381" 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?) $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking // The Oatmeal elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } Clean up code formatting; added a few more 'simple' Unseen Servant functions first commit main synth_tools/Schematics/SynthMages.pretty/PinSocket_1x03_P2.54mm_Vertical.kicad_mod 43 lines f707877a83 Delete '3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/COLOR SPRAY.png differ Binary files a/caixa_sr1.png and b/caixa_sr1.png differ Binary files /dev/null and b/Images/IMG_6753.JPG differ Binary files a/3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/COLOR SPRAY.png' Delete '3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/HOLD PORTAL.png' 06850ab67823ca6e309908fccf0dcf41bca709a5 Delete '3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels/POLYMORPH.png Normal file View File Schematics/Luthers_VCO_schematic.pdf Normal file Unescape Hardware/PCB/precadsr/Kosmo_panel.pretty/Kosmo_Pot_Hole_NPTH.kicad_mod Normal file Unescape define('ADD_IDS', True); define('ADD_IDS', False); define("GDORN_DEBUG", False); class _comics extends Plugin { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users) Clean up code formatting; added a few comics; standardized appending alt/title text //also get the blog //also get blog elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath .

New Pull Request