diff options
author | dakkar <dakkar@luxion> | 2008-12-29 13:44:50 +0000 |
---|---|---|
committer | dakkar <dakkar@luxion> | 2008-12-29 13:44:50 +0000 |
commit | 26ff8bed4c6560f04b00ab8b5e3867645b740807 (patch) | |
tree | 1a8f36e4912299543dbe1876353e14ded4736818 /t | |
parent | inizio dei feed (diff) | |
download | WebCoso-26ff8bed4c6560f04b00ab8b5e3867645b740807.tar.gz WebCoso-26ff8bed4c6560f04b00ab8b5e3867645b740807.tar.bz2 WebCoso-26ff8bed4c6560f04b00ab8b5e3867645b740807.zip |
forse i feed vanno (tranne i body); cleaner non elimina i sorgenti dei feed
git-svn-id: svn://luxion/repos/WebCoso/trunk@397 fcb26f47-9200-0410-b104-b98ab5b095f3
Diffstat (limited to 't')
-rw-r--r-- | t/test-site/src/common/fillFeed.xsl | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/t/test-site/src/common/fillFeed.xsl b/t/test-site/src/common/fillFeed.xsl index d19bf2b..79c7b57 100644 --- a/t/test-site/src/common/fillFeed.xsl +++ b/t/test-site/src/common/fillFeed.xsl @@ -1,17 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> <x:stylesheet xmlns:x="http://www.w3.org/1999/XSL/Transform" xmlns:wc="http://webcoso.thenautilus.net/" + exclude-result-prefixes="wc" version="1.0"> + <x:import href="du2html.xsl"/> + <x:param name="language" select="'en'"/> <x:param name="path"/> <x:param name="filename"/> - <x:output method="xml" encoding="utf-8"/> + <x:output method="xml" encoding="utf-8" doctype-public=""/> + + <x:template match="/document" priority="10"> + <x:apply-imports/> + </x:template> <x:template match="*"> <x:copy> - <x:apply-templates select="@*|*|text()"/> + <x:apply-templates select="@*"/> + <x:apply-templates select="*|text()"/> </x:copy> </x:template> @@ -21,8 +29,12 @@ <x:template match="PH"> <url><x:value-of select="."/></url> - <title><x:apply-templates select="wc:title-for($language,$filename,.)"/></title> + <title><x:value-of select="wc:title-for($language,$filename,.)"/></title> + <!-- + <body> + <x:apply-templates select="wc:document($language,$filename,.)/document"/> + </body> + --> </x:template> - </x:stylesheet>
\ No newline at end of file |