Last active
December 15, 2015 12:08
-
-
Save neingeist/5257647 to your computer and use it in GitHub Desktop.
convert rss to wikitext
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform"> | |
<output method="text" indent="no" /> | |
<template match="/"> | |
<for-each select="//item"> | |
<text>== Title: </text><value-of select="title"/><text> == </text> | |
<for-each select="enclosure"> | |
<text>* </text><value-of select="@url"/><text> </text> | |
</for-each> | |
<text> </text> | |
</for-each> | |
</template> | |
</stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment