On Mon, Feb 1, 2010 at 10:30 PM, Dan Linder <span dir="ltr">&lt;<a href="mailto:dan@linder.org">dan@linder.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I listen to quit a few podcasts, but some of their internal MP3<br>
title/album/etc fields messed up.  My podcatcher (bashpodder -<br>
<a href="http://lincgeek.org/bashpodder/" target="_blank">http://lincgeek.org/bashpodder/</a>) uses the xsltproc command line tool<br>
to parse the RSS feed for the URLs for the MP3s.<br>
<br>
When I try to parse an RSS feed with my XSL file (see below), I get<br>
only the first RSS entry field:<br>
    xsltproc parse.xsl <a href="http://leoville.tv/podcasts/sn.xml" target="_blank">http://leoville.tv/podcasts/sn.xml</a><br>
<br>
Any idea how to modify the XSL file to work on all RSS entries?<br></blockquote><div><br></div><div>I hope you&#39;ll forgive me, but I&#39;m going to be annoying and not answer your question in the way that you asked. I dislike XSLT, so I&#39;d use:</div>
<div><br></div><div>XML::RSS</div><div>XML::Twig</div><div>Or something else on CPAN</div><div><br></div><div>I used to do XSLT, particularly when I was mostly stuck working with Java. Then, (after cutting off my Java) I realized that if I wanted a Turing-complete template language, I already have Perl. Performance is about the same, Perl has more features, and I don&#39;t have to use XML to write code.</div>
<div><br></div></div>-- <br>Andrew Sterling Hanenkamp<br><a href="mailto:sterling@hanenkamp.com">sterling@hanenkamp.com</a><br>785.370.4454<br>