SimplePie Documentation: API Reference

SimplePie

 

Constructor

  • SimplePie — construct a new SimplePie object.

Constants

Methods

 

Configuration (Required)

Configuration (Basic)

Configuration (Advanced)

Extending Classes (Advanced)

Processing

  • __destruct() – Used for avoiding memory leaks when processing lots of feeds.
  • error() — Return the error message for the occured error.
  • handle_content_type() — Sets the proper HTTP headers for the page, setting the character set to match the output encoding.
  • init() — Initialise the feed, parsing it, etc.

Feed-Level Data (Basic)

Feed-Level GeoData

Feed Logo

Feed-Level Data Hacking (Advanced)

  • get_all_discovered_feeds() — Get all feeds discovered during the autodiscovery process.
  • get_base() – Get the xml:base value of a given element.
  • get_channel_tags() — Get the value of ANY tag in the “channel” section of the feed.
  • get_feed_tags() — Get the value of ANY tag in the “feed” section of the feed.
  • get_image_tags() — Get the value of ANY tag in the “image” section of the feed.
  • merge_items() — Merge the items of multiple feeds together.
  • sanitize() – Sanitizes data based on the type of data it is expected to be.
  • sort_items() – An over-ridable method that handles the sorting of items by some criteria.

One-Click Subscriptions

SimplePie_Item

Methods

 

Item-Level Data (Basic)

Item-Level GeoData

Item-Level Data Hacking (Advanced)

  • get_base() – Get the xml:base value of a given element.
  • get_item_tags() — Get the value of ANY tag in the item.
  • sanitize() – Sanitizes data based on the type of data it is expected to be.

Bookmarking

SimplePie_Author

Methods

 

Author-Level Data

SimplePie_Category

Methods

 

Category-Level Data

  • get_term() — Get the category's identifier.
  • get_scheme() — Get the category's categorization scheme identifier.
  • get_label() — Get the category's human-readable label.

SimplePie_Enclosure

Methods

 

Enclosure-Level Data

Extended Enclosure-Level Data (Media RSS, iTunes RSS)

Embedding

  • embed() — Automatically embed the enclosure in the page using JavaScript.
  • native_embed() — Automatically embed the enclosure in the page using the <embed> tag.

SimplePie_Caption

Methods

 

Caption-Level Data

SimplePie_Copyright

Methods

 

Copyright-Level Data

SimplePie_Credit

Methods

 

Credit-Level Data

SimplePie_Rating

Methods

 

Rating-Level Data

SimplePie_Restriction

Methods

 

Restriction-Level Data

SimplePie_Source

Methods

Most of these methods are identical to those of SimplePie and SimplePie_Item methods, so we're linking back to those docs.

Source-Level Data (Basic)

Source-Level GeoData

Source-Level Data Hacking (Advanced)

  • get_base() – Get the xml:base value of a given element.
  • get_source_tags() – Get the value of ANY tag in the source.
  • sanitize() – Sanitizes data based on the type of data it is expected to be.

SimplePie_Cache (Non-Public)

SimplePie_Cache_File (Non-Public)

SimplePie_Content_Type_Sniffer (Non-Public)

SimplePie_Decode_HTML_Entities (Non-Public)

SimplePie_File (Non-Public)

SimplePie_Locator (Non-Public)

SimplePie_HTTP_Parser (Non-Public)

SimplePie_Misc (Non-Public)

SimplePie_Parser (Non-Public)

SimplePie_Parse_Date (Non-Public)

SimplePie_Sanitize (Non-Public)

SimplePie_XML_Declaration_Parser (Non-Public)

keywords reference,start

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Linx
Search Linx by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

You could also follow me on twitter. I have a couple of youtube channels if you want to see some video related content. RuneScape 3, Minecraft and also a coding channel here Web Dev.

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote

james clear
Random CSS Property

@viewport

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
viewport-fit (@viewport) css reference