Updated: 9/22/2003; 8:59:18 PM.
Ali's Weblog
Just about anything that comes to my mind.
        

Friday, August 22, 2003

 

 

I was bored last night so I wrote an xslt that converts my exported opml blog roll to the Radio navigator format.  The navigator format is what is used to have links on the right side of your Radio page, and most news aggreators export in the opml format. It’s a pretty trivial xslt, but it can come in handy if you use Radio.

 

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
 <xsl:attribute-set name="set">
  <xsl:attribute name="name"><xsl:value-of select="current()/@title"/></xsl:attribute>
  <xsl:attribute name="pagename"><xsl:value-of select="current()/@htmlUrl"/></xsl:attribute>
 </xsl:attribute-set>
 <xsl:template match="/">
  <xsl:element name="navigator">
   <xsl:for-each select="/opml/body/outline">
    <xsl:element name="item" use-attribute-sets="set"/>
   </xsl:for-each>
  </xsl:element>
 </xsl:template>
</xsl:stylesheet>

 


7:30:13 PM    comment []



Wow, Wired has just put up a article on extreme programming. Check it out.

 


6:35:42 PM    comment []

© Copyright 2003 Ali Aghareza.
 
August 2003
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Jun   Sep


Click here to visit the Radio UserLand website.

Subscribe to "Ali's Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.