/libraries/simplepie/simplepie.php

Description

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 and Geoffrey Sneddon 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.

Classes
Constants
SIMPLEPIE_BUILD = '20090627192103' (line 59)

SimplePie Build

SIMPLEPIE_CONSTRUCT_ALL = 63 (line 242)

All constructs

SIMPLEPIE_CONSTRUCT_BASE64 = 8 (line 227)

base64-encoded construct

SIMPLEPIE_CONSTRUCT_HTML = 2 (line 217)

HTML construct

SIMPLEPIE_CONSTRUCT_IRI = 16 (line 232)

IRI construct

SIMPLEPIE_CONSTRUCT_MAYBE_HTML = 32 (line 237)

A construct that might be HTML

SIMPLEPIE_CONSTRUCT_NONE = 0 (line 207)

No construct

SIMPLEPIE_CONSTRUCT_TEXT = 1 (line 212)

Text construct

SIMPLEPIE_CONSTRUCT_XHTML = 4 (line 222)

XHTML construct

SIMPLEPIE_FILE_SOURCE_CURL = 8 (line 383)

cURL file source

SIMPLEPIE_FILE_SOURCE_FILE_GET_CONTENTS = 16 (line 388)

file_get_contents() file source

SIMPLEPIE_FILE_SOURCE_FSOCKOPEN = 4 (line 378)

fsockopen() file source

SIMPLEPIE_FILE_SOURCE_LOCAL = 2 (line 373)

Local file source

SIMPLEPIE_FILE_SOURCE_NONE = 0 (line 363)

No file source

SIMPLEPIE_FILE_SOURCE_REMOTE = 1 (line 368)

Remote file source

SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY = 'http://www.iana.org/assignments/relation/' (line 353)

IANA Link Relations Registry

SIMPLEPIE_LINKBACK = '<a href="'.SIMPLEPIE_URL.'" title="'.SIMPLEPIE_NAME.' '.SIMPLEPIE_VERSION.'">'.SIMPLEPIE_NAME.'</a>' (line 75)

SimplePie Linkback

SIMPLEPIE_LOCATOR_ALL = 31 (line 117)

All Feed Autodiscovery

SIMPLEPIE_LOCATOR_AUTODISCOVERY = 1 (line 87)

Feed Link Element Autodiscovery

SIMPLEPIE_LOCATOR_LOCAL_BODY = 4 (line 99)

Local Feed Body Autodiscovery

SIMPLEPIE_LOCATOR_LOCAL_EXTENSION = 2 (line 93)

Local Feed Extension Autodiscovery

SIMPLEPIE_LOCATOR_NONE = 0 (line 81)

No Autodiscovery

SIMPLEPIE_LOCATOR_REMOTE_BODY = 16 (line 111)

Remote Feed Body Autodiscovery

SIMPLEPIE_LOCATOR_REMOTE_EXTENSION = 8 (line 105)

Remote Feed Extension Autodiscovery

SIMPLEPIE_LOWERCASE = 2 (line 252)

Change to lowercase

SIMPLEPIE_NAME = 'SimplePie' (line 49)

SimplePie Name

SIMPLEPIE_NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#' (line 282)

Atom 0.3 Namespace

SIMPLEPIE_NAMESPACE_ATOM_10 = 'http://www.w3.org/2005/Atom' (line 277)

Atom 1.0 Namespace

SIMPLEPIE_NAMESPACE_DC_10 = 'http://purl.org/dc/elements/1.0/' (line 313)

DC 1.0 Namespace

SIMPLEPIE_NAMESPACE_DC_11 = 'http://purl.org/dc/elements/1.1/' (line 318)

DC 1.1 Namespace

SIMPLEPIE_NAMESPACE_GEORSS = 'http://www.georss.org/georss' (line 328)

GeoRSS Namespace

SIMPLEPIE_NAMESPACE_ITUNES = 'http://www.itunes.com/dtds/podcast-1.0.dtd' (line 343)

iTunes RSS Namespace

SIMPLEPIE_NAMESPACE_MEDIARSS = 'http://search.yahoo.com/mrss/' (line 333)

Media RSS Namespace

SIMPLEPIE_NAMESPACE_MEDIARSS_WRONG = 'http://search.yahoo.com/mrss' (line 338)

Wrong Media RSS Namespace

SIMPLEPIE_NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' (line 287)

RDF Namespace

SIMPLEPIE_NAMESPACE_RSS_090 = 'http://my.netscape.com/rdf/simple/0.9/' (line 292)

RSS 0.90 Namespace

SIMPLEPIE_NAMESPACE_RSS_10 = 'http://purl.org/rss/1.0/' (line 297)

RSS 1.0 Namespace

SIMPLEPIE_NAMESPACE_RSS_10_MODULES_CONTENT = 'http://purl.org/rss/1.0/modules/content/' (line 302)

RSS 1.0 Content Module Namespace

SIMPLEPIE_NAMESPACE_RSS_20 = '' (line 308)

RSS 2.0 Namespace

(Stupid, I know, but I'm certain it will confuse people less with support.)

SIMPLEPIE_NAMESPACE_W3C_BASIC_GEO = 'http://www.w3.org/2003/01/geo/wgs84_pos#' (line 323)

W3C Basic Geo (WGS84 lat/long) Vocabulary Namespace

SIMPLEPIE_NAMESPACE_XHTML = 'http://www.w3.org/1999/xhtml' (line 348)

XHTML Namespace

SIMPLEPIE_NAMESPACE_XML = 'http://www.w3.org/XML/1998/namespace' (line 272)

XML Namespace

SIMPLEPIE_PCRE_HTML_ATTRIBUTE = '((?:[\x09\x0A\x0B\x0C\x0D\x20]+[^\x09\x0A\x0B\x0C\x0D\x20\x2F\x3E][^\x09\x0A\x0B\x0C\x0D\x20\x2F\x3D\x3E]*(?:[\x09\x0A\x0B\x0C\x0D\x20]*=[\x09\x0A\x0B\x0C\x0D\x20]*(?:"(?:[^"]*)"|\'(?:[^\']*)\'|(?:[^\x09\x0A\x0B\x0C\x0D\x20\x22\x27\x3E][^\x09\x0A\x0B\x0C\x0D\x20\x3E]*)?))?)*)[\x09\x0A\x0B\x0C\x0D\x20]*' (line 262)

PCRE for HTML attributes

SIMPLEPIE_PCRE_XML_ATTRIBUTE = '((?:\s+(?:(?:[^\s:]+:)?[^\s:]+)\s*=\s*(?:"(?:[^"]*)"|\'(?:[^\']*)\'))*)\s*' (line 267)

PCRE for XML attributes

SIMPLEPIE_PHP5 = version_compare(PHP_VERSION,'5.0.0','>=') (line 358)

Whether we're running on PHP5

SIMPLEPIE_SAME_CASE = 1 (line 247)

Don't change case

SIMPLEPIE_TYPE_ALL = 1023 (line 202)

All feed types

SIMPLEPIE_TYPE_ATOM_03 = 256 (line 187)

Atom 0.3

SIMPLEPIE_TYPE_ATOM_10 = 512 (line 192)

Atom 1.0

SIMPLEPIE_TYPE_ATOM_ALL = 768 (line 197)

All Atom

SIMPLEPIE_TYPE_NONE = 0 (line 122)

No known feed type

SIMPLEPIE_TYPE_RSS_090 = 1 (line 127)

RSS 0.90

SIMPLEPIE_TYPE_RSS_091 = 6 (line 142)

RSS 0.91 (both Netscape and Userland)

SIMPLEPIE_TYPE_RSS_091_NETSCAPE = 2 (line 132)

RSS 0.91 (Netscape)

SIMPLEPIE_TYPE_RSS_091_USERLAND = 4 (line 137)

RSS 0.91 (Userland)

SIMPLEPIE_TYPE_RSS_092 = 8 (line 147)

RSS 0.92

SIMPLEPIE_TYPE_RSS_093 = 16 (line 152)

RSS 0.93

SIMPLEPIE_TYPE_RSS_094 = 32 (line 157)

RSS 0.94

SIMPLEPIE_TYPE_RSS_10 = 64 (line 162)

RSS 1.0

SIMPLEPIE_TYPE_RSS_20 = 128 (line 167)

RSS 2.0

SIMPLEPIE_TYPE_RSS_ALL = 255 (line 182)

All RSS

SIMPLEPIE_TYPE_RSS_RDF = 65 (line 172)

RDF-based RSS

SIMPLEPIE_TYPE_RSS_SYNDICATION = 190 (line 177)

Non-RDF-based RSS (truly intended as syndication format)

SIMPLEPIE_UPPERCASE = 4 (line 257)

Change to uppercase

SIMPLEPIE_URL = 'http://simplepie.org' (line 64)

SimplePie Website URL

SIMPLEPIE_USERAGENT = SIMPLEPIE_NAME.'/'.SIMPLEPIE_VERSION.' (Feed Parser; '.SIMPLEPIE_URL.'; Allow like Gecko) Build/'.SIMPLEPIE_BUILD (line 70)

SimplePie Useragent

SIMPLEPIE_VERSION = '1.2' (line 54)

SimplePie Version

Documentation generated on Mon, 25 Jun 2012 13:59:31 -0500 by phpDocumentor 1.4.4