Overview

Packages

  • None
  • SimplePie

Classes

  • SimplePie
  • SimplePie_Author
  • SimplePie_Autoloader
  • SimplePie_Cache
  • SimplePie_Cache_DB
  • SimplePie_Cache_File
  • SimplePie_Cache_Memcache
  • SimplePie_Cache_MySQL
  • SimplePie_Caption
  • SimplePie_Category
  • SimplePie_Content_Type_Sniffer
  • SimplePie_Copyright
  • SimplePie_Core
  • SimplePie_Credit
  • SimplePie_Decode_HTML_Entities
  • SimplePie_Enclosure
  • SimplePie_File
  • SimplePie_gzdecode
  • SimplePie_HTTP_Parser
  • SimplePie_IRI
  • SimplePie_Item
  • SimplePie_Locator
  • SimplePie_Misc
  • SimplePie_Net_IPv6
  • SimplePie_Parse_Date
  • SimplePie_Parser
  • SimplePie_Rating
  • SimplePie_Registry
  • SimplePie_Restriction
  • SimplePie_Sanitize
  • SimplePie_Source
  • SimplePie_XML_Declaration_Parser

Interfaces

  • SimplePie_Cache_Base
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class SimplePie_Item

Manages all item-related data

Used by SimplePie_Core::get_item() and SimplePie_Core::get_items()

This class can be overloaded with SimplePie_Core::set_item_class()

Package: SimplePie
Located at SimplePie/Item.php
Methods summary
public
# __construct( $feed, $data )
public
# set_registry( SimplePie_Registry & $registry )
public
# __toString( )
public
# __destruct( )

Remove items that link back to this before destroying this object

Remove items that link back to this before destroying this object

public
# get_item_tags( $namespace, $tag )
public
# get_base( $element = array() )
public
# sanitize( $data, $type, $base = '' )
public
# get_feed( )
public
# get_id( $hash = false )
public
# get_title( )
public
# get_description( $description_only = false )
public
# get_content( $content_only = false )
public
# get_category( $key = 0 )
public
# get_categories( )
public
# get_author( $key = 0 )
public
# get_contributor( $key = 0 )
public
# get_contributors( )
public
# get_authors( )
public
# get_copyright( )
public
# get_date( $date_format = 'j F Y, g:i a' )
public
# get_updated_date( $date_format = 'j F Y, g:i a' )
public
# get_local_date( $date_format = '%c' )
public
# get_gmdate( $date_format = 'j F Y, g:i a' )
public
# get_updated_gmdate( $date_format = 'j F Y, g:i a' )
public
# get_permalink( )
public
# get_link( $key = 0, $rel = 'alternate' )
public
# get_links( $rel = 'alternate' )
public
# get_enclosure( $key = 0, $prefer = null )

Todo

Add ability to prefer one type of content over another (in a media group).
public
# get_enclosures( )

Grabs all available enclosures (podcasts, etc.)

Grabs all available enclosures (podcasts, etc.)

Supports the <enclosure> RSS tag, as well as Media RSS and iTunes RSS.

At this point, we're pretty much assuming that all enclosures for an item are the same content. Anything else is too complicated to properly support.

Todo

Add support for end-user defined sorting of enclosures by type/handler (so we can prefer the faster-loading FLV over MP4).
If an element exists at a level, but it's value is empty, we should fall back to the value from the parent (if it exists).
public
# get_latitude( )
public
# get_longitude( )
public
# get_source( )
Properties summary
public $feed
#
public array $data array()
#
protected $registry
#
SimplePie Documentation API documentation generated by ApiGen 2.4.0