to LooselyCoupled.com homepage
 Weekly emails: how to  

 

> how to > functions > Pro2xslt


XSLT transformation utility


Pro2xslt is a PHP program that's designed for use in testing PHP's XSLT processing capabilities with any XML source and XSL template file. The default XSL file supplied can be used to demonstrate transformation of an Atom syndication feed into RSS 2.0 format. There'll be more documentation on this page in due course. In the meantime, see the blog entries RSS from Blogger and Only transform for more information.

The URI of the XML file to be transformed:
(include http://)

The URI of the XSL file to use for the transformation:
(include http://)

PS: This is just a demonstration. As Mark Pilgrim has pointed out, the XSL stylesheet for Atom2RSS conversions that I've put in as the default option will barf on certain Atom permutations, and also doesn't convert the date format into RSS's preferred form. Fortunately, you can easily paste URLs for better alternatives into the box (to find some, try this Google search). That's the beauty of loosely coupled architectures.

 
 


Copyright © 2002-2010, Procullux Media Ltd. All Rights Reserved.