SimplePie 1.5 is now available!

SimplePie Developer Weblog.  Not that we really have anything to say, but if you'll listen, why not?

SimplePie is on the Hot 100! 25 Jun 2006 

According to the Museum of Modern Betas, SimplePie has made the “Hot 100” for the week ending on June 25th, 2006.

What is the Hot 100, you ask?

The hottest betas in the webosphere, as measured by the number of bookmarks at del.icio.us added within the last 7 days. This list will be updated each Sunday.

SimplePie clocked in at number 65. We were bested by Flickr (2), Netvibes (9), Gmail (16), Delicious (24), Newsvine (36), Google Maps (39), and Magnolia (54). However, we ranked higher than projects like Writely (70), Windows Live (71), Blinklist (77), and Yahoo! Podcasts (86).

We’re proud to be on this list! Let’s see if we can rank higher next week!

Posted by Ryan Parman at 4:26 pm. Comments (3)

XMLdump the Quick Way (Beta 2) 22 Jun 2006 

Early in the days of SimplePie development, I built-in functionality that I called “XMLdump” that would dump the post-processed, pre-cached XML to the screen as XML. When a feed is read, there is a certain amount of pre-cleaning we do to make sure that what we’re parsing more closely resembled valid RSS (or Atom). After this pre-cleaning is done, you can invoke XMLdump to see the XML that SimplePie will actually be parsing, just before it’s parsed.

The only currently documented way is to use the enable_xmldump() configuration option. There is another way (as of Beta 2) to quickly snap your SimplePie-enabled pages into XMLdump mode. If the page’s URL already has a querystring appended to it (page.php?keyword=value&keyword2=value2), you’d append &xmldump=true to the end of the URL. If it’s a normal page with no querystring, append ?xmldump=true to snap it into XMLdump mode.

This only works under two conditions:

  1. The first thing in the source code must be a PHP block where SimplePie is being initialized. There cannot be any spaces or linebreaks, because that would throw a warning.
  2. The second is that this was designed for a single feed per page. As such, if you have multiple feeds on a page, this will only display the first one. This is true for the whole XMLdump mode, not just this little trick.

How do the SimplePie plugins work with this? Let’s see. Testing version 1.2 of the plugins:

  • Textpattern: Perfect
  • WordPress: Kicks in after content has already been sent to the browser. As such, you get an XML error, but if you dig into the source, you can see the feed contents.
  • Mediawiki: Doesn’t even try to do anything (at least with the non-clean URLs).

We’ll be looking into working this out in an upcoming version of our plugins.

So there you go. XMLdump has been a very handy debugging tool for us, and hopefully it can help you too.

Posted by Ryan Parman at 1:55 pm. Comments (0)

SimplePie Plugins updated to version 1.2 20 Jun 2006 

Plugin

We’ve updated our plugins for WordPress, Textpattern, and Mediawiki to version 1.2. In this release, we’ve added a couple of new keywords/attributes: showtitle can hide or show the feed’s title, and alttitle allows you to set a custom feed title.

If you’re currently using one of these plugins, you can simply replace the old file with the new one to upgrade. If you haven’t taken the SimplePie plunge yet, these plugins make it easy to bring feeds into your sites. Check them out!

Posted by Ryan Parman at 8:38 am. Comments (0)

« Newer Posts

Older Posts »