gradle - How to create sitemap.xml from docbook source -
i need generate sitemap.xml in standard google acceptable format docbook source. i'm using gradle power build process.
is there existing tool out there generate sitemap.xml automatically part of build?
by using ant gradle seams possible there apache ant task generating xml sitemap. read manual @ github, usage details.
<target name="generate_sitemap" description="generates sitemap"> <taskdef classname="uk.co.arjones.ant.task.sitemap" name="sitemap"></taskdef> <sitemap url="http://organisation.org" gzip="yes" lastmod="now" destdir="${build_dir}"> <fileset dir="${build_dir}"> <include name="**.docbook"></include> <include name="**.dbx"></include> <exclude name="google*"></exclude> </fileset> </sitemap> </target>
Comments
Post a Comment