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


Goals for SimplePie 2: 62 Hits
p of MagpieRSS to one of the world's most popular feed parsers with thousands and thousands of users all... written. Please mark your contributions with "~~ wiki-username" so that we know who to ask if we need c... ovide a solid, reliable **platform** for building feed-related tools. This will include not only a robus... e a healthy ecosystem for managing syndication in PHP with open-source tools. ===== Important Areas of
Formatting Syntax: 60 Hits
s|images]] (see below) like this: [[http://www.php.net|{{wiki:dokuwiki-128.png}}]] [[http://www.php.net|{{wiki:dokuwiki-128.png}}]] Please note: The image formatting is the only formatting syntax accepted in l... ize of them. Real size: {{wiki:dokuwiki-128.png}} Resize to given width: {{wiki:dokuwiki-128.png?50}} Resize to given width and height((when the aspect ratio of the gi
SimplePie Plugins and Integration: 40 Hits
meka plugins. ===== PHP-Nuke ===== * [[plugins:PHP-Nuke:nukePIE]] -- Replace limited PHP-Nuke RSS block feed reader with SimplePie and BoxOver tooltips. ===== phpwcms ===== * Support for SimplePie (... thout even logging in! * [[http://simplepie.org/wiki/tutorial/how_to_replicate_popurls|NewsBlocks Demo... ie plugin. ===== PunBB ===== * [[plugins:PunBB:Feed Aggregator]] -- Easily add feeds to your PunBB-po
SimplePie Plugin for Mediawiki: 33 Hits
==== About the Plugin ==== This plugin adds a ''<feed>'' tag to Mediawiki that allows you to display feeds in your wiki. ===== Installation ===== ==== Upgrading from an... at your MediaWiki settings file lives at ''http://wiki.example.com/LocalSettings.php''. === Step 1: Download both the required files ... ki settings file === Open up your ''LocalSettings.php'' file which lives at ''http://wiki.example.com/LocalSettings.php''. At the very bottom of the file, but above the closing PHP tag (?>), add this lin
SimplePie 1.0 "Razzleberry": 28 Hits
RC1) * [[http://simplepie.org/support/viewtopic.php?id=431|Bug 431]] - Feed image title in every item is confusing get_title(... RC1) * [[http://simplepie.org/support/viewtopic.php?id=542|Bug 542]] - When feed retrieval times out, SP should use the previously... RC1) * [[http://simplepie.org/support/viewtopic.php?id=567|Bug 567]] - Fatal error in PHP 5.2 (RC1) * [[http://simplepie.org/support/viewtopic.php?id=587|Bug 587]] - Regression. SP Hangs. (RC1) *
set_item_class(): 25 Hits
feed->handle_content_type(); ?> <html> <body> <?php foreach ($feed->get_items(0,5) as $item): ?> <h4><a href="<?php echo $item->get_permalink()?>"><?php echo $item->get_title()?></a></h4> <p><small><?php echo $item->get_date('j F Y, g:i a')?></small></p> <p><?php echo $item->get_description()?></p> <p>Starts on <?php echo $item->get_gcal_starttime('j F Y')?></p> <p>GUID: <?php echo $item->get
Getting Started: 24 Hits
t to override the default settings for a specific feed, or any other kind of customization, check out th... ics ===== Let's start with something basic: <code php> <?php echo SimplePieWP('http://simplepie.org'); ?> </code> This code sample will display the feed using all of the default settings. If you ever want to change the settings for this feed, you could do everything directly from the control panel, as
Sorting by custom criteria instead of date: 23 Hits
ound-color:#ff9; } </style> </head> <body> <?php foreach ($feed->get_items() as $item): ?> <h2><span class="diggs"><?php echo $item->get_digg_count(); ?></span> <a href="<?php echo $item->get_permalink(); ?>"><?php echo $item->get_title(); ?></a></h2> <p><?php echo $item->get_description(); ?... <small>Posted by <a href="http://digg.com/users/<?php echo $item->get_submitter_username(); ?>"><?php e
SimplePie Plugin for Textpattern: 21 Hits
= About the Plugin ==== This plugin adds a ''<txp:feed>'' tag to Textpattern that allows you to display feeds in your wiki. ===== Installation ===== ==== Upgrading from ... , check out the [[http://textbook.textpattern.net/wiki/index.php?title=Intermediate_Weblog_Model#Adding_Plugins_to... tag to your Textpattern installation: the ''<txp:feed>'' tag. Here's how you use it:\\ **Changes from v... 1.2.1 to 1.2.2 highlighted in bold.** - ''<txp:feed>http://example.com/feed.xml</txp:feed>''\\ To loa
How to make description links open in a new window: 19 Hits
ation is by parsing the [[http://en.wikipedia.org/wiki/Document_Object_Model|DOM]]. Newer versions of PHP have a DOM extension, but because SimplePie still... </head> <body> <div class="feeds"> <ol> <?php foreach ($feed->get_items() as $item): ?> <li><a href="<?php echo $item->get_permalink(); ?>"><?php echo $item->get_title(); ?></a></li> <?php echo $item->get_description(); ?> <?php endforeach; ?> </ol> </div> </body> </html> </code>
Translate timestamps into another language: 15 Hits
mestamps into another language ====== By default, PHP displays timestamps in English. Since SimplePie'... erence:SimplePie_Item:get_date]] method relies on PHP's [[http://php.net/date|date()]] function, get_da... e:SimplePie_Item:get_local_date]] which leverages PHP's [[http://php.net/strftime|strftime()]] function... te]] accepts values that are accepted by [[http://php.net/strftime|strftime()]]. We also need to call
set_useragent(): 10 Hits
4.0' 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_content_type(); echo $feed->get_title();</code> ===== See Also ===== {{backlinks>
How do I get a thumbnail from a YouTube feed?: 10 Hits
====== How do I get a thumbnail from a YouTube feed? ====== SimplePie 1.0 introduces full support for [[... * Code in this tutorial should be compatible with PHP 4.3 or newer, and should not use PHP short tags, in order to support the largest number of PHP installations. ===== Code source ===== <code php><?php // Make sure that SimplePie is loaded require_once('simplepie.inc'); // Let's simplify this with
SimplePie Credits: 9 Hits
he guy who packaged the [[http://en.wikipedia.org/wiki/Internet_explorer#.22Standalone.22_Internet_Explo... s, layered semantic markup, working with XML/JSON/PHP/REST-based web services, and content syndication ... ie since 0.90 was released in 2004. Geoffrey is a PHP wizz-kid who has really focused on ensuring that ... and often ends up doing [[http://en.wikipedia.org/wiki/The_Fish_slapping_dance|the fish slapping dance]]
embed(): 8 Hits
sanitize(): 3 Hits