Move under www to ease rsync
This commit is contained in:
17
www/eps/hpr2211/hpr2211_parse_enclosure.xsl
Executable file
17
www/eps/hpr2211/hpr2211_parse_enclosure.xsl
Executable file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<stylesheet version="1.0"
|
||||
xmlns="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom" >
|
||||
<output method="text"/>
|
||||
|
||||
<template match="/">
|
||||
<apply-templates select="/rss/channel/item/enclosure"/>
|
||||
<apply-templates select="atom:feed/atom:entry/atom:link[@rel='enclosure']"/>
|
||||
</template>
|
||||
<template match="enclosure">
|
||||
<value-of select="@url"/><text> </text>
|
||||
</template>
|
||||
<template match="atom:link">
|
||||
<value-of select="./@href"/><text> </text>
|
||||
</template>
|
||||
</stylesheet>
|
||||
Reference in New Issue
Block a user