SimplePie 1.5 is now available!

SimplePie Documentation.  Learn how to use this thing.  It's way better than going to school.

You are here: Documentation

Search

You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button.

Results


SimplePie 1.0 "Razzleberry": 135 Hits
for accessing //ANY// element or attribute in the feed via ''[[reference:SimplePie:get_channel_tags]]'', ''[[reference:SimplePie:get_feed_tags]]'', ''[[reference:SimplePie:get_image_tags]]'' and ''[[reference:SimplePie_Item:get_item_tags]]''. (RC1) * Added the... C1) * Added the ability to get an item's parent feed via ''[[reference:SimplePie_Item::get_feed]]''. (RC1) * Improved ... sizing. Defaults to 480x270. (RC1) * Added ''[[reference:SimplePie:subscribe_itunes]]'', which allows for automatic
embed(): 39 Hits
ideo resolution. ===== Examples ===== <code php>$feed = new SimplePie(); $feed->set_feed_url('http://youtube.com/rss/gl... rue )); } }</code> ===== See Also ===== * [[reference:SimplePie:start]] * [[reference:SimplePie_Item:start]] * [[reference:SimplePie_Enclosure:start]] * [[reference:SimplePie_Enclosure:native_embed
native_embed(): 38 Hits
ideo resolution. ===== Examples ===== <code php>$feed = new SimplePie(); $feed->set_feed_url('http://youtube.com/rss/gl... rue )); } }</code> ===== See Also ===== * [[reference:SimplePie:start]] * [[reference:SimplePie_Item:start]] * [[reference:SimplePie_Enclosure:start]] * [[reference:SimplePie_Enclosure:embed]]
set_item_class(): 33 Hits
the Google-namespaced <gd:when> tag. // http://simplepie.org/wiki/tutorial/grab_custom_tags_or_attributes $when =... } } // Let's do our standard SimplePie thing. $feed = new SimplePie(); $feed->set_feed_url('http://www.google.com/cal... </body> </html></code> ===== See Also ===== * [[reference:SimplePie:start]] * [[reference:SimplePie_Item:start]]
set_useragent(): 31 Hits
ows you to override the [[http://en.wikipedia.org/wiki/User_agent|user agent string]] that SimplePie sends to the remote server. This value is passed... s ===== ==== ua ==== A new user agent string for SimplePie to use. Defaults to [[reference:SimplePie:SIMPLEPIE_USERAGENT]]. ===== Examples ... to the existing user agent string ==== <code php>$feed = new SimplePie(); $feed->set_feed_url('http://simplepie.org/blog/feed/'); $feed->set_useragent('Mozilla/4.0 '.SIMPLEPIE_USERAGENT); $feed->init(); $feed->handle_conten
Sorting by custom criteria instead of date: 29 Hits
ab extra Digg-specific data, and we'll extend the SimplePie class and override the [[reference:SimplePie:sort_items]] method to sort by number o... necessary libraries. Digg Add-on found at http://simplepie.org/wiki/addons/digg require_once('simplepie.inc'); require_once('simplepie_digg.inc'); // Extend the SimplePie class and override the existing sort_items() func... with our own. class SimplePie_Custom_Sort extends SimplePie { public static function sort_items($a, $b) {