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

"Olivia, my eldest daughter, caught measles when she was seven years old. As the illness took its usual course I can remember reading to her often in bed and not feeling particularly alarmed about it. Then one morning, when she was well on the road to recovery, I was sitting on her bed showing her how to fashion little animals out of coloured pipe-cleaners, and when it came to her turn to make one herself, I noticed that her fingers and her mind were not working together and she couldn’t do anything. 'Are you feeling all right?' I asked her. 'I feel all sleepy,' she said. In an hour, she was unconscious. In twelve hours she was dead. The measles had turned into a terrible thing called measles encephalitis and there was nothing the doctors could do to save her. That was...in 1962, but even now, if a child with measles happens to develop the same deadly reaction from measles as Olivia did, there would still be nothing the doctors could do to help her. On the other hand, there is today something that parents can do to make sure that this sort of tragedy does not happen to a child of theirs. They can insist that their child is immunised against measles. ...I dedicated two of my books to Olivia, the first was ‘James and the Giant Peach’. That was when she was still alive. The second was ‘The BFG’, dedicated to her memory after she had died from measles. You will see her name at the beginning of each of these books. And I know how happy she would be if only she could know that her death had helped to save a good deal of illness and death among other children."

I just checked google books for BFG, and the dedication is there. 

https://www.google.com.au/books/edition/_/quybcXrFhCIC?hl=en&gbpv=1 


Roald Dahl, 1986
Random CSS Property

@font-feature-values

The @font-feature-values CSS at-rule lets you use a common name in the font-variant-alternates property for features activated differently in OpenType. This can help simplify your CSS when using multiple fonts.
@stylistic css reference