Let me know if there is another way I should be doing this diff. Two files modified, search.jsp and include/style.html. I don't have a clean way to highlight the terms in the title and url yet.

diff -ur --exclude WEB-INF nutch-0.5/include/style.html ROOT/include/style.html
--- nutch-0.5/include/style.html 2004-10-26 17:20:07.000000000 -0400
+++ ROOT/include/style.html 2004-10-26 17:16:52.000000000 -0400
@@ -7,6 +7,7 @@
.title { font-family: Arial, Helvetica, sans-serif; font-size: 26px; color: #FF9900; text-decoration: none}
.intro { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #FF9900; text-decoration: none}
.orangeTd {background-color: #FF9900}
+.serpsummary { width: 400px; }
ul {list-style-image: url(../img/reiter/ul.gif)}
h3 {font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #000000;}
h4 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #000000;}
diff -ur --exclude WEB-INF nutch-0.5/search.jsp ROOT/search.jsp
--- nutch-0.5/search.jsp 2004-10-26 17:20:07.000000000 -0400
+++ ROOT/search.jsp 2004-10-26 17:18:49.000000000 -0400
@@ -109,10 +109,10 @@
<br><br><b>
<a href="<%=url%>"><%=Entities.encode(title)%></a>
</b>
+ <br>
<% if (!"".equals(summary)) { %>
- <br><%=summary%>
+ <div class="serpsummary"><%=summary%><div>
<% } %>
- <br>
<span class="url"><%=Entities.encode(url)%></span>
(<a href="/cached.jsp?<%=id%>"><i18n:message key="cached"/></a>)
(<a href="/explain.jsp? <%=id%>&query=<%=URLEncoder.encode(queryString)%>"><i18n:message key="explain"/></a>)



On Oct 26, 2004, at 1:00 PM, John X wrote:

Could you contribute a patch?





------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to