Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence de l'espace de nommage SimplePie

Description détaillée

SimplePie

A PHP-Based RSS and Atom Feed Framework. Takes the hard work out of managing a complete RSS/Atom solution.

Copyright (c) 2004-2009, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice, this list of
      conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above copyright notice, this list
      of conditions and the following disclaimer in the documentation and/or other materials
      provided with the distribution.

    * Neither the name of the SimplePie Team nor the names of its contributors may be used
      to endorse or promote products derived from this software without specific prior
      written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Version
1.3.1
Auteur
Ryan Parman
Geoffrey Sneddon
Ryan McCue SimplePie http://www.opensource.org/licenses/bsd-license.php BSD License Autoloader class API SimplePie A PHP-Based RSS and Atom Feed Framework. Takes the hard work out of managing a complete RSS/Atom solution. Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the SimplePie Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1.3.1 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue Ryan Parman Geoffrey Sneddon Ryan McCue http://simplepie.org/ SimplePie http://www.opensource.org/licenses/bsd-license.php BSD License Manages all author-related data Used by { SimplePie_Item::get_author()} and { SimplePie::get_authors()} This class can be overloaded with { SimplePie::set_author_class()} API Base for cache objects Classes to be used with { SimplePie_Cache::register()} are expected to implement this interface. Caching Base class for database-based caches Caching Caches data to the filesystem Caching Caches data to memcache Registered for URLs with the "memcache" protocol For example, memcache://localhost:11211/?timeout=3600&prefix=sp_ will connect to memcache on localhost on port 11211. All tables will be prefixed with sp_ and data will expire after 3600 seconds Caching Memcache Caches data to a MySQL database Registered for URLs with the "mysql" protocol For example, mysql://root:password@localhost:3306/mydb?prefix=sp_ will connect to the mydb database on localhost on port 3306, with the user root and the password password. All tables will be prefixed with sp_ Caching Used to create cache objects This class can be overloaded with { SimplePie::set_cache_class()}, although the preferred way is to create your own handler via { register()} Caching Handles <media:text> captions as defined in Media RSS. Used by { SimplePie_Enclosure::get_caption()} and { SimplePie_Enclosure::get_captions()} This class can be overloaded with { SimplePie::set_caption_class()} API Manages all category-related data Used by { SimplePie_Item::get_category()} and { SimplePie_Item::get_categories()} This class can be overloaded with { SimplePie::set_category_class()} API Content-type sniffing Based on the rules in http://tools.ietf.org/html/draft-abarth-mime-sniff-06 This is used since we can't always trust Content-Type headers, and is based upon the HTML5 parsing rules. This class can be overloaded with { SimplePie::set_content_type_sniffer_class()} HTTP Manages <media:copyright> copyright tags as defined in Media RSS Used by { SimplePie_Enclosure::get_copyright()} This class can be overloaded with { SimplePie::set_copyright_class()} API SimplePie class. Class for backward compatibility. deprecated 1014. SimplePie} directly API Handles <media:credit> as defined in Media RSS Used by { SimplePie_Enclosure::get_credit()} and { SimplePie_Enclosure::get_credits()} This class can be overloaded with { SimplePie::set_credit_class()} API Decode HTML Entities This implements HTML5 as of revision 967 (2007-06-28) deprecated 1015. Handles everything related to enclosures (including Media RSS and iTunes RSS) Used by { SimplePie_Item::get_enclosure()} and { SimplePie_Item::get_enclosures()} This class can be overloaded with { SimplePie::set_enclosure_class()} API SimplePie A PHP-Based RSS and Atom Feed Framework. Takes the hard work out of managing a complete RSS/Atom solution. Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the SimplePie Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1.4-dev 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue Ryan Parman Geoffrey Sneddon Ryan McCue http://simplepie.org/ SimplePie http://www.opensource.org/licenses/bsd-license.php BSD License General SimplePie exception class Used for fetching remote files and reading local files Supports HTTP 1.0 via cURL or fsockopen, with spotty HTTP 1.1 support This class can be overloaded with { SimplePie::set_file_class()} HTTP todo 19. Decode 'gzip' encoded HTTP data HTTP http://www.gzip.org/format.txt HTTP Response Parser HTTP IRI parser/serialiser/normaliser HTTP Geoffrey Sneddon Steve Minutillo Ryan McCue 2007-2012 Geoffrey Sneddon, Steve Minutillo, Ryan McCue http://www.opensource.org/licenses/bsd-license.php Manages all item-related data Used by { SimplePie::get_item()} and { SimplePie::get_items()} This class can be overloaded with { SimplePie::set_item_class()} API Used for feed auto-discovery This class can be overloaded with { SimplePie::set_locator_class()} Miscellanous utilities Class to validate and to work with IPv6 addresses. HTTP 2003-2005 The PHP Group http://www.opensource.org/licenses/bsd-license.php http://pear.php.net/package/Net_IPv6 Alexander Merz alexa.nosp@m.nder.nosp@m..merz.nosp@m.@web.nosp@m..de elfrink at introweb dot nl Josh Peck
Geoffrey Sneddon geoff.nosp@m.ers@.nosp@m.gmail.nosp@m..com

Date Parser

Parsing

Parses XML into something sane

This class can be overloaded with {

Voir également
SimplePie::set_parser_class()}

Parsing

Handles <media:rating> or <itunes:explicit> tags as defined in Media RSS and iTunes RSS respectively

Used by {

Voir également
SimplePie_Enclosure::get_rating()} and {
SimplePie_Enclosure::get_ratings()}

This class can be overloaded with {

Voir également
SimplePie::set_rating_class()}

API

Handles creating objects and calling methods

Access this via {

Voir également
SimplePie::get_registry()}

Handles <media:restriction> as defined in Media RSS

Used by {

Voir également
SimplePie_Enclosure::get_restriction()} and {
SimplePie_Enclosure::get_restrictions()}

This class can be overloaded with {

Voir également
SimplePie::set_restriction_class()}

API

Used for data cleanup and post-processing

This class can be overloaded with {

Voir également
SimplePie::set_sanitize_class()}

Handles <atom:source>

Used by {

Voir également
SimplePie_Item::get_source()}

This class can be overloaded with {

Voir également
SimplePie::set_source_class()}

API

Parses the XML Declaration

Parsing

SimplePie

API