This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



Allows inlcusion of RSS feeds, external html etc from any source in any format, and optionally transforms the feed via XSLT.


First of all, you need to set up a preset in the options page. Each
preset has:

  • Name: a unique name for referencing the feed from your php or posts
  • URL: where to fetch the feed from
  • Options: optional arguments to affect output
  • XSLT parameters: optional parameters to feed to any XSL

The most obvious application of this is to pull in a news feed and
transform it nicely for placing on your site.

You can access the functionality via two methods, either by calling
the DGE_InlineRSS method directly, or by using the inline filter

Filter method

This is the simplest method, and can be called from anywhere in a post or page without editing any PHP.

Just write !inlineRSS: followed by a preset name. So for example if you’d set one up for the latest BBC news with a name of ‘bbcnews’, you’d write this anywhere in your post:


Direct method

Still keeping it simple, you can call the DGE_InlineRSS function
directly from your theme templates, just echoing the result:

echo DGE_InlineRSS('uniquename');

However, it can get quite complicated if you want to. You can call it
from plugin code, supplying all the details without ever actually
setting up a preset.

$xml = DGE_InlineRSS('davesplugin', $url,
                     // InlineRSS options in the first array
                     // Your own options for the XSLT parameters


  • The time in minutes to cache the results for


  • An xsl file to use for translating the feed


  • Pass in the xml you want translated, bypassing the url.

html (on it’s own)

  • Tells the xslt processor to treat the input as html, rather than xml.


This is a fork, and subsequent development, of the Cal Demaine’s
inlineRSS plugin
(v1.1). Cal put a lot of work into his plugin, and I’m very grateful
for those foundations. However, I’ve decided to fork from v1.1 to meet
my own needs. So far, I added some handy features and bug fixes. Cal,
if you’re listening/watching, feel free to incorporate any of this
into your plugin.

Details of the initial changes, plus historical necessity for them are

Full changelog here


  • Options panel in wordpress admin area
  • Config file replaced by ‘presets’ in options page
  • Configurable cache dir, cache file prefix, and xslt dir.
  • Simplified php call down to an id, url, array of options, array of
    xslt params.
  • Unix-like path searching for xslt files.


All original inlineRSS features, plus:

  • Allows passing of parameters into XSL template.
  • PHP 5 fixes.

Related plugins

  • DGE_SlideShow uses
    this plugin to fetch photo streams from Zooomr or Flickr.


Copyright (C) 2005 Cal Demaine (original work)

Copyright (C) 2006 Dave Elcock (further developments)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

The GNU General Public License is available here:

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code