Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]

   1  <?php
   2  
   3  declare(strict_types=1);
   4  /**
   5   * SimplePie
   6   *
   7   * A PHP-Based RSS and Atom Feed Framework.
   8   * Takes the hard work out of managing a complete RSS/Atom solution.
   9   *
  10   * Copyright (c) 2004-2017, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
  11   * All rights reserved.
  12   *
  13   * Redistribution and use in source and binary forms, with or without modification, are
  14   * permitted provided that the following conditions are met:
  15   *
  16   * 	 * Redistributions of source code must retain the above copyright notice, this list of
  17   * 	   conditions and the following disclaimer.
  18   *
  19   * 	 * Redistributions in binary form must reproduce the above copyright notice, this list
  20   * 	   of conditions and the following disclaimer in the documentation and/or other materials
  21   * 	   provided with the distribution.
  22   *
  23   * 	 * Neither the name of the SimplePie Team nor the names of its contributors may be used
  24   * 	   to endorse or promote products derived from this software without specific prior
  25   * 	   written permission.
  26   *
  27   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
  28   * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  29   * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS
  30   * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  31   * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  32   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  33   * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  34   * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  35   * POSSIBILITY OF SUCH DAMAGE.
  36   *
  37   * @package SimplePie
  38   * @version 1.7.0
  39   * @copyright 2004-2017 Ryan Parman, Sam Sneddon, Ryan McCue
  40   * @author Ryan Parman
  41   * @author Sam Sneddon
  42   * @author Ryan McCue
  43   * @link http://simplepie.org/ SimplePie
  44   * @license http://www.opensource.org/licenses/bsd-license.php BSD License
  45   */
  46  
  47  use SimplePie\SimplePie as NamespacedSimplePie;
  48  
  49  class_exists('SimplePie\SimplePie');
  50  
  51  // @trigger_error(sprintf('Using the "SimplePie" class is deprecated since SimplePie 1.7.0, use "SimplePie\SimplePie" instead.'), \E_USER_DEPRECATED);
  52  
  53  if (\false) {
  54      /** @deprecated since SimplePie 1.7.0, use "SimplePie\SimplePie" instead */
  55      class SimplePie extends NamespacedSimplePie
  56      {
  57      }
  58  }
  59  
  60  /**
  61   * SimplePie Name
  62   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAME instead.
  63   */
  64  define('SIMPLEPIE_NAME', NamespacedSimplePie::NAME);
  65  
  66  /**
  67   * SimplePie Version
  68   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::VERSION instead.
  69   */
  70  define('SIMPLEPIE_VERSION', NamespacedSimplePie::VERSION);
  71  
  72  /**
  73   * SimplePie Build
  74   * @todo Hardcode for release (there's no need to have to call SimplePie_Misc::get_build() only every load of simplepie.inc)
  75   * @deprecated since SimplePie 1.7.0, use \SimplePie\Misc::get_build() instead.
  76   */
  77  define('SIMPLEPIE_BUILD', gmdate('YmdHis', \SimplePie\Misc::get_build()));
  78  
  79  /**
  80   * SimplePie Website URL
  81   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::URL instead.
  82   */
  83  define('SIMPLEPIE_URL', NamespacedSimplePie::URL);
  84  
  85  /**
  86   * SimplePie Useragent
  87   * @see SimplePie::set_useragent()
  88   * @deprecated since SimplePie 1.7.0, use \SimplePie\Misc::get_default_useragent() instead.
  89   */
  90  define('SIMPLEPIE_USERAGENT', \SimplePie\Misc::get_default_useragent());
  91  
  92  /**
  93   * SimplePie Linkback
  94   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LINKBACK instead.
  95   */
  96  define('SIMPLEPIE_LINKBACK', NamespacedSimplePie::LINKBACK);
  97  
  98  /**
  99   * No Autodiscovery
 100   * @see SimplePie::set_autodiscovery_level()
 101   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_NONE instead.
 102   */
 103  define('SIMPLEPIE_LOCATOR_NONE', NamespacedSimplePie::LOCATOR_NONE);
 104  
 105  /**
 106   * Feed Link Element Autodiscovery
 107   * @see SimplePie::set_autodiscovery_level()
 108   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_AUTODISCOVERY instead.
 109   */
 110  define('SIMPLEPIE_LOCATOR_AUTODISCOVERY', NamespacedSimplePie::LOCATOR_AUTODISCOVERY);
 111  
 112  /**
 113   * Local Feed Extension Autodiscovery
 114   * @see SimplePie::set_autodiscovery_level()
 115   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_LOCAL_EXTENSION instead.
 116   */
 117  define('SIMPLEPIE_LOCATOR_LOCAL_EXTENSION', NamespacedSimplePie::LOCATOR_LOCAL_EXTENSION);
 118  
 119  /**
 120   * Local Feed Body Autodiscovery
 121   * @see SimplePie::set_autodiscovery_level()
 122   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_LOCAL_BODY instead.
 123   */
 124  define('SIMPLEPIE_LOCATOR_LOCAL_BODY', NamespacedSimplePie::LOCATOR_LOCAL_BODY);
 125  
 126  /**
 127   * Remote Feed Extension Autodiscovery
 128   * @see SimplePie::set_autodiscovery_level()
 129   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_REMOTE_EXTENSION instead.
 130   */
 131  define('SIMPLEPIE_LOCATOR_REMOTE_EXTENSION', NamespacedSimplePie::LOCATOR_REMOTE_EXTENSION);
 132  
 133  /**
 134   * Remote Feed Body Autodiscovery
 135   * @see SimplePie::set_autodiscovery_level()
 136   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_REMOTE_BODY instead.
 137   */
 138  define('SIMPLEPIE_LOCATOR_REMOTE_BODY', NamespacedSimplePie::LOCATOR_REMOTE_BODY);
 139  
 140  /**
 141   * All Feed Autodiscovery
 142   * @see SimplePie::set_autodiscovery_level()
 143   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOCATOR_ALL instead.
 144   */
 145  define('SIMPLEPIE_LOCATOR_ALL', NamespacedSimplePie::LOCATOR_ALL);
 146  
 147  /**
 148   * No known feed type
 149   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_NONE instead.
 150   */
 151  define('SIMPLEPIE_TYPE_NONE', NamespacedSimplePie::TYPE_NONE);
 152  
 153  /**
 154   * RSS 0.90
 155   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_090 instead.
 156   */
 157  define('SIMPLEPIE_TYPE_RSS_090', NamespacedSimplePie::TYPE_RSS_090);
 158  
 159  /**
 160   * RSS 0.91 (Netscape)
 161   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_091_NETSCAPE instead.
 162   */
 163  define('SIMPLEPIE_TYPE_RSS_091_NETSCAPE', NamespacedSimplePie::TYPE_RSS_091_NETSCAPE);
 164  
 165  /**
 166   * RSS 0.91 (Userland)
 167   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_091_USERLAND instead.
 168   */
 169  define('SIMPLEPIE_TYPE_RSS_091_USERLAND', NamespacedSimplePie::TYPE_RSS_091_USERLAND);
 170  
 171  /**
 172   * RSS 0.91 (both Netscape and Userland)
 173   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_091 instead.
 174   */
 175  define('SIMPLEPIE_TYPE_RSS_091', NamespacedSimplePie::TYPE_RSS_091);
 176  
 177  /**
 178   * RSS 0.92
 179   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_092 instead.
 180   */
 181  define('SIMPLEPIE_TYPE_RSS_092', NamespacedSimplePie::TYPE_RSS_092);
 182  
 183  /**
 184   * RSS 0.93
 185   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_093 instead.
 186   */
 187  define('SIMPLEPIE_TYPE_RSS_093', NamespacedSimplePie::TYPE_RSS_093);
 188  
 189  /**
 190   * RSS 0.94
 191   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_094 instead.
 192   */
 193  define('SIMPLEPIE_TYPE_RSS_094', NamespacedSimplePie::TYPE_RSS_094);
 194  
 195  /**
 196   * RSS 1.0
 197   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_10 instead.
 198   */
 199  define('SIMPLEPIE_TYPE_RSS_10', NamespacedSimplePie::TYPE_RSS_10);
 200  
 201  /**
 202   * RSS 2.0
 203   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_20 instead.
 204   */
 205  define('SIMPLEPIE_TYPE_RSS_20', NamespacedSimplePie::TYPE_RSS_20);
 206  
 207  /**
 208   * RDF-based RSS
 209   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_RDF instead.
 210   */
 211  define('SIMPLEPIE_TYPE_RSS_RDF', NamespacedSimplePie::TYPE_RSS_RDF);
 212  
 213  /**
 214   * Non-RDF-based RSS (truly intended as syndication format)
 215   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_SYNDICATION instead.
 216   */
 217  define('SIMPLEPIE_TYPE_RSS_SYNDICATION', NamespacedSimplePie::TYPE_RSS_SYNDICATION);
 218  
 219  /**
 220   * All RSS
 221   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_RSS_ALL instead.
 222   */
 223  define('SIMPLEPIE_TYPE_RSS_ALL', NamespacedSimplePie::TYPE_RSS_ALL);
 224  
 225  /**
 226   * Atom 0.3
 227   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_ATOM_03 instead.
 228   */
 229  define('SIMPLEPIE_TYPE_ATOM_03', NamespacedSimplePie::TYPE_ATOM_03);
 230  
 231  /**
 232   * Atom 1.0
 233   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_ATOM_10 instead.
 234   */
 235  define('SIMPLEPIE_TYPE_ATOM_10', NamespacedSimplePie::TYPE_ATOM_10);
 236  
 237  /**
 238   * All Atom
 239   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_ATOM_ALL instead.
 240   */
 241  define('SIMPLEPIE_TYPE_ATOM_ALL', NamespacedSimplePie::TYPE_ATOM_ALL);
 242  
 243  /**
 244   * All feed types
 245   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::TYPE_ALL instead.
 246   */
 247  define('SIMPLEPIE_TYPE_ALL', NamespacedSimplePie::TYPE_ALL);
 248  
 249  /**
 250   * No construct
 251   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_NONE instead.
 252   */
 253  define('SIMPLEPIE_CONSTRUCT_NONE', NamespacedSimplePie::CONSTRUCT_NONE);
 254  
 255  /**
 256   * Text construct
 257   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_TEXT instead.
 258   */
 259  define('SIMPLEPIE_CONSTRUCT_TEXT', NamespacedSimplePie::CONSTRUCT_TEXT);
 260  
 261  /**
 262   * HTML construct
 263   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_HTML instead.
 264   */
 265  define('SIMPLEPIE_CONSTRUCT_HTML', NamespacedSimplePie::CONSTRUCT_HTML);
 266  
 267  /**
 268   * XHTML construct
 269   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_XHTML instead.
 270   */
 271  define('SIMPLEPIE_CONSTRUCT_XHTML', NamespacedSimplePie::CONSTRUCT_XHTML);
 272  
 273  /**
 274   * base64-encoded construct
 275   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_BASE64 instead.
 276   */
 277  define('SIMPLEPIE_CONSTRUCT_BASE64', NamespacedSimplePie::CONSTRUCT_BASE64);
 278  
 279  /**
 280   * IRI construct
 281   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_IRI instead.
 282   */
 283  define('SIMPLEPIE_CONSTRUCT_IRI', NamespacedSimplePie::CONSTRUCT_IRI);
 284  
 285  /**
 286   * A construct that might be HTML
 287   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_MAYBE_HTML instead.
 288   */
 289  define('SIMPLEPIE_CONSTRUCT_MAYBE_HTML', NamespacedSimplePie::CONSTRUCT_MAYBE_HTML);
 290  
 291  /**
 292   * All constructs
 293   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::CONSTRUCT_ALL instead.
 294   */
 295  define('SIMPLEPIE_CONSTRUCT_ALL', NamespacedSimplePie::CONSTRUCT_ALL);
 296  
 297  /**
 298   * Don't change case
 299   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::SAME_CASE instead.
 300   */
 301  define('SIMPLEPIE_SAME_CASE', NamespacedSimplePie::SAME_CASE);
 302  
 303  /**
 304   * Change to lowercase
 305   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::LOWERCASE instead.
 306   */
 307  define('SIMPLEPIE_LOWERCASE', NamespacedSimplePie::LOWERCASE);
 308  
 309  /**
 310   * Change to uppercase
 311   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::UPPERCASE instead.
 312   */
 313  define('SIMPLEPIE_UPPERCASE', NamespacedSimplePie::UPPERCASE);
 314  
 315  /**
 316   * PCRE for HTML attributes
 317   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::PCRE_HTML_ATTRIBUTE instead.
 318   */
 319  define('SIMPLEPIE_PCRE_HTML_ATTRIBUTE', NamespacedSimplePie::PCRE_HTML_ATTRIBUTE);
 320  
 321  /**
 322   * PCRE for XML attributes
 323   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::PCRE_XML_ATTRIBUTE instead.
 324   */
 325  define('SIMPLEPIE_PCRE_XML_ATTRIBUTE', NamespacedSimplePie::PCRE_XML_ATTRIBUTE);
 326  
 327  /**
 328   * XML Namespace
 329   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_XML instead.
 330   */
 331  define('SIMPLEPIE_NAMESPACE_XML', NamespacedSimplePie::NAMESPACE_XML);
 332  
 333  /**
 334   * Atom 1.0 Namespace
 335   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_ATOM_10 instead.
 336   */
 337  define('SIMPLEPIE_NAMESPACE_ATOM_10', NamespacedSimplePie::NAMESPACE_ATOM_10);
 338  
 339  /**
 340   * Atom 0.3 Namespace
 341   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_ATOM_03 instead.
 342   */
 343  define('SIMPLEPIE_NAMESPACE_ATOM_03', NamespacedSimplePie::NAMESPACE_ATOM_03);
 344  
 345  /**
 346   * RDF Namespace
 347   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RDF instead.
 348   */
 349  define('SIMPLEPIE_NAMESPACE_RDF', NamespacedSimplePie::NAMESPACE_RDF);
 350  
 351  /**
 352   * RSS 0.90 Namespace
 353   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RSS_090 instead.
 354   */
 355  define('SIMPLEPIE_NAMESPACE_RSS_090', NamespacedSimplePie::NAMESPACE_RSS_090);
 356  
 357  /**
 358   * RSS 1.0 Namespace
 359   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RSS_10 instead.
 360   */
 361  define('SIMPLEPIE_NAMESPACE_RSS_10', NamespacedSimplePie::NAMESPACE_RSS_10);
 362  
 363  /**
 364   * RSS 1.0 Content Module Namespace
 365   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RSS_10_MODULES_CONTENT instead.
 366   */
 367  define('SIMPLEPIE_NAMESPACE_RSS_10_MODULES_CONTENT', NamespacedSimplePie::NAMESPACE_RSS_10_MODULES_CONTENT);
 368  
 369  /**
 370   * RSS 2.0 Namespace
 371   * (Stupid, I know, but I'm certain it will confuse people less with support.)
 372   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_RSS_20 instead.
 373   */
 374  define('SIMPLEPIE_NAMESPACE_RSS_20', NamespacedSimplePie::NAMESPACE_RSS_20);
 375  
 376  /**
 377   * DC 1.0 Namespace
 378   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_DC_10 instead.
 379   */
 380  define('SIMPLEPIE_NAMESPACE_DC_10', NamespacedSimplePie::NAMESPACE_DC_10);
 381  
 382  /**
 383   * DC 1.1 Namespace
 384   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_DC_11 instead.
 385   */
 386  define('SIMPLEPIE_NAMESPACE_DC_11', NamespacedSimplePie::NAMESPACE_DC_11);
 387  
 388  /**
 389   * W3C Basic Geo (WGS84 lat/long) Vocabulary Namespace
 390   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_W3C_BASIC_GEO instead.
 391   */
 392  define('SIMPLEPIE_NAMESPACE_W3C_BASIC_GEO', NamespacedSimplePie::NAMESPACE_W3C_BASIC_GEO);
 393  
 394  /**
 395   * GeoRSS Namespace
 396   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_GEORSS instead.
 397   */
 398  define('SIMPLEPIE_NAMESPACE_GEORSS', NamespacedSimplePie::NAMESPACE_GEORSS);
 399  
 400  /**
 401   * Media RSS Namespace
 402   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS instead.
 403   */
 404  define('SIMPLEPIE_NAMESPACE_MEDIARSS', NamespacedSimplePie::NAMESPACE_MEDIARSS);
 405  
 406  /**
 407   * Wrong Media RSS Namespace. Caused by a long-standing typo in the spec.
 408   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG instead.
 409   */
 410  define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG);
 411  
 412  /**
 413   * Wrong Media RSS Namespace #2. New namespace introduced in Media RSS 1.5.
 414   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG2 instead.
 415   */
 416  define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG2', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG2);
 417  
 418  /**
 419   * Wrong Media RSS Namespace #3. A possible typo of the Media RSS 1.5 namespace.
 420   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG3 instead.
 421   */
 422  define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG3', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG3);
 423  
 424  /**
 425   * Wrong Media RSS Namespace #4. New spec location after the RSS Advisory Board takes it over, but not a valid namespace.
 426   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG4 instead.
 427   */
 428  define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG4', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG4);
 429  
 430  /**
 431   * Wrong Media RSS Namespace #5. A possible typo of the RSS Advisory Board URL.
 432   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_MEDIARSS_WRONG5 instead.
 433   */
 434  define('SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG5', NamespacedSimplePie::NAMESPACE_MEDIARSS_WRONG5);
 435  
 436  /**
 437   * iTunes RSS Namespace
 438   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_ITUNES instead.
 439   */
 440  define('SIMPLEPIE_NAMESPACE_ITUNES', NamespacedSimplePie::NAMESPACE_ITUNES);
 441  
 442  /**
 443   * XHTML Namespace
 444   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::NAMESPACE_XHTML instead.
 445   */
 446  define('SIMPLEPIE_NAMESPACE_XHTML', NamespacedSimplePie::NAMESPACE_XHTML);
 447  
 448  /**
 449   * IANA Link Relations Registry
 450   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::IANA_LINK_RELATIONS_REGISTRY instead.
 451   */
 452  define('SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY', NamespacedSimplePie::IANA_LINK_RELATIONS_REGISTRY);
 453  
 454  /**
 455   * No file source
 456   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_NONE instead.
 457   */
 458  define('SIMPLEPIE_FILE_SOURCE_NONE', NamespacedSimplePie::FILE_SOURCE_NONE);
 459  
 460  /**
 461   * Remote file source
 462   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_REMOTE instead.
 463   */
 464  define('SIMPLEPIE_FILE_SOURCE_REMOTE', NamespacedSimplePie::FILE_SOURCE_REMOTE);
 465  
 466  /**
 467   * Local file source
 468   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_LOCAL instead.
 469   */
 470  define('SIMPLEPIE_FILE_SOURCE_LOCAL', NamespacedSimplePie::FILE_SOURCE_LOCAL);
 471  
 472  /**
 473   * fsockopen() file source
 474   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_FSOCKOPEN instead.
 475   */
 476  define('SIMPLEPIE_FILE_SOURCE_FSOCKOPEN', NamespacedSimplePie::FILE_SOURCE_FSOCKOPEN);
 477  
 478  /**
 479   * cURL file source
 480   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_CURL instead.
 481   */
 482  define('SIMPLEPIE_FILE_SOURCE_CURL', NamespacedSimplePie::FILE_SOURCE_CURL);
 483  
 484  /**
 485   * file_get_contents() file source
 486   * @deprecated since SimplePie 1.7.0, use \SimplePie\SimplePie::FILE_SOURCE_FILE_GET_CONTENTS instead.
 487   */
 488  define('SIMPLEPIE_FILE_SOURCE_FILE_GET_CONTENTS', NamespacedSimplePie::FILE_SOURCE_FILE_GET_CONTENTS);