You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by si...@apache.org on 2006/04/17 17:27:48 UTC

svn commit: r394704 - in /lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp: footer.jsp header.jsp

Author: siren
Date: Mon Apr 17 08:27:46 2006
New Revision: 394704

URL: http://svn.apache.org/viewcvs?rev=394704&view=rev
Log:
restored links to opensearch

Modified:
    lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jsp
    lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp

Modified: lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jsp
URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jsp?rev=394704&r1=394703&r2=394704&view=diff
==============================================================================
--- lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jsp (original)
+++ lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/footer.jsp Mon Apr 17 08:27:46 2006
@@ -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>

Modified: lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp
URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp?rev=394704&r1=394703&r2=394704&view=diff
==============================================================================
--- lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp (original)
+++ lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp Mon Apr 17 08:27:46 2006
@@ -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