jkramer / podsync

Shell script for downloading podcasts from several RSS feeds.

podsync / parse.xsl
100644 13 lines (12 sloc) 0.499 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
<output method="text"/>
<template match="/">
<for-each select="/rss/channel/item/enclosure">
<text>-----&#10;</text>
<text>PODCAST:</text><value-of select="/rss/channel/title"/><text>&#10;</text>
<text>ITEMURL:</text><value-of select="@url"/><text>&#10;</text>
<text>ITEMNAME:</text><value-of select="../title"/><text>&#10;</text>
</for-each>
</template>
</stylesheet>