SimplePie Klassenreferenz

Klassendiagramm für SimplePie:

Öffentliche Methoden

 __construct ()
 
 __toString ()
 
 __destruct ()
 
 force_feed ($enable=false)
 
 set_feed_url ($url)
 
 set_file (&$file)
 
 set_raw_data ($data)
 
 set_timeout ($timeout=10)
 
 force_fsockopen ($enable=false)
 
 enable_cache ($enable=true)
 
 set_cache_duration ($seconds=3600)
 
 set_autodiscovery_cache_duration ($seconds=604800)
 
 set_cache_location ($location= './cache')
 
 enable_order_by_date ($enable=true)
 
 set_input_encoding ($encoding=false)
 
 set_autodiscovery_level ($level=SIMPLEPIE_LOCATOR_ALL)
 
get_registry ()
 
 set_cache_class ($class= 'SimplePie_Cache')
 
 set_locator_class ($class= 'SimplePie_Locator')
 
 set_parser_class ($class= 'SimplePie_Parser')
 
 set_file_class ($class= 'SimplePie_File')
 
 set_sanitize_class ($class= 'SimplePie_Sanitize')
 
 set_item_class ($class= 'SimplePie_Item')
 
 set_author_class ($class= 'SimplePie_Author')
 
 set_category_class ($class= 'SimplePie_Category')
 
 set_enclosure_class ($class= 'SimplePie_Enclosure')
 
 set_caption_class ($class= 'SimplePie_Caption')
 
 set_copyright_class ($class= 'SimplePie_Copyright')
 
 set_credit_class ($class= 'SimplePie_Credit')
 
 set_rating_class ($class= 'SimplePie_Rating')
 
 set_restriction_class ($class= 'SimplePie_Restriction')
 
 set_content_type_sniffer_class ($class= 'SimplePie_Content_Type_Sniffer')
 
 set_source_class ($class= 'SimplePie_Source')
 
 set_useragent ($ua=SIMPLEPIE_USERAGENT)
 
 set_cache_name_function ($function= 'md5')
 
 set_stupidly_fast ($set=false)
 
 set_max_checked_feeds ($max=10)
 
 remove_div ($enable=true)
 
 strip_htmltags ($tags= '', $encode=null)
 
 encode_instead_of_strip ($enable=true)
 
 strip_attributes ($attribs= '')
 
 set_output_encoding ($encoding= 'UTF-8')
 
 strip_comments ($strip=false)
 
 set_url_replacements ($element_attribute=null)
 
 set_image_handler ($page=false, $qs= 'i')
 
 set_item_limit ($limit=0)
 
 init ()
 
 error ()
 
 get_raw_data ()
 
 get_encoding ()
 
 handle_content_type ($mime= 'text/html')
 
 get_type ()
 
 subscribe_url ()
 
 get_feed_tags ($namespace, $tag)
 
 get_channel_tags ($namespace, $tag)
 
 get_image_tags ($namespace, $tag)
 
 get_base ($element=array())
 
 sanitize ($data, $type, $base= '')
 
 get_title ()
 
 get_category ($key=0)
 
 get_categories ()
 
 get_author ($key=0)
 
 get_authors ()
 
 get_contributor ($key=0)
 
 get_contributors ()
 
 get_link ($key=0, $rel= 'alternate')
 
 get_permalink ()
 
 get_links ($rel= 'alternate')
 
 get_all_discovered_feeds ()
 
 get_description ()
 
 get_copyright ()
 
 get_language ()
 
 get_latitude ()
 
 get_longitude ()
 
 get_image_title ()
 
 get_image_url ()
 
 get_image_link ()
 
 get_image_width ()
 
 get_image_height ()
 
 get_item_quantity ($max=0)
 
 get_item ($key=0)
 
 get_items ($start=0, $end=0)
 
 set_favicon_handler ($page=false, $qs= 'i')
 
 get_favicon ()
 
 __call ($method, $args)
 

Öffentliche, statische Methoden

static sort_items ($a, $b)
 
static merge_items ($urls, $start=0, $end=0, $limit=0)
 

Datenfelder

 $data = array()
 
 $error
 
 $sanitize
 
 $useragent = SIMPLEPIE_USERAGENT
 
 $feed_url
 
 $file
 
 $raw_data
 
 $timeout = 10
 
 $force_fsockopen = false
 
 $force_feed = false
 
 $cache = true
 
 $cache_duration = 3600
 
 $autodiscovery_cache_duration = 604800
 
 $cache_location = './cache'
 
 $cache_name_function = 'md5'
 
 $order_by_date = true
 
 $input_encoding = false
 
 $autodiscovery = SIMPLEPIE_LOCATOR_ALL
 
 $registry
 
 $max_checked_feeds = 10
 
 $all_discovered_feeds = array()
 
 $image_handler = ''
 
 $multifeed_url = array()
 
 $multifeed_objects = array()
 
 $config_settings = null
 
 $item_limit = 0
 
 $strip_attributes = array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc')
 
 $strip_htmltags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style')
 

Geschützte Methoden

 fetch_data (&$cache)
 

Ausführliche Beschreibung

Definiert in Zeile 413 der Datei SimplePie.php.

Beschreibung der Konstruktoren und Destruktoren

__construct ( )

The SimplePie class contains feed level data and options

To use SimplePie, create the SimplePie object with no parameters. You can then set configuration options using the provided methods. After setting them, you must initialise the feed using $feed->init(). At that point the object's methods and properties will be available to you.

Previously, it was possible to pass in the feed URL along with cache options directly into the constructor. This has been removed as of 1.3 as it caused a lot of confusion.

Seit
1.0 Preview Release

Definiert in Zeile 625 der Datei SimplePie.php.

Benutzt init(), sanitize(), set_cache_duration(), set_cache_location() und set_feed_url().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

__destruct ( )

Remove items that link back to this before destroying this object

Definiert in Zeile 666 der Datei SimplePie.php.

Dokumentation der Elementfunktionen

__call (   $method,
  $args 
)

Magic method handler

Parameter
string$methodMethod name
array$argsArguments to the method
Rückgabe
mixed

Definiert in Zeile 2963 der Datei SimplePie.php.

Benutzt $file.

__toString ( )

Used for converting object to a string

Definiert in Zeile 658 der Datei SimplePie.php.

enable_cache (   $enable = true)

Enable/disable caching in SimplePie.

This option allows you to disable caching all-together in SimplePie. However, disabling the cache can lead to longer load times.

Seit
1.0 Preview Release
Parameter
bool$enableEnable caching

Definiert in Zeile 803 der Datei SimplePie.php.

enable_order_by_date (   $enable = true)

Set whether feed items should be sorted into reverse chronological order

Parameter
bool$enableSort as reverse chronological order.

Definiert in Zeile 845 der Datei SimplePie.php.

Wird benutzt von set_stupidly_fast().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

encode_instead_of_strip (   $enable = true)

Definiert in Zeile 1108 der Datei SimplePie.php.

Benutzt sanitize().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

error ( )

Get the error message for the occured error

Rückgabe
string|array Error message, or array of messages for multifeeds

Definiert in Zeile 1559 der Datei SimplePie.php.

Benutzt $error.

Wird benutzt von fetch_data() und init().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

fetch_data ( $cache)
protected

Fetch the data via SimplePie_File

If the data is already cached, attempt to fetch it from there instead

Parameter
SimplePie_Cache | false$cacheCache handler, or false to not load from the cache
Rückgabe
array|true Returns true if the data was loaded from the cache, or an array of HTTP headers and sniffed type

Definiert in Zeile 1398 der Datei SimplePie.php.

Benutzt $cache, $file, error(), force_feed(), force_fsockopen(), init(), set_feed_url(), SIMPLEPIE_BUILD, SIMPLEPIE_FILE_SOURCE_REMOTE und SIMPLEPIE_NAME.

Wird benutzt von init().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

force_feed (   $enable = false)

Force the given data/URL to be treated as a feed

This tells SimplePie to ignore the content-type provided by the server. Be careful when using this option, as it will also disable autodiscovery.

Seit
1.1
Parameter
bool$enableForce the given data/URL to be treated as a feed

Definiert in Zeile 698 der Datei SimplePie.php.

Wird benutzt von fetch_data().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

force_fsockopen (   $enable = false)

Force SimplePie to use fsockopen() instead of cURL

Seit
1.0 Beta 3
Parameter
bool$enableForce fsockopen() to be used

Definiert in Zeile 789 der Datei SimplePie.php.

Wird benutzt von fetch_data().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_all_discovered_feeds ( )

Definiert in Zeile 2402 der Datei SimplePie.php.

Benutzt $all_discovered_feeds.

get_author (   $key = 0)

Get an author for the feed

Seit
1.1
Parameter
int$keyThe author that you want to return. Remember that arrays begin with 0, not 1
Rückgabe
SimplePie_Author|null

Definiert in Zeile 2105 der Datei SimplePie.php.

Benutzt get_authors().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_authors ( )

Get all authors for the feed

Uses <atom:author>, <author>, <dc:creator> or <itunes:author>

Seit
1.1
Rückgabe
array|null List of {
Siehe auch
SimplePie_Author} objects

Definiert in Zeile 2126 der Datei SimplePie.php.

Benutzt get_base(), get_channel_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_IRI, SIMPLEPIE_CONSTRUCT_TEXT, SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_DC_10, SIMPLEPIE_NAMESPACE_DC_11 und SIMPLEPIE_NAMESPACE_ITUNES.

Wird benutzt von get_author().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_base (   $element = array())

Get the base URL value from the feed

Uses <xml:base> if available, otherwise uses the first link in the feed, or failing that, the URL of the feed itself.

Siehe auch
get_link
subscribe_url
Parameter
array$element
Rückgabe
string

Definiert in Zeile 1938 der Datei SimplePie.php.

Benutzt get_link(), get_type(), SIMPLEPIE_TYPE_RSS_SYNDICATION und subscribe_url().

Wird benutzt von get_authors(), get_contributors(), get_copyright(), get_description(), get_image_link(), get_image_url(), get_links() und get_title().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_categories ( )

Get all categories for the feed

Uses <atom:category>, <category> or <dc:subject>

Seit
Unknown
Rückgabe
array|null List of {
Siehe auch
SimplePie_Category} objects

Definiert in Zeile 2041 der Datei SimplePie.php.

Benutzt get_channel_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_TEXT, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_DC_10, SIMPLEPIE_NAMESPACE_DC_11 und SIMPLEPIE_NAMESPACE_RSS_20.

Wird benutzt von get_category().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_category (   $key = 0)

Get a category for the feed

Seit
Unknown
Parameter
int$keyThe category that you want to return. Remember that arrays begin with 0, not 1
Rückgabe
SimplePie_Category|null

Definiert in Zeile 2020 der Datei SimplePie.php.

Benutzt get_categories().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_channel_tags (   $namespace,
  $tag 
)

Get data for an channel-level element

This method allows you to get access to ANY element/attribute in the channel/header section of the feed.

See {

Siehe auch
SimplePie::get_feed_tags()} for a description of the return value
Seit
1.0
Siehe auch
http://simplepie.org/wiki/faq/supported_xml_namespaces
Parameter
string$namespaceThe URL of the XML namespace of the elements you're trying to access
string$tagTag name
Rückgabe
array

Definiert in Zeile 1833 der Datei SimplePie.php.

Benutzt get_feed_tags(), get_type(), SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10, SIMPLEPIE_NAMESPACE_RSS_20, SIMPLEPIE_TYPE_ATOM_ALL, SIMPLEPIE_TYPE_RSS_090, SIMPLEPIE_TYPE_RSS_10 und SIMPLEPIE_TYPE_RSS_SYNDICATION.

Wird benutzt von get_authors(), get_categories(), get_contributors(), get_copyright(), get_description(), get_image_tags(), get_image_url(), get_items(), get_language(), get_latitude(), get_links(), get_longitude() und get_title().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_contributor (   $key = 0)

Get a contributor for the feed

Seit
1.1
Parameter
int$keyThe contrbutor that you want to return. Remember that arrays begin with 0, not 1
Rückgabe
SimplePie_Author|null

Definiert in Zeile 2203 der Datei SimplePie.php.

Benutzt get_contributors().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_contributors ( )

Get all contributors for the feed

Uses <atom:contributor>

Seit
1.1
Rückgabe
array|null List of {
Siehe auch
SimplePie_Author} objects

Definiert in Zeile 2224 der Datei SimplePie.php.

Benutzt get_base(), get_channel_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_IRI, SIMPLEPIE_CONSTRUCT_TEXT, SIMPLEPIE_NAMESPACE_ATOM_03 und SIMPLEPIE_NAMESPACE_ATOM_10.

Wird benutzt von get_contributor().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_copyright ( )

Get the copyright info for the feed

Uses <atom:rights>, <atom:copyright> or <dc:rights>

Seit
1.0 (previously called get_feed_copyright() since 0.8)
Rückgabe
string|null

Definiert in Zeile 2468 der Datei SimplePie.php.

Benutzt get_base(), get_channel_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_TEXT, SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_DC_10, SIMPLEPIE_NAMESPACE_DC_11 und SIMPLEPIE_NAMESPACE_RSS_20.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_description ( )

Get the content for the item

Uses <atom:subtitle>, <atom:tagline>, <description>, <dc:description>, <itunes:summary> or <itunes:subtitle>

Seit
1.0 (previously called get_feed_description() since 0.8)
Rückgabe
string|null

Definiert in Zeile 2416 der Datei SimplePie.php.

Benutzt get_base(), get_channel_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_HTML, SIMPLEPIE_CONSTRUCT_MAYBE_HTML, SIMPLEPIE_CONSTRUCT_TEXT, SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_DC_10, SIMPLEPIE_NAMESPACE_DC_11, SIMPLEPIE_NAMESPACE_ITUNES, SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10 und SIMPLEPIE_NAMESPACE_RSS_20.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_encoding ( )

Get the character encoding used for output

Seit
Preview Release
Rückgabe
string

Definiert in Zeile 1583 der Datei SimplePie.php.

Benutzt sanitize().

Wird benutzt von handle_content_type().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_favicon ( )

Get the favicon for the current feed

Veraltet:
Use your own favicon handling instead

Definiert in Zeile 2943 der Datei SimplePie.php.

Benutzt get_link().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_feed_tags (   $namespace,
  $tag 
)

Get data for an feed-level element

This method allows you to get access to ANY element/attribute that is a sub-element of the opening feed tag.

The return value is an indexed array of elements matching the given namespace and tag name. Each element has attribs, data and child subkeys. For attribs and child, these contain namespace subkeys. attribs then has one level of associative name => value data (where value is a string) after the namespace. child has tag-indexed keys after the namespace, each member of which is an indexed array matching this same format.

For example:

// This is probably a bad example because we already support
// <media:content> natively, but it shows you how to parse through
// the nodes.
$group = $item->get_item_tags(SIMPLEPIE_NAMESPACE_MEDIARSS, 'group');
$content = $group[0]['child'][SIMPLEPIE_NAMESPACE_MEDIARSS]['content'];
$file = $content[0]['attribs']['']['url'];
echo $file;
Seit
1.0
Siehe auch
http://simplepie.org/wiki/faq/supported_xml_namespaces
Parameter
string$namespaceThe URL of the XML namespace of the elements you're trying to access
string$tagTag name
Rückgabe
array

Definiert in Zeile 1785 der Datei SimplePie.php.

Benutzt get_type(), SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_RDF, SIMPLEPIE_NAMESPACE_RSS_20, SIMPLEPIE_TYPE_ATOM_03, SIMPLEPIE_TYPE_ATOM_10, SIMPLEPIE_TYPE_RSS_RDF und SIMPLEPIE_TYPE_RSS_SYNDICATION.

Wird benutzt von get_channel_tags(), get_image_tags() und get_items().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_image_height ( )

Get the feed logo's height

RSS 2.0 feeds are allowed to have a "feed logo" height.

Uses <image><height> or defaults to 31.0 if no height is specified and the feed is an RSS 2.0 feed.

Rückgabe
int|float|null

Definiert in Zeile 2749 der Datei SimplePie.php.

Benutzt get_image_tags(), get_type(), SIMPLEPIE_NAMESPACE_RSS_20 und SIMPLEPIE_TYPE_RSS_SYNDICATION.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_image_link ( )

Get the feed logo's link

RSS 0.9.0, 1.0 and 2.0 feeds are allowed to have a "feed logo" link. This points to a human-readable page that the image should link to.

Uses <itunes:image>, <atom:logo>, <atom:icon>, <image><title> or <image><dc:title>

Rückgabe
string|null

Definiert in Zeile 2693 der Datei SimplePie.php.

Benutzt get_base(), get_image_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_IRI, SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10 und SIMPLEPIE_NAMESPACE_RSS_20.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_image_tags (   $namespace,
  $tag 
)

Get data for an channel-level element

This method allows you to get access to ANY element/attribute in the image/logo section of the feed.

See {

Siehe auch
SimplePie::get_feed_tags()} for a description of the return value
Seit
1.0
Siehe auch
http://simplepie.org/wiki/faq/supported_xml_namespaces
Parameter
string$namespaceThe URL of the XML namespace of the elements you're trying to access
string$tagTag name
Rückgabe
array

Definiert in Zeile 1890 der Datei SimplePie.php.

Benutzt get_channel_tags(), get_feed_tags(), get_type(), SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10, SIMPLEPIE_NAMESPACE_RSS_20, SIMPLEPIE_TYPE_RSS_090, SIMPLEPIE_TYPE_RSS_10 und SIMPLEPIE_TYPE_RSS_SYNDICATION.

Wird benutzt von get_image_height(), get_image_link(), get_image_title(), get_image_url() und get_image_width().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_image_title ( )

Get the feed logo's title

RSS 0.9.0, 1.0 and 2.0 feeds are allowed to have a "feed logo" title.

Uses <image><title> or <image><dc:title>

Rückgabe
string|null

Definiert in Zeile 2610 der Datei SimplePie.php.

Benutzt get_image_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_TEXT, SIMPLEPIE_NAMESPACE_DC_10, SIMPLEPIE_NAMESPACE_DC_11, SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10 und SIMPLEPIE_NAMESPACE_RSS_20.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_image_url ( )

Get the feed logo's URL

RSS 0.9.0, 2.0, Atom 1.0, and feeds with iTunes RSS tags are allowed to have a "feed logo" URL. This points directly to the image itself.

Uses <itunes:image>, <atom:logo>, <atom:icon>, <image><title> or <image><dc:title>

Rückgabe
string|null

Definiert in Zeile 2649 der Datei SimplePie.php.

Benutzt get_base(), get_channel_tags(), get_image_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_IRI, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_ITUNES, SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10 und SIMPLEPIE_NAMESPACE_RSS_20.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_image_width ( )

Get the feed logo's link

RSS 2.0 feeds are allowed to have a "feed logo" width.

Uses <image><width> or defaults to 88.0 if no width is specified and the feed is an RSS 2.0 feed.

Rückgabe
int|float|null

Definiert in Zeile 2723 der Datei SimplePie.php.

Benutzt get_image_tags(), get_type(), SIMPLEPIE_NAMESPACE_RSS_20 und SIMPLEPIE_TYPE_RSS_SYNDICATION.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_item (   $key = 0)

Get a single item from the feed

This is better suited for for() loops, whereas {

Siehe auch
get_items()} is better suited for foreach() loops.
get_item_quantity()
Seit
Beta 2
Parameter
int$keyThe item that you want to return. Remember that arrays begin with 0, not 1
Rückgabe
SimplePie_Item|null

Definiert in Zeile 2800 der Datei SimplePie.php.

Benutzt get_items().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_item_quantity (   $max = 0)

Get the number of items in the feed

This is well-suited for for() loops with {

Siehe auch
get_item()}
Parameter
int$maxMaximum value to return. 0 for no limit
Rückgabe
int Number of items in the feed

Definiert in Zeile 2774 der Datei SimplePie.php.

Benutzt get_items().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_items (   $start = 0,
  $end = 0 
)

Get all items from the feed

This is better suited for for() loops, whereas {

Siehe auch
get_items()} is better suited for foreach() loops.
get_item_quantity
Seit
Beta 2
Parameter
int$startIndex to start at
int$endNumber of items to return. 0 for all items after $start
Rückgabe
array|null List of {
Siehe auch
SimplePie_Item} objects

Definiert in Zeile 2826 der Datei SimplePie.php.

Benutzt get_channel_tags(), get_feed_tags(), merge_items(), SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10 und SIMPLEPIE_NAMESPACE_RSS_20.

Wird benutzt von get_item() und get_item_quantity().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_language ( )

Get the language for the feed

Uses <language>, <dc:language>, or

Seit
1.0 (previously called get_feed_language() since 0.8)
Rückgabe
string|null

Definiert in Zeile 2504 der Datei SimplePie.php.

Benutzt get_channel_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_TEXT, SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_DC_10, SIMPLEPIE_NAMESPACE_DC_11, SIMPLEPIE_NAMESPACE_RDF und SIMPLEPIE_NAMESPACE_RSS_20.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_latitude ( )

Get the latitude coordinates for the item

Compatible with the W3C WGS84 Basic Geo and GeoRSS specifications

Uses <geo:lat> or <georss:point>

Seit
1.0 W3C WGS84 Basic Geo http://www.georss.org/ GeoRSS string|null

Definiert in Zeile 2552 der Datei SimplePie.php.

Benutzt get_channel_tags(), SIMPLEPIE_NAMESPACE_GEORSS und SIMPLEPIE_NAMESPACE_W3C_BASIC_GEO.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_link (   $key = 0,
  $rel = 'alternate' 
)

Get a single link for the feed

Seit
1.0 (previously called get_feed_link since Preview Release, get_feed_permalink() since 0.8)
Parameter
int$keyThe link that you want to return. Remember that arrays begin with 0, not 1
string$relThe relationship of the link to return
Rückgabe
string|null Link URL

Definiert in Zeile 2290 der Datei SimplePie.php.

Benutzt get_links().

Wird benutzt von get_base(), get_favicon() und get_permalink().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_links (   $rel = 'alternate')

Get all links for the feed

Uses <atom:link> or <link>

Seit
Beta 2
Parameter
string$relThe relationship of links to return
Rückgabe
array|null Links found for the feed (strings)

Definiert in Zeile 2328 der Datei SimplePie.php.

Benutzt get_base(), get_channel_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_IRI, SIMPLEPIE_IANA_LINK_RELATIONS_REGISTRY, SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10 und SIMPLEPIE_NAMESPACE_RSS_20.

Wird benutzt von get_link().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

get_longitude ( )

Get the longitude coordinates for the feed

Compatible with the W3C WGS84 Basic Geo and GeoRSS specifications

Uses <geo:long>, <geo:lon> or <georss:point>

Seit
1.0 W3C WGS84 Basic Geo http://www.georss.org/ GeoRSS string|null

Definiert in Zeile 2581 der Datei SimplePie.php.

Benutzt get_channel_tags(), SIMPLEPIE_NAMESPACE_GEORSS und SIMPLEPIE_NAMESPACE_W3C_BASIC_GEO.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_permalink ( )

Get the permalink for the item

Returns the first link available with a relationship of "alternate". Identical to {

Siehe auch
get_link()} with key 0
get_link
Seit
1.0 (previously called get_feed_link since Preview Release, get_feed_permalink() since 0.8)

Definiert in Zeile 2314 der Datei SimplePie.php.

Benutzt get_link().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_raw_data ( )

Get the raw XML

This is the same as the old $feed->enable_xml_dump(true), but returns the data instead of printing it.

Rückgabe
string|boolean Raw XML data, false if the cache is used

Definiert in Zeile 1572 der Datei SimplePie.php.

Benutzt $raw_data.

& get_registry ( )

Get the class registry

Use this to override SimplePie's default classes

Siehe auch
SimplePie_Registry
Rückgabe
SimplePie_Registry

Definiert in Zeile 894 der Datei SimplePie.php.

Benutzt $registry.

get_title ( )

Get the title of the feed

Uses <atom:title>, <title> or <dc:title>

Seit
1.0 (previously called get_feed_title since 0.8)
Rückgabe
string|null

Definiert in Zeile 1977 der Datei SimplePie.php.

Benutzt get_base(), get_channel_tags(), sanitize(), SIMPLEPIE_CONSTRUCT_MAYBE_HTML, SIMPLEPIE_CONSTRUCT_TEXT, SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_DC_10, SIMPLEPIE_NAMESPACE_DC_11, SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10 und SIMPLEPIE_NAMESPACE_RSS_20.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

get_type ( )

Get the type of the feed

This returns a SIMPLEPIE_TYPE_* constant, which can be tested against using bitwise operators

Seit
0.8 (usage changed to using constants in 1.0)
Siehe auch
SIMPLEPIE_TYPE_NONE Unknown.
SIMPLEPIE_TYPE_RSS_090 RSS 0.90.
SIMPLEPIE_TYPE_RSS_091_NETSCAPE RSS 0.91 (Netscape).
SIMPLEPIE_TYPE_RSS_091_USERLAND RSS 0.91 (Userland).
SIMPLEPIE_TYPE_RSS_091 RSS 0.91.
SIMPLEPIE_TYPE_RSS_092 RSS 0.92.
SIMPLEPIE_TYPE_RSS_093 RSS 0.93.
SIMPLEPIE_TYPE_RSS_094 RSS 0.94.
SIMPLEPIE_TYPE_RSS_10 RSS 1.0.
SIMPLEPIE_TYPE_RSS_20 RSS 2.0.x.
SIMPLEPIE_TYPE_RSS_RDF RDF-based RSS.
SIMPLEPIE_TYPE_RSS_SYNDICATION Non-RDF-based RSS (truly intended as syndication format).
SIMPLEPIE_TYPE_RSS_ALL Any version of RSS.
SIMPLEPIE_TYPE_ATOM_03 Atom 0.3.
SIMPLEPIE_TYPE_ATOM_10 Atom 1.0.
SIMPLEPIE_TYPE_ATOM_ALL Any version of Atom.
SIMPLEPIE_TYPE_ALL Any known/supported feed type.
Rückgabe
int SIMPLEPIE_TYPE_* constant

Definiert in Zeile 1650 der Datei SimplePie.php.

Benutzt SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_RDF, SIMPLEPIE_NAMESPACE_RSS_090, SIMPLEPIE_NAMESPACE_RSS_10, SIMPLEPIE_NAMESPACE_RSS_20, SIMPLEPIE_TYPE_ALL, SIMPLEPIE_TYPE_ATOM_03, SIMPLEPIE_TYPE_ATOM_10, SIMPLEPIE_TYPE_NONE, SIMPLEPIE_TYPE_RSS_090, SIMPLEPIE_TYPE_RSS_091, SIMPLEPIE_TYPE_RSS_091_NETSCAPE, SIMPLEPIE_TYPE_RSS_091_USERLAND, SIMPLEPIE_TYPE_RSS_092, SIMPLEPIE_TYPE_RSS_093, SIMPLEPIE_TYPE_RSS_094, SIMPLEPIE_TYPE_RSS_10, SIMPLEPIE_TYPE_RSS_20 und SIMPLEPIE_TYPE_RSS_ALL.

Wird benutzt von get_base(), get_channel_tags(), get_feed_tags(), get_image_height(), get_image_tags(), get_image_width() und init().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

handle_content_type (   $mime = 'text/html')

Send the content-type header with correct encoding

This method ensures that the SimplePie-enabled page is being served with the correct mime-type and character encoding HTTP headers (character encoding determined by the {

Siehe auch
set_output_encoding} config option).

This won't work properly if any content or whitespace has already been sent to the browser, because it relies on PHP's header() function, and these are the circumstances under which the function works.

Because it's setting these settings for the entire page (as is the nature of HTTP headers), this should only be used once per page (again, at the top).

Parameter
string$mimeMIME type to serve the page as

Definiert in Zeile 1607 der Datei SimplePie.php.

Benutzt get_encoding().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

init ( )

Initialize the feed object

This is what makes everything happen. Period. This is where all of the configuration options get processed, feeds are fetched, cached, and parsed, and all of that other good stuff.

Rückgabe
boolean True if successful, false otherwise

Definiert in Zeile 1207 der Datei SimplePie.php.

Benutzt $cache, $force_fsockopen, $input_encoding, $timeout, $useragent, error(), fetch_data(), get_type(), sanitize(), SIMPLEPIE_BUILD und SIMPLEPIE_TYPE_NONE.

Wird benutzt von __construct() und fetch_data().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

static merge_items (   $urls,
  $start = 0,
  $end = 0,
  $limit = 0 
)
static

Merge items from several feeds into one

If you're merging multiple feeds together, they need to all have dates for the items or else SimplePie will refuse to sort them.

array $urls List of SimplePie feed objects to merge int $start Starting item int $end Number of items to return int $limit Maximum number of items per feed array

Definiert in Zeile 3011 der Datei SimplePie.php.

Wird benutzt von get_items().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

remove_div (   $enable = true)

Definiert in Zeile 1090 der Datei SimplePie.php.

Benutzt sanitize().

Wird benutzt von set_stupidly_fast().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

sanitize (   $data,
  $type,
  $base = '' 
)

Sanitize feed data

private

Siehe auch
SimplePie_Sanitize::sanitize()
Parameter
string$dataData to sanitize
int$typeOne of the SIMPLEPIE_CONSTRUCT_* constants
string$baseBase URL to resolve URLs against
Rückgabe
string Sanitized data

Definiert in Zeile 1964 der Datei SimplePie.php.

Benutzt $data.

Wird benutzt von __construct(), encode_instead_of_strip(), get_authors(), get_categories(), get_contributors(), get_copyright(), get_description(), get_encoding(), get_image_link(), get_image_title(), get_image_url(), get_language(), get_links(), get_title(), init(), remove_div(), set_image_handler(), set_output_encoding(), set_url_replacements(), strip_attributes(), strip_comments(), strip_htmltags() und subscribe_url().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

set_author_class (   $class = 'SimplePie_Author')

Set which class SimplePie uses for handling author data

Definiert in Zeile 958 der Datei SimplePie.php.

set_autodiscovery_cache_duration (   $seconds = 604800)

Set the length of time (in seconds) that the autodiscovered feed URL will be cached

Parameter
int$secondsThe autodiscovered feed URL cache duration.

Definiert in Zeile 825 der Datei SimplePie.php.

set_autodiscovery_level (   $level = SIMPLEPIE_LOCATOR_ALL)

Set how much feed autodiscovery to do

Siehe auch
SIMPLEPIE_LOCATOR_NONE
SIMPLEPIE_LOCATOR_AUTODISCOVERY
SIMPLEPIE_LOCATOR_LOCAL_EXTENSION
SIMPLEPIE_LOCATOR_LOCAL_BODY
SIMPLEPIE_LOCATOR_REMOTE_EXTENSION
SIMPLEPIE_LOCATOR_REMOTE_BODY
SIMPLEPIE_LOCATOR_ALL
Parameter
int$levelFeed Autodiscovery Level (level can be a combination of the above constants, see bitwise OR operator)

Definiert in Zeile 882 der Datei SimplePie.php.

set_cache_class (   $class = 'SimplePie_Cache')
set_cache_duration (   $seconds = 3600)

Set the length of time (in seconds) that the contents of a feed will be cached

Parameter
int$secondsThe feed content cache duration

Definiert in Zeile 814 der Datei SimplePie.php.

Wird benutzt von __construct().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

set_cache_location (   $location = './cache')

Set the file system location where the cached files should be stored

Parameter
string$locationThe file system location.

Definiert in Zeile 835 der Datei SimplePie.php.

Wird benutzt von __construct().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

set_cache_name_function (   $function = 'md5')

Set callback function to create cache filename with

Parameter
mixed$functionCallback function

Definiert in Zeile 1051 der Datei SimplePie.php.

set_caption_class (   $class = 'SimplePie_Caption')

Set which class SimplePie uses for <media:text> captions

Definiert in Zeile 982 der Datei SimplePie.php.

set_category_class (   $class = 'SimplePie_Category')

Set which class SimplePie uses for handling category data

Definiert in Zeile 966 der Datei SimplePie.php.

set_content_type_sniffer_class (   $class = 'SimplePie_Content_Type_Sniffer')

Set which class SimplePie uses for content-type sniffing

Definiert in Zeile 1022 der Datei SimplePie.php.

set_copyright_class (   $class = 'SimplePie_Copyright')

Set which class SimplePie uses for <media:copyright>

Definiert in Zeile 990 der Datei SimplePie.php.

set_credit_class (   $class = 'SimplePie_Credit')

Set which class SimplePie uses for <media:credit>

Definiert in Zeile 998 der Datei SimplePie.php.

set_enclosure_class (   $class = 'SimplePie_Enclosure')

Set which class SimplePie uses for feed enclosures

Definiert in Zeile 974 der Datei SimplePie.php.

set_favicon_handler (   $page = false,
  $qs = 'i' 
)

Set the favicon handler

Veraltet:
Use your own favicon handling instead

Definiert in Zeile 2931 der Datei SimplePie.php.

set_feed_url (   $url)

Set the URL of the feed you want to parse

This allows you to enter the URL of the feed you want to parse, or the website you want to try to use auto-discovery on. This takes priority over any set raw data.

You can set multiple feeds to mash together by passing an array instead of a string for the $url. Remember that with each additional feed comes additional processing and resources.

Seit
1.0 Preview Release
Siehe auch
set_raw_data()
Parameter
string | array$urlThis is the URL (or array of URLs) that you want to parse.

Definiert in Zeile 718 der Datei SimplePie.php.

Wird benutzt von __construct() und fetch_data().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

set_file ( $file)

Set an instance of {

Siehe auch
SimplePie_File} to use as a feed
Parameter
SimplePie_File&$file
Rückgabe
bool True on success, false on failure

Definiert in Zeile 740 der Datei SimplePie.php.

Benutzt $file.

set_file_class (   $class = 'SimplePie_File')

Set which class SimplePie uses for remote file fetching

Definiert in Zeile 934 der Datei SimplePie.php.

set_image_handler (   $page = false,
  $qs = 'i' 
)

Set the handler to enable the display of cached images.

Parameter
str$pageWeb-accessible path to the handler_image.php file.
str$qsThe query string that the value should be passed to.

Definiert in Zeile 1176 der Datei SimplePie.php.

Benutzt sanitize().

Wird benutzt von set_stupidly_fast().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

set_input_encoding (   $encoding = false)

Set the character encoding used to parse the feed

This overrides the encoding reported by the feed, however it will fall back to the normal encoding detection if the override fails

Parameter
string$encodingCharacter encoding

Definiert in Zeile 858 der Datei SimplePie.php.

set_item_class (   $class = 'SimplePie_Item')

Set which class SimplePie uses for handling feed items

Definiert in Zeile 950 der Datei SimplePie.php.

set_item_limit (   $limit = 0)

Set the limit for items returned per-feed with multifeeds

Parameter
integer$limitThe maximum number of items to return.

Definiert in Zeile 1193 der Datei SimplePie.php.

set_locator_class (   $class = 'SimplePie_Locator')

Set which class SimplePie uses for auto-discovery

Definiert in Zeile 918 der Datei SimplePie.php.

set_max_checked_feeds (   $max = 10)

Set maximum number of feeds to check with autodiscovery

Parameter
int$maxMaximum number of feeds to check

Definiert in Zeile 1085 der Datei SimplePie.php.

set_output_encoding (   $encoding = 'UTF-8')

Set the output encoding

Allows you to override SimplePie's output to match that of your webpage. This is useful for times when your webpages are not being served as UTF-8. This setting will be obeyed by {

Siehe auch
handle_content_type()}, and is similar to {
set_input_encoding()}.

It should be noted, however, that not all character encodings can support all characters. If your page is being served as ISO-8859-1 and you try to display a Japanese feed, you'll likely see garbled characters. Because of this, it is highly recommended to ensure that your webpages are served as UTF-8.

The number of supported character encodings depends on whether your web host supports mbstring, iconv, or both. See http://simplepie.org/wiki/faq/Supported_Character_Encodings for more information.

Parameter
string$encoding

Definiert in Zeile 1144 der Datei SimplePie.php.

Benutzt sanitize().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

set_parser_class (   $class = 'SimplePie_Parser')

Set which class SimplePie uses for XML parsing

Definiert in Zeile 926 der Datei SimplePie.php.

set_rating_class (   $class = 'SimplePie_Rating')

Set which class SimplePie uses for <media:rating>

Definiert in Zeile 1006 der Datei SimplePie.php.

set_raw_data (   $data)

Set the raw XML data to parse

Allows you to use a string of RSS/Atom data instead of a remote feed.

If you have a feed available as a string in PHP, you can tell SimplePie to parse that data string instead of a remote feed. Any set feed URL takes precedence.

Seit
1.0 Beta 3
Parameter
string$dataRSS or Atom data as a string.
Siehe auch
set_feed_url()

Definiert in Zeile 764 der Datei SimplePie.php.

Benutzt $data.

set_restriction_class (   $class = 'SimplePie_Restriction')

Set which class SimplePie uses for <media:restriction>

Definiert in Zeile 1014 der Datei SimplePie.php.

set_sanitize_class (   $class = 'SimplePie_Sanitize')

Set which class SimplePie uses for data sanitization

Definiert in Zeile 942 der Datei SimplePie.php.

set_source_class (   $class = 'SimplePie_Source')

Set which class SimplePie uses item sources

Definiert in Zeile 1030 der Datei SimplePie.php.

set_stupidly_fast (   $set = false)

Set options to make SP as fast as possible

Forgoes a substantial amount of data sanitization in favor of speed. This turns SimplePie into a dumb parser of feeds.

Parameter
bool$setWhether to set them or not

Definiert in Zeile 1067 der Datei SimplePie.php.

Benutzt enable_order_by_date(), remove_div(), set_image_handler(), strip_attributes(), strip_comments() und strip_htmltags().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

set_timeout (   $timeout = 10)

Set the the default timeout for fetching remote feeds

This allows you to change the maximum time the feed's server to respond and send the feed back.

Seit
1.0 Beta 3
Parameter
int$timeoutThe maximum number of seconds to spend waiting to retrieve a feed.

Definiert in Zeile 778 der Datei SimplePie.php.

Benutzt $timeout.

set_url_replacements (   $element_attribute = null)

Set element/attribute key/value pairs of HTML attributes containing URLs that need to be resolved relative to the feed

Defaults to |a|, |area|, |blockquote|

Definiert in Zeile 1165 der Datei SimplePie.php.

Benutzt sanitize().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

set_useragent (   $ua = SIMPLEPIE_USERAGENT)

#@- Set the user agent string

Parameter
string$uaNew user agent string.

Definiert in Zeile 1041 der Datei SimplePie.php.

static sort_items (   $a,
  $b 
)
static

Sorting callback for items

private

Parameter
SimplePie$a
SimplePie$b
Rückgabe
boolean

Definiert in Zeile 2993 der Datei SimplePie.php.

array Stores the default attributes to be stripped by strip_attributes (   $attribs = '')
Siehe auch
SimplePie::strip_attributes() private

Definiert in Zeile 1113 der Datei SimplePie.php.

Benutzt $strip_attributes und sanitize().

Wird benutzt von set_stupidly_fast().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

strip_comments (   $strip = false)

Definiert in Zeile 1149 der Datei SimplePie.php.

Benutzt sanitize().

Wird benutzt von set_stupidly_fast().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

array Stores the default tags to be stripped by strip_htmltags (   $tags = '',
  $encode = null 
)
Siehe auch
SimplePie::strip_htmltags() private

Definiert in Zeile 1095 der Datei SimplePie.php.

Benutzt $strip_htmltags und sanitize().

Wird benutzt von set_stupidly_fast().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

subscribe_url ( )

Get the URL for the feed

May or may not be different from the URL passed to {

Siehe auch
set_feed_url()}, depending on whether auto-discovery was used.
Seit
Preview Release (previously called get_feed_url() since SimplePie 0.8.)
Noch zu erledigen:

If we have a perm redirect we should return the new URL

When we make the above change, let's support <itunes:new-feed-url> as well

Also, |atom:link|=self

Rückgabe
string|null

Definiert in Zeile 1742 der Datei SimplePie.php.

Benutzt sanitize() und SIMPLEPIE_CONSTRUCT_IRI.

Wird benutzt von get_base().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

Dokumentation der Datenelemente

$all_discovered_feeds = array()

Definiert in Zeile 561 der Datei SimplePie.php.

Wird benutzt von get_all_discovered_feeds().

$autodiscovery = SIMPLEPIE_LOCATOR_ALL

Definiert in Zeile 540 der Datei SimplePie.php.

$autodiscovery_cache_duration = 604800

Definiert in Zeile 504 der Datei SimplePie.php.

$cache = true

Definiert in Zeile 490 der Datei SimplePie.php.

Wird benutzt von fetch_data() und init().

$cache_duration = 3600

Definiert in Zeile 497 der Datei SimplePie.php.

$cache_location = './cache'

Definiert in Zeile 511 der Datei SimplePie.php.

$cache_name_function = 'md5'

Definiert in Zeile 518 der Datei SimplePie.php.

$config_settings = null

Definiert in Zeile 588 der Datei SimplePie.php.

$data = array()

Definiert in Zeile 419 der Datei SimplePie.php.

Wird benutzt von sanitize() und set_raw_data().

Definiert in Zeile 425 der Datei SimplePie.php.

Wird benutzt von error().

$feed_url

Definiert in Zeile 446 der Datei SimplePie.php.

$file

Definiert in Zeile 453 der Datei SimplePie.php.

Wird benutzt von __call(), fetch_data() und set_file().

$force_feed = false

Definiert in Zeile 483 der Datei SimplePie.php.

$force_fsockopen = false

Definiert in Zeile 475 der Datei SimplePie.php.

Wird benutzt von init().

$image_handler = ''

Definiert in Zeile 568 der Datei SimplePie.php.

$input_encoding = false

Definiert in Zeile 533 der Datei SimplePie.php.

Wird benutzt von init().

$item_limit = 0

Definiert in Zeile 595 der Datei SimplePie.php.

$max_checked_feeds = 10

Definiert in Zeile 554 der Datei SimplePie.php.

$multifeed_objects = array()

Definiert in Zeile 581 der Datei SimplePie.php.

$multifeed_url = array()

Definiert in Zeile 575 der Datei SimplePie.php.

$order_by_date = true

Definiert in Zeile 525 der Datei SimplePie.php.

$raw_data

Definiert in Zeile 460 der Datei SimplePie.php.

Wird benutzt von get_raw_data().

$registry

Definiert in Zeile 547 der Datei SimplePie.php.

Wird benutzt von get_registry().

Definiert in Zeile 432 der Datei SimplePie.php.

$strip_attributes = array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc')

Definiert in Zeile 602 der Datei SimplePie.php.

Wird benutzt von strip_attributes().

$strip_htmltags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style')

Definiert in Zeile 609 der Datei SimplePie.php.

Wird benutzt von strip_htmltags().

$timeout = 10

Definiert in Zeile 467 der Datei SimplePie.php.

Wird benutzt von init() und set_timeout().

$useragent = SIMPLEPIE_USERAGENT

Definiert in Zeile 439 der Datei SimplePie.php.

Wird benutzt von init().


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.