Magpie 0.6

April 24th, 2004

MagpieRSS 0.6 is out. It was a rather long alpha, hopefully that means people tried it, and it worked.

Key features are

  • support for private RSS feeds (via SSL, and HTTP Auth Basic) is working again.
  • refactored the code to support Atom’s “content constructs”, now supports: atom:title, atom:tagline, atom:copyright, atom:info, atom:summary, and atom:content. Thanks to Tim Bishop for feedback and encouragement.

update: – where “refactor” meant introduced bugs. MagpieRSS 0.61 is now out.


Quick review
  • Content is normalized. You can access core RSS elements using Atom field names and visa vera.
  • atom:content is stored in $item['atomcontent'] to avoid clashing with RSS modcontent.
  • content constructs are flattened (as if they were always mode="escaped")
  • Everything else is concatted into hierachical namespace.
  • I’ve made no attempt to support base64 encoding

Private RSS (and Atom)

  • To access a feed via SSL use the https:// scheme, e.g.
  • To access a feed behind basic HTTP authentication include the username and password in the URL, e.g.
  • And, no surprises here, you can combine them
It would be useful if someone could step up and maintain a list of aggregators that support private RSS feeds, a matrix of support for SSL, HTTP Basic Auth, and HTTP Digest Auth, like Ted has done for GZIP encoding. (Danny started to put together a feature matrix but it looks like that project was stillborn.)

Tagged: Uncategorized , ,

One response to “Magpie 0.6”

  1. spider says:

    any example php code?

    Like I am trying …

        foreach ($rss->items as $item ) {
            $title = $item[title];
            $url   = $item[link];
            $media = $item['mediacontent']; //$item['dc']['subject']
            echo "<a href=$url>$title</a></li><br>";
            echo "$media<br>";