3
1
Back

(c) 2011-2023 Isaac Z. Schlueter and Contributors Permission is hereby granted, free of charge, to any person obtaining a copy The MIT License Copyright (c) 2012-2016 Dave Collins Permission to use, copy, modify, and/or distribute this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND The MIT License (MIT) Copyright (c) 2013 Mitchell Hashimoto Permission is hereby granted, free of charge, to any person obtaining a copy Copyright (c) 2011-2015 Michael Mitton (mmitton@gmail.com Portions copyright (c) 2015-2016 go-ldap Authors Permission is hereby granted, free of charge, to any person obtaining a copy copies of the Covered Software due to referer checks elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Three Panel Soul // Three Panel Soul * Scenes From A Multiverse (to get alt tags textified. Elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get blog entry $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Chainsawsuit elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } Some comics supported Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users /* absolute URL is ready! */ left_rib_x.

New Pull Request