|
-
Apr 20th, 2001, 11:06 AM
#1
Thread Starter
New Member
Hello, I wonder if you could help me. well the problem is that I aslo use index server and the search results are being
displayed in a result.htx file. The "path" variable and "vpath" are known to me, with
path variable to keep the physical path of each page that found after search.e.g
path=c:/Inetpub/wwwroot/examples/online/indexing/examples.html
vpath=IP/examples/online/
The problem is that I need the full virtual path of the pages that have been found like
IP/examples/online/indexing/examples.html in order to put it in href tag and make the
doctitle link to the corresponding page
Any advice would be more than helpful
Thank you on advance
John Costouros
Web Developer
-
Apr 20th, 2001, 12:32 PM
#2
Black Cat
Try modifying this chunk a' code I wrote to suit your needs. I had the exact same problem with index server.
Code:
'hack to change physical path to virtual path
virt = replace(Results("Path"), "c:/Inetpub/wwwroot/", "")
virt = replace(virt, "\", "/")
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|