![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
Running CFMX7, my verity collection works great, but when I output the results
below I get the whole server path to the file instead of just the file name. Anyone know why? <cfoutput query="FindItems"><a href="#FindItems.url#" TARGET="_blank">#FindItems.title#</a></cfoutput> |
| Sponsored Links |
|
|||
|
unless you are using vspider to crawl and index your site, Verity will
treat the files as files on disk, not as webpages of your site. it will even index the source code of your pages, not the rendered output. you could try using replace() function on the #url# var to replace the relevant part of the file path with corresponding web path http://www.yourdomain.com/ ... for example, if the url returned is "C:\Inetpub\wwwroot\somesite\index.cfm you could do #replacenocase(url, "C:\Inetpub\wwwroot\somesite\", "http://www.somesite.com/")# Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise