Apache Nutch is an extensible and scalable web crawler
Add a template for hadoop-site.xml, and the stylesheet for config files.
Douglass Cutting03c9421b0256
diff --git a/conf/configuration.xsl b/conf/configuration.xslnew file mode 100644index 000000000..377cdbeb9--- /dev/null+++ b/conf/configuration.xsl@@ -0,0 +1,24 @@+<?xml version="1.0"?>+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">+<xsl:output method="html"/>+<xsl:template match="configuration">+<html>+<body>+<table border="1">+<tr>+ <td>name</td>+ <td>value</td>+ <td>description</td>+</tr>+<xsl:for-each select="property">+<tr>+ <td><a name="{name}"><xsl:value-of select="name"/></a></td>+ <td><xsl:value-of select="value"/></td>+ <td><xsl:value-of select="description"/></td>+</tr>+</xsl:for-each>+</table>+</body>+</html>+</xsl:template>+</xsl:stylesheet>diff --git a/conf/hadoop-site.xml.template b/conf/hadoop-site.xml.templatenew file mode 100644index 000000000..970c8fe0e--- /dev/null+++ b/conf/hadoop-site.xml.template@@ -0,0 +1,8 @@+<?xml version="1.0"?>+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>++<!-- Put site-specific property overrides in this file. -->++<configuration>++</configuration>