<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>In your registry.xml are enabled the binary
factory?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>
<docFactory enabled="false" type="binary"/> </FONT></DIV>
<DIV><FONT face=Arial size=2>with this, lucene ignore binary files.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>change this to:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>
<docFactory enabled="true"
type="binary"><BR>
<class>net.grcomputing.opencms.search.lucene.BodylessDocument</class><BR>
</docFactory><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Bye<BR>Ernesto.</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV></FONT> </DIV>
<DIV> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dattaritwik@yahoo.com href="mailto:dattaritwik@yahoo.com">Ritwik
Datta</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 02, 2004 2:38
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Problem: Navpos
& NavText with Binary Files: Pls help me</DIV>
<DIV><BR></DIV>
<DIV>Dear All,</DIV>
<DIV> </DIV>
<DIV>I am using OpenCMS 5.0.0 and uploaded .doc,.dot files as binary for
Lucene search. But I also want to see the links of all uploaded documents in
my index.html. For that, I had set two properties NavPos & NavText. But if
I upload files as type binary it is unable to show links on index.html. Now
if I change file type of any file (making it plain) , the link appears. I
don't have any problem to change file types but for lucene search it is
mandatory to have file type as binary. Please help me. How can I view link of
a file uploaded as binary from my index.html by setting NavPos &
NavText</DIV>
<DIV>Thanks in advance.</DIV>
<DIV> </DIV>
<DIV>Regrads,</DIV>
<DIV>Ritwik</DIV>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Yahoo! SiteBuilder - Free web site building tool. <A
href="http://us.rd.yahoo.com/evt=21608/*http://webhosting.yahoo.com/ps/sb/"><B>Try
it!</B></A></BLOCKQUOTE></BODY></HTML>