I set up several index catalogs under and using
3 simple files for retrieving the information. "nos.html"
sends the query to "nos.idq" what uses "Retrieve.htx" to
display the information. Everything seems to be good except
"vpath", I can not get any results back from that variable. Can anyone help me?
Here are the codes, all of them located under
\ The catalog files are located under
\ (each catalog has its own folder,
so I just picked out one for now).
-------------- nos.html
<html>
<head>
<title>Search Results</title>
</head>
<body bgcolor="#FFFFFF">
<FORM ACTION="/indexsearch/nos.idq" METHOD="GET">
Query : <INPUT TYPE="TEXT" NAME="Restriction" SIZE="60" MAXLENGTH="100" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Execute Query">
</FORM>
</body>
</html>
------------------- nos.idq
[Query]
CiColumns=filename,size,rank,Characterization,vpath,path,DocTitle,write,Create,Directory
CiCatalog=c:\InetPub\CiRestriction=%Restriction%
CiMaxRecordsPerPage=300
CiMaxRecordsInResultSet=300
CiSort=rank[d]
CiTemplate=/indexsearch/Retrieve.htx
------------------------------- Retrieve.htx
<%begindetail%>
<table width=100% border=1 cellpadding=3 cellspacing=0>
<tr><td>
<font face="times, arial" size=4><b><%CiCurrentRecordNumber%>.</b>
<font face="times, arial" size=3> Filename: <b><A HREF="<%EscapeURL vpath%>" target=_blank><%EscapeURL vpath%><%filename%></A> </B> (<%size%> KBytes) (Rank: <%rank%>)<br>
Title: <B><%DocTitle%></B><br>
Created: <B><%Create%></b><%path%><BR>
File updated: <B><%write%></B><BR>
<i><%Characterization%></i>
</td></tr></table><br>
<%enddetail%>
-------------------------------------
Many thanks in advance,
Ayac
3 simple files for retrieving the information. "nos.html"
sends the query to "nos.idq" what uses "Retrieve.htx" to
display the information. Everything seems to be good except
"vpath", I can not get any results back from that variable. Can anyone help me?
Here are the codes, all of them located under
\ The catalog files are located under
\ (each catalog has its own folder,
so I just picked out one for now).
-------------- nos.html
<html>
<head>
<title>Search Results</title>
</head>
<body bgcolor="#FFFFFF">
<FORM ACTION="/indexsearch/nos.idq" METHOD="GET">
Query : <INPUT TYPE="TEXT" NAME="Restriction" SIZE="60" MAXLENGTH="100" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Execute Query">
</FORM>
</body>
</html>
------------------- nos.idq
[Query]
CiColumns=filename,size,rank,Characterization,vpath,path,DocTitle,write,Create,Directory
CiCatalog=c:\InetPub\CiRestriction=%Restriction%
CiMaxRecordsPerPage=300
CiMaxRecordsInResultSet=300
CiSort=rank[d]
CiTemplate=/indexsearch/Retrieve.htx
------------------------------- Retrieve.htx
<%begindetail%>
<table width=100% border=1 cellpadding=3 cellspacing=0>
<tr><td>
<font face="times, arial" size=4><b><%CiCurrentRecordNumber%>.</b>
<font face="times, arial" size=3> Filename: <b><A HREF="<%EscapeURL vpath%>" target=_blank><%EscapeURL vpath%><%filename%></A> </B> (<%size%> KBytes) (Rank: <%rank%>)<br>
Title: <B><%DocTitle%></B><br>
Created: <B><%Create%></b><%path%><BR>
File updated: <B><%write%></B><BR>
<i><%Characterization%></i>
</td></tr></table><br>
<%enddetail%>
-------------------------------------
Many thanks in advance,
Ayac