Apache Nutch is an extensible and scalable web crawler
restored links to opensearch
Sami Sirencb31a3086d67
diff --git a/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jsp b/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jspindex 15b760368..89ea7391c 100644--- a/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jsp+++ b/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jsp@@ -1,10 +1,10 @@-<%@ include file="common.jsp" %>-<div id="footer">-<table bgcolor="3333ff" align="right">- <tr>- <td bgcolor="ff9900"><a href="RSS"><font color="ffffff"><b>RSS</b> </font></a></td>- </tr>- </table>- <a href="http://wiki.apache.org/nutch/FAQ"> <img border="0"- src="img/poweredbynutch_01.gif"> </a>- </div>+<%@ include file="common.jsp"%>+<div id="footer"><logic:present name="nutchSearch">+ <table bgcolor="3333ff" align="right">+ <tr>+ <td bgcolor="ff9900"><a href="opensearch?query=<bean:write name="nutchSearch" property="queryString"/>"><font color="ffffff"><b>RSS</b>+ </font></a></td>+ </tr>+ </table>+</logic:present> <a href="http://wiki.apache.org/nutch/FAQ"> <img+ border="0" src="img/poweredbynutch_01.gif"> </a></div>diff --git a/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp b/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jspindex 31bc0f55a..85d5a5c18 100644--- a/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp+++ b/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp@@ -2,15 +2,16 @@<tiles:useAttribute name="title" ignore="true"classname="java.lang.String" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8">-<title><bean:message key="<%=title%>" /></title>+<title><bean:message name="title"/></title><link rel="icon" href="img/favicon.ico" type="image/x-icon" /><link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />-<link rel="alternate" type="application/rss+xml" title="RSS"- href="FIXME" /><tiles:insert name="style" />-<!-- start empty javascript node for popup app fix -->+<logic:present name="nutchSearch">+<link rel="alternate" type="application/rss+xml" title="RSS"+ href="opensearch?query=<bean:write name="nutchSearch" property="queryString"/>"/><script type="text/javascript"><!--function queryfocus() { document.search.query.focus(); }// -->- </script>+</script>+</logic:present>\ No newline at end of file