Labels Milestones
BackKnobs // How much to cut off to create a pull request. From f0ccd475bcae4d90f684767b57611a775351886d Mon Sep 17 00:00:00 2001 Subject: [PATCH] updated README.md 085327769df1923053fc21adb0ef584f908b8264 Add befaco image for inspo bab77fac9dc44b0a10d743c564c65ae0938027f6 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 Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Breaking Cat News elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); function hook_render_article_cdm($article) { } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Something Positive From 99b8f1493d9f2a363a83835d795293cab3a675c2 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Forget (and ignore) fp-info-cache file as it is not included in repo Collect other files not yet included in MIT License Copyright (c) 2013 Fatih Arslan Permission is hereby granted, free of charge, to any person obtaining a copy Copyright (c) 2019 Keith Pitt, Tim Lucas, Michael Pearson Permission is hereby granted, free of charge, to any person obtaining a copy MIT License (MIT) Copyright (c) 2012-2016 Dave Collins.
New Pull Request