build.xml
changeset 9 71275159d985
parent 8 ad0ee12d13fd
child 10 4e70453a027f
--- a/build.xml	Sun Apr 03 17:44:58 2011 +0200
+++ b/build.xml	Sun Apr 03 18:44:35 2011 +0200
@@ -21,10 +21,12 @@
 	</target>
 	
 	<target name="agregace" description="Vytvoří agregované výstupy: RSS, Atom, Sitemap.xml">
+		<!-- TODO: sloučit, zjednodušit, parametrizovat -->
+	
 		<!-- Atom -->
 		<xslt in="${vstup}/web.conf" out="${výstup}/atom.xml" style="${šablona}/atom.xsl">
 			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
-			<classpath location="${funkce}"/>			
+			<classpath location="${funkce}"/>
 			<factory name="net.sf.saxon.TransformerFactoryImpl">
 				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
 			</factory>
@@ -33,13 +35,20 @@
 		<!-- RSS --> 
 		<xslt in="${výstup}/atom.xml" out="${výstup}/rss.xml" style="${šablona}/rss.xsl">			
 			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
-			<classpath location="${funkce}"/>			
+			<classpath location="${funkce}"/>
 			<factory name="net.sf.saxon.TransformerFactoryImpl">
 				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
 			</factory>
 		</xslt>
 		
 		<!-- TODO: Sitemap.xml -->
+		<xslt in="${výstup}/atom.xml" out="${výstup}/sitemap.xml" style="${šablona}/sitemap.xsl">			
+			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
+			<classpath location="${funkce}"/>
+			<factory name="net.sf.saxon.TransformerFactoryImpl">
+				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
+			</factory>
+		</xslt>
 		
 	</target>