A free, self-hostable news aggregator…
SimplePie 1.5.4 (#2814)
Alexandre Alapetite971607191830
diff --git a/lib/SimplePie/SimplePie.php b/lib/SimplePie/SimplePie.phpindex 87626f369..e7ecae5e7 100644--- a/lib/SimplePie/SimplePie.php+++ b/lib/SimplePie/SimplePie.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2017, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2017, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,10 +33,10 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @version 1.5.3- * @copyright 2004-2017 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @version 1.5.4+ * @copyright 2004-2017 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD License@@ -50,7 +50,7 @@ define('SIMPLEPIE_NAME', 'SimplePie');/*** SimplePie Version*/-define('SIMPLEPIE_VERSION', '1.5.3');+define('SIMPLEPIE_VERSION', '1.5.4');/*** SimplePie Build@@ -677,9 +677,9 @@ class SimplePie*/public function __construct(){- if (version_compare(PHP_VERSION, '5.3', '<'))+ if (version_compare(PHP_VERSION, '5.6', '<')){- trigger_error('Please upgrade to PHP 5.3 or newer.');+ trigger_error('Please upgrade to PHP 5.6 or newer.');die();}@@ -718,7 +718,7 @@ class SimplePie*/public function __destruct(){- if ((version_compare(PHP_VERSION, '5.3', '<') || !gc_enabled()) && !ini_get('zend.ze1_compatibility_mode'))+ if ((version_compare(PHP_VERSION, '5.6', '<') || !gc_enabled()) && !ini_get('zend.ze1_compatibility_mode')){if (!empty($this->data['items'])){@@ -1285,8 +1285,8 @@ class SimplePie/*** Set the handler to enable the display of cached images.*- * @param str $page Web-accessible path to the handler_image.php file.- * @param str $qs The query string that the value should be passed to.+ * @param string $page Web-accessible path to the handler_image.php file.+ * @param string $qs The query string that the value should be passed to.*/public function set_image_handler($page = false, $qs = 'i'){@@ -1773,8 +1773,8 @@ class SimplePie}$cache = $this->registry->call('Cache', 'get_handler', array($this->cache_location, call_user_func($this->cache_name_function, $file->url), 'spc'));}- $this->feed_url = $file->url;}+ $this->feed_url = $file->url;$locate = null;}@@ -1973,7 +1973,8 @@ class SimplePie** When the 'permanent' mode is disabled (default),* may or may not be different from the URL passed to {@see set_feed_url()},- * depending on whether auto-discovery was used.+ * depending on whether auto-discovery was used, and whether there were+ * any redirects along the way.** @since Preview Release (previously called `get_feed_url()` since SimplePie 0.8.)* @todo Support <itunes:new-feed-url>diff --git a/lib/SimplePie/SimplePie/Author.php b/lib/SimplePie/SimplePie/Author.phpindex 14794cf27..563932f4c 100644--- a/lib/SimplePie/SimplePie/Author.php+++ b/lib/SimplePie/SimplePie/Author.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Cache.php b/lib/SimplePie/SimplePie/Cache.phpindex d98cc6511..9c5577d95 100644--- a/lib/SimplePie/SimplePie/Cache.php+++ b/lib/SimplePie/SimplePie/Cache.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Cache/Base.php b/lib/SimplePie/SimplePie/Cache/Base.phpindex 333fb05cf..522ff7e10 100644--- a/lib/SimplePie/SimplePie/Cache/Base.php+++ b/lib/SimplePie/SimplePie/Cache/Base.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Cache/DB.php b/lib/SimplePie/SimplePie/Cache/DB.phpindex 7e8f77532..74d57b8da 100644--- a/lib/SimplePie/SimplePie/Cache/DB.php+++ b/lib/SimplePie/SimplePie/Cache/DB.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Cache/File.php b/lib/SimplePie/SimplePie/Cache/File.phpindex a09dea637..03758e923 100644--- a/lib/SimplePie/SimplePie/Cache/File.php+++ b/lib/SimplePie/SimplePie/Cache/File.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Cache/Memcache.php b/lib/SimplePie/SimplePie/Cache/Memcache.phpindex 5190eef93..caf785275 100644--- a/lib/SimplePie/SimplePie/Cache/Memcache.php+++ b/lib/SimplePie/SimplePie/Cache/Memcache.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Cache/Memcached.php b/lib/SimplePie/SimplePie/Cache/Memcached.phpindex 1f73b3890..0b40d87c8 100644--- a/lib/SimplePie/SimplePie/Cache/Memcached.php+++ b/lib/SimplePie/SimplePie/Cache/Memcached.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Cache/MySQL.php b/lib/SimplePie/SimplePie/Cache/MySQL.phpindex 061ed043a..a684eb833 100644--- a/lib/SimplePie/SimplePie/Cache/MySQL.php+++ b/lib/SimplePie/SimplePie/Cache/MySQL.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Caption.php b/lib/SimplePie/SimplePie/Caption.phpindex 854857603..3d7bfdd71 100644--- a/lib/SimplePie/SimplePie/Caption.php+++ b/lib/SimplePie/SimplePie/Caption.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Category.php b/lib/SimplePie/SimplePie/Category.phpindex df0f13f9a..e4dabed8b 100644--- a/lib/SimplePie/SimplePie/Category.php+++ b/lib/SimplePie/SimplePie/Category.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Content/Type/Sniffer.php b/lib/SimplePie/SimplePie/Content/Type/Sniffer.phpindex 8962e6d9f..cb253fb1e 100644--- a/lib/SimplePie/SimplePie/Content/Type/Sniffer.php+++ b/lib/SimplePie/SimplePie/Content/Type/Sniffer.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Copyright.php b/lib/SimplePie/SimplePie/Copyright.phpindex a57f323e6..92f9b0947 100644--- a/lib/SimplePie/SimplePie/Copyright.php+++ b/lib/SimplePie/SimplePie/Copyright.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Core.php b/lib/SimplePie/SimplePie/Core.phpindex c856ba361..ffcca46f5 100644--- a/lib/SimplePie/SimplePie/Core.php+++ b/lib/SimplePie/SimplePie/Core.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Credit.php b/lib/SimplePie/SimplePie/Credit.phpindex 064a1b864..d6ff07eba 100644--- a/lib/SimplePie/SimplePie/Credit.php+++ b/lib/SimplePie/SimplePie/Credit.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Decode/HTML/Entities.php b/lib/SimplePie/SimplePie/Decode/HTML/Entities.phpindex 773481a8c..a43c374b3 100644--- a/lib/SimplePie/SimplePie/Decode/HTML/Entities.php+++ b/lib/SimplePie/SimplePie/Decode/HTML/Entities.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Enclosure.php b/lib/SimplePie/SimplePie/Enclosure.phpindex ddbbc3c92..32216d848 100644--- a/lib/SimplePie/SimplePie/Enclosure.php+++ b/lib/SimplePie/SimplePie/Enclosure.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Exception.php b/lib/SimplePie/SimplePie/Exception.phpindex 53c015e77..7a04c560c 100644--- a/lib/SimplePie/SimplePie/Exception.php+++ b/lib/SimplePie/SimplePie/Exception.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/File.php b/lib/SimplePie/SimplePie/File.phpindex c5c398ee1..6ecc9c1d9 100644--- a/lib/SimplePie/SimplePie/File.php+++ b/lib/SimplePie/SimplePie/File.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/HTTP/Parser.php b/lib/SimplePie/SimplePie/HTTP/Parser.phpindex 7d6188dd1..1dbe06c3e 100644--- a/lib/SimplePie/SimplePie/HTTP/Parser.php+++ b/lib/SimplePie/SimplePie/HTTP/Parser.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/IRI.php b/lib/SimplePie/SimplePie/IRI.phpindex ffba232b1..a02de682c 100644--- a/lib/SimplePie/SimplePie/IRI.php+++ b/lib/SimplePie/SimplePie/IRI.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD License@@ -46,10 +46,10 @@** @package SimplePie* @subpackage HTTP- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Steve Minutillo* @author Ryan McCue- * @copyright 2007-2012 Geoffrey Sneddon, Steve Minutillo, Ryan McCue+ * @copyright 2007-2012 Sam Sneddon, Steve Minutillo, Ryan McCue* @license http://www.opensource.org/licenses/bsd-license.php*/class SimplePie_IRIdiff --git a/lib/SimplePie/SimplePie/Item.php b/lib/SimplePie/SimplePie/Item.phpindex 9b9c1f5db..729c28d20 100644--- a/lib/SimplePie/SimplePie/Item.php+++ b/lib/SimplePie/SimplePie/Item.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD License@@ -121,7 +121,7 @@ class SimplePie_Item*/public function __destruct(){- if ((version_compare(PHP_VERSION, '5.3', '<') || !gc_enabled()) && !ini_get('zend.ze1_compatibility_mode'))+ if ((version_compare(PHP_VERSION, '5.6', '<') || !gc_enabled()) && !ini_get('zend.ze1_compatibility_mode')){unset($this->feed);}@@ -958,7 +958,7 @@ class SimplePie_Itempublic function get_link($key = 0, $rel = 'alternate'){$links = $this->get_links($rel);- if ($links[$key] !== null)+ if ($links && $links[$key] !== null){return $links[$key];}diff --git a/lib/SimplePie/SimplePie/Locator.php b/lib/SimplePie/SimplePie/Locator.phpindex 12bc15e15..bf7c21a6f 100644--- a/lib/SimplePie/SimplePie/Locator.php+++ b/lib/SimplePie/SimplePie/Locator.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Misc.php b/lib/SimplePie/SimplePie/Misc.phpindex 016a60ccc..4f8e7658f 100644--- a/lib/SimplePie/SimplePie/Misc.php+++ b/lib/SimplePie/SimplePie/Misc.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Net/IPv6.php b/lib/SimplePie/SimplePie/Net/IPv6.phpindex a054e8be5..25c992bd1 100644--- a/lib/SimplePie/SimplePie/Net/IPv6.php+++ b/lib/SimplePie/SimplePie/Net/IPv6.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD License@@ -53,7 +53,7 @@* @author Alexander Merz <[email protected]>* @author elfrink at introweb dot nl* @author Josh Peck <jmp at joshpeck dot org>- * @author Geoffrey Sneddon <[email protected]>+ * @author Sam Sneddon <[email protected]>*/class SimplePie_Net_IPv6{diff --git a/lib/SimplePie/SimplePie/Parse/Date.php b/lib/SimplePie/SimplePie/Parse/Date.phpindex 18e60e281..cf57437d2 100644--- a/lib/SimplePie/SimplePie/Parse/Date.php+++ b/lib/SimplePie/SimplePie/Parse/Date.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD License@@ -98,12 +98,20 @@ class SimplePie_Parse_Date'dimanche' => 7,// German'montag' => 1,+ 'mo' => 1,'dienstag' => 2,+ 'di' => 2,'mittwoch' => 3,+ 'mi' => 3,'donnerstag' => 4,+ 'do' => 4,'freitag' => 5,+ 'fr' => 5,'samstag' => 6,+ 'sa' => 6,'sonnabend' => 6,+ // AFAIK no short form for sonnabend+ 'so' => 7,'sonntag' => 7,// Italian'lunedì' => 1,@@ -215,17 +223,28 @@ class SimplePie_Parse_Date'décembre' => 12,// German'januar' => 1,+ 'jan' => 1,'februar' => 2,+ 'feb' => 2,'märz' => 3,+ 'mär' => 3,'april' => 4,- 'mai' => 5,+ 'apr' => 4,+ 'mai' => 5, // no short form for may'juni' => 6,+ 'jun' => 6,'juli' => 7,+ 'jul' => 7,'august' => 8,+ 'aug' => 8,'september' => 9,+ 'sep' => 9,'oktober' => 10,+ 'okt' => 10,'november' => 11,+ 'nov' => 11,'dezember' => 12,+ 'dez' => 12,// Italian'gennaio' => 1,'febbraio' => 2,@@ -297,7 +316,7 @@ class SimplePie_Parse_Date'Σεπ' => 9,'Οκτ' => 10,'Νοέ' => 11,- 'Δεκ' => 12,+ 'Δεκ' => 12,// Russian'Янв' => 1,'января' => 1,@@ -323,6 +342,7 @@ class SimplePie_Parse_Date'ноября' => 11,'Дек' => 12,'декабря' => 12,+);/**diff --git a/lib/SimplePie/SimplePie/Parser.php b/lib/SimplePie/SimplePie/Parser.phpindex f9918334c..ddaba46fd 100644--- a/lib/SimplePie/SimplePie/Parser.php+++ b/lib/SimplePie/SimplePie/Parser.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Rating.php b/lib/SimplePie/SimplePie/Rating.phpindex 108dd22bf..599f75acb 100644--- a/lib/SimplePie/SimplePie/Rating.php+++ b/lib/SimplePie/SimplePie/Rating.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Registry.php b/lib/SimplePie/SimplePie/Registry.phpindex e0909bb74..bf3baf179 100755--- a/lib/SimplePie/SimplePie/Registry.php+++ b/lib/SimplePie/SimplePie/Registry.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Restriction.php b/lib/SimplePie/SimplePie/Restriction.phpindex 803d84fde..950017fae 100644--- a/lib/SimplePie/SimplePie/Restriction.php+++ b/lib/SimplePie/SimplePie/Restriction.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/Sanitize.php b/lib/SimplePie/SimplePie/Sanitize.phpindex 8b7e57926..4805974bb 100644--- a/lib/SimplePie/SimplePie/Sanitize.php+++ b/lib/SimplePie/SimplePie/Sanitize.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD License@@ -440,14 +440,7 @@ class SimplePie_Sanitize// Get content node$div = $document->getElementsByTagName('body')->item(0)->firstChild;// Finally, convert to a HTML string- if (version_compare(PHP_VERSION, '5.3.6', '>='))- {- $data = trim($document->saveHTML($div));- }- else- {- $data = trim($document->saveXML($div));- }+ $data = trim($document->saveHTML($div));if ($this->remove_div){diff --git a/lib/SimplePie/SimplePie/Source.php b/lib/SimplePie/SimplePie/Source.phpindex 8fac13ef7..f14e5b220 100644--- a/lib/SimplePie/SimplePie/Source.php+++ b/lib/SimplePie/SimplePie/Source.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/XML/Declaration/Parser.php b/lib/SimplePie/SimplePie/XML/Declaration/Parser.phpindex 18ca1b79b..0c857a586 100644--- a/lib/SimplePie/SimplePie/XML/Declaration/Parser.php+++ b/lib/SimplePie/SimplePie/XML/Declaration/Parser.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD Licensediff --git a/lib/SimplePie/SimplePie/gzdecode.php b/lib/SimplePie/SimplePie/gzdecode.phpindex f4aeafa28..9c54f8833 100644--- a/lib/SimplePie/SimplePie/gzdecode.php+++ b/lib/SimplePie/SimplePie/gzdecode.php@@ -5,7 +5,7 @@* A PHP-Based RSS and Atom Feed Framework.* Takes the hard work out of managing a complete RSS/Atom solution.*- * Copyright (c) 2004-2016, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors* All rights reserved.** Redistribution and use in source and binary forms, with or without modification, are@@ -33,9 +33,9 @@* POSSIBILITY OF SUCH DAMAGE.** @package SimplePie- * @copyright 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue+ * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue* @author Ryan Parman- * @author Geoffrey Sneddon+ * @author Sam Sneddon* @author Ryan McCue* @link http://simplepie.org/ SimplePie* @license http://www.opensource.org/licenses/bsd-license.php BSD License