Results 1 to 2 of 2

Thread: should I ask for index server?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    9
    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

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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
  •  



Click Here to Expand Forum to Full Width