Yep, getLink() will generate a friendly URL from the objectid you pass in.

Score is a value that Verity returns in the query object, it's up to you if
you want to display it :) (I usually wouldn't, but it's up to you).


cheers,
Justin

--
Justin Carter
http://www.madfellas.com/blog
http://twitter.com/justincarter


On Tue, Mar 18, 2014 at 9:20 AM, Scott Conklin <[email protected]>wrote:

> Justin
>
> i assume this will handle making the links work and show as Freindly URLs?
>
> what about the score? what is that about?
>
> 0.0000 TeraTech - 
> #request.pagetitle#<http://www.teratech.com/index.cfm?objectid=C:%5Cinetpub%5Cwwwroot%5CClients%5CFarCry4Sites%5Cprojects%5Cteratech_rev2%5Cwww%5C_header_static.cfm>
>
> Contact Us Today! | + 1 (301) 424 3903 News and Events
>
>
> On Monday, March 17, 2014 5:12:47 PM UTC-5, Justin Carter wrote:
>
>> The application.fapi.getLink() function should do the trick:
>>
>> http://docs.farcrycore.org/trunk/component-lib-fapi.html#getLink
>>
>>
>> cheers,
>> Justin
>>
>> --
>> Justin Carter
>> http://www.madfellas.com/blog
>> http://twitter.com/justincarter
>>
>>
>> On Tue, Mar 18, 2014 at 8:28 AM, Scott Conklin <[email protected]>wrote:
>>
>> Can anyone point me to an example verity search results page to use a
>>  guide to re-write what  I am told is an  old customized version.
>>
>> this snippet of code below is producing garbage as seen here:  (
>> http://www.teratech.com/search?criteria=services)
>>
>> This must all be deprecated by now? the links areusing objectID syntax
>> etc...
>>
>>
>> <!--- output results --->
>> <cfoutput query="qResults" maxrows="#maxrows#" startrow="#url.startrow#">
>>  <div style="margin:0px 30px 10px 0px; font-family: Georgia; font-color:
>> ##666666; font-size: 11px;">
>> #score#
>>  <!--- check for extFile or farcry object --->
>> <cfif left(key,2) eq "\\">
>> <a href="#application.url.webroot#/download.cfm?extFile=
>> #key#">#qResults.title#</a>
>>  <cfelse>
>> <!--- farcry object --->
>> <a href="#application.url.conjurer#?objectid=#key#">#qResults.title#</a>
>>  </cfif>
>> <br />
>> #summary#
>> </div>
>>  </cfoutput>
>>
>>
>> On Monday, March 17, 2014 9:05:28 AM UTC-5, Scott Conklin wrote:
>>
>>  Sean  (and all)
>> Thanks. That did it, This completes the upgrade... everything good now..
>>
>>
>> On Monday, March 17, 2014 8:10:55 AM UTC-5, Sean Coyne wrote:
>>
>> Change this
>>
>> <cfset qResults = oVerity.search(lCollections=lC
>> ollections,searchString=<w
>>
>> </
>>
>> ...
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to