[prev in list] [next in list] [prev in thread] [next in thread]
List: nutch-cvs
Subject: [Nutch-cvs] svn commit: r161803 - incubator/nutch/trunk/src/web/jsp/search.jsp
From: cutting () apache ! org
Date: 2005-04-18 21:22:51
Message-ID: 20050418212251.53839.qmail () minotaur ! apache ! org
[Download RAW message or body]
Author: cutting
Date: Mon Apr 18 14:22:51 2005
New Revision: 161803
URL: http://svn.apache.org/viewcvs?view=rev&rev=161803
Log:
Add RSS links. Eventually this whole page should turn into a
stylesheet that processes the output of ../opensearch.
Modified:
incubator/nutch/trunk/src/web/jsp/search.jsp
Modified: incubator/nutch/trunk/src/web/jsp/search.jsp
URL: http://svn.apache.org/viewcvs/incubator/nutch/trunk/src/web/jsp/search.jsp?view=diff&r1=161802&r2=161803
==============================================================================
--- incubator/nutch/trunk/src/web/jsp/search.jsp (original)
+++ incubator/nutch/trunk/src/web/jsp/search.jsp Mon Apr 18 14:22:51 2005
@@ -95,7 +95,9 @@
.getLocale().getLanguage();
String requestURI = HttpUtils.getRequestURL(request).toString();
String base = requestURI.substring(0, requestURI.lastIndexOf('/'));
-
+ String rss = "../opensearch?query="+htmlQueryString
+ +"&hitsPerSite="+hitsPerSite
+ +"&hitsPerPage="+hitsPerPage;
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%
// To prevent the character encoding declared with 'contentType' page
@@ -112,6 +114,7 @@
<title>Nutch: <i18n:message key="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="<%=rss%>"/>
<jsp:include page="include/style.html"/>
<base href="<%= base + "/" + language %>/">
</head>
@@ -265,6 +268,11 @@
<%
}
%>
+
+<table bgcolor="3333ff" align="right">
+<tr><td bgcolor="ff9900"><a href="<%=rss%>"><font color="ffffff"><b>RSS</b>
+</font></a></td></tr>
+</table>
<p>
<a href="http://www.nutch.org/">
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Nutch-cvs mailing list
Nutch-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic