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


Matching pagenames:

 
API Reference: 276 Hits
ence:setInputEncoding]] -- Override the character set within the feed. * [[live:reference:setOutputEncoding]] -- Set ... ''NULL'' in Multifeeds mode. * [[live:reference:feed.encoding]] -- Get the character set for the returned values. Returns ''NULL'' in Mul... able in Multifeeds mode. * [[live:reference:feed.items.feed.encoding]] -- Get the character set for the returned values. Only available in Multifeeds mode. * [[live:reference:feed.items.feed.favicon]] -- Get the URL for the favic
API Reference: 155 Hits
* [[reference:SimplePie:set_cache_duration]] — Set the minimum time for which a feed will be cached. * [[reference:SimplePie:set_cac... ges. * [[reference:SimplePie:set_item_limit]] — Set a limit on how many items are returned per feed with Multifeeds. * [[reference:SimplePie:set_ja... ce:SimplePie:set_autodiscovery_cache_duration]] — Set the maximum time for which an autodiscovered feed URL will be cached. * [[reference:SimplePie:set... filenames. * [[reference:SimplePie:set_file]] — Set an instance of [[reference:SimplePie_File:start]] to use as a feed. * [[reference:SimplePie:set_input_encoding]] —
Customization: 83 Hits
ou want to override the default settings on a per-feed basis, these are the options that you can set (as discussed in [[plugins:wordpress:simplepie_pl... | ^ enable_cache | boolean | Whether the given feed should be cached or not. | ^ enable_order_by_da... ith them. | ^ items | integer | The number of feed items to display. Will display this value, or all of the items in the feed -- whichever is less. | ^ items_per_feed | integer | The number of fee
Sort multiple feeds by time and date: 52 Hits
sh multiple feeds together, how do you know which feed title or favicon to use? You don't. So, the obj... gets created when mashing feeds does not have any feed-level data. * You can still get at an individual item's parent feed data using the ''[[reference:SimplePie_Item:get_feed]]'' method. * All feed i... oloader.php'); // Create a new SimplePie object $feed = new SimplePie(); // Instead of only passing in
SimplePie: 51 Hits
===== ==== SimplePie <1.3 ==== === feed_url === Set the feed URL(s) (like calling [[reference:SimplePie:set_feed_url]]), and initialise the feed (like [[reference:SimplePie:init]]). Deprecated. === cache_location === Set the cache location (like calling [[reference:SimplePie:set_cache_location]]). Deprecated. === cache_duration === Set the cache duration (like calling [[reference:SimplePie:set_ca
set_stupidly_fast(): 48 Hits
ode>class SimplePie { set_stupidly_fast ( [bool $set = false] ) }</code> Set options to make SimplePi... since SimplePie 1.0. ===== Parameters ===== ==== set ==== Whether to trade data cleanliness for raw sp... ==== Enable "Stupidly Fast" mode ==== <code php>$feed = new SimplePie(); $feed->set_feed_url('http://simplepie.org/blog/feed/'); $feed->set_stupidly_fast(true); $feed->init(); $feed->handle_content_type(
strip_htmltags(): 43 Hits
object', 'param', 'script', 'style')] ) }</code> Set which HTML tags get stripped from an entry's content. The default set of tags is stored in the //property// SimplePie->strip_htmltags, not to be con... revent ANY HTML tags from being stripped from the feed content. This is potentially unsafe, so we do not recommend it. <code php>$feed = new SimplePie(); $feed->set_feed_url('http://simplepie.org/blog/fe
set_feed_url(): 30 Hits
== Parameters ===== ==== feed_url (required) ==== Set the feed URL(s). ===== Examples ===== ==== Set the feed URL to the SimplePie blog ==== <code php>$feed = new SimplePie(); $feed->set_feed_url('http://simplepie.org/blog/feed/'); $feed->init(); $feed->handle_content_type(); echo $feed->get_title();</... eds with the same config settings ==== <code php>$feed = new SimplePie(); $feed->set_feed_url(array( 'h
strip_attributes(): 30 Hits
ocus', 'onblur', 'lowsrc', 'dynsrc')] ) }</code> Set which attributes get stripped from an entry's content. The default set of attributes is stored in the //property// SimplePie->strip_attributes, not ... any attributes (not recommended) ==== <code php>$feed = new SimplePie(); $feed->set_feed_url('http://simplepie.org/blog/feed/'); $feed->strip_attributes(false); $feed->init(); $feed->handle_content_type(
Limit the number of items per feed to be used with Multifeeds: 30 Hits
instead.** ====== Limit the number of items per feed to be used with Multifeeds ====== In SimplePie 1.... show you how to merge only the first 5 items per feed, and sort those by date and time. There are a fe... sh multiple feeds together, how do you know which feed title or favicon to use? You don't. So, the obj... gets created when mashing feeds does not have any feed-level data. * You can still get at an individua
SimplePie 1.0 "Razzleberry": 29 Hits
for accessing //ANY// element or attribute in the feed via ''[[reference:SimplePie:get_channel_tags]]'',... Time. (RC1) * Better compliance and support for feed auto-discovery. (RC1) * More accurate support f... C1) * Added the ability to get an item's parent feed via ''[[reference:SimplePie_Item::get_feed]]''. (... RSS]]. We support everything that is relevant to feed management, but there are other things that are s
Setting up a cron job for SimplePie and SimplePie Plugin for Wordpress: 28 Hits
Pie Plugin for Wordpress ====== This procedure to set up a cron job to update the SimplePie cache in th... epie.inc'; $urls = array([enter all your feed urls here]); $cache_location = './cache'; // change to your cache location $feed = new SimplePie(); $feed->set_feed_url($urls); $feed->set_cache_location($cache_location); $feed->set_cache_duration(0); //
Yahoo! Weather: 27 Hits
er:location> data function _get_location() { $feed = $this->get_feed(); return $feed->get_channel_... yweather:units> data function _get_units() { $feed = $this->get_feed(); return $feed->get_channel_... <yweather:wind> data function _get_wind() { $feed = $this->get_feed(); return $feed->get_channel_... tmosphere> data function _get_atmosphere() { $feed = $this->get_feed(); return $feed->get_channel_
Create a sample SimplePie-enabled page: 27 Hits
the default options. $feed = new SimplePie(); // Set which feed to process. // Run SimplePie. $feed->init(); //... the default options. $feed = new SimplePie(); // Set the feed to process. $feed->set_feed_url // Run SimplePie. $feed->init(); // This makes sure that the content is sent to the browser as text/html and the UTF-8 character set (since we didn't change it). $feed->handle_content_type(); // Let's begi
feed.title: 17 Hits
Digg RSS: 16 Hits
set_timeout(): 14 Hits
get_type(): 14 Hits
force_feed(): 13 Hits
get_feed(): 13 Hits
get_favicon(): 13 Hits
get_item(): 13 Hits
Jaiku RSS: 12 Hits
get_items(): 12 Hits
set_file(): 11 Hits
get_id(): 11 Hits
get_item(): 11 Hits
get_title(): 10 Hits
embed(): 9 Hits
get_source(): 9 Hits
remove_div(): 9 Hits
RSS Feeder: 9 Hits
SimplePie: 9 Hits
Shopify: 9 Hits
__destruct(): 9 Hits
get_author(): 9 Hits
get_author(): 8 Hits
get_value(): 8 Hits
get_scheme(): 8 Hits
get_type(): 8 Hits
get_width(): 8 Hits
error(): 8 Hits
get_value(): 8 Hits
get_title(): 8 Hits
get_date(): 8 Hits
get_scheme(): 8 Hits
get_type(): 8 Hits
get_scheme(): 8 Hits
get_name(): 8 Hits
get_url(): 8 Hits
get_term(): 8 Hits
get_label(): 8 Hits
sort_items(): 8 Hits
get_email(): 8 Hits
get_link(): 8 Hits
get_name(): 8 Hits
get_text(): 8 Hits
get_type(): 8 Hits
get_credit(): 8 Hits
get_role(): 8 Hits
get_rating(): 8 Hits
get_player(): 8 Hits
get_medium(): 8 Hits
get_link(): 8 Hits
get_title(): 8 Hits
get_size(): 8 Hits
get_length(): 8 Hits
get_hash(): 8 Hits
get_hashes(): 8 Hits
get_height(): 8 Hits
Slick RSS: 5 Hits
Installation: 2 Hits