Re: [farcry-dev] verity search results

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [farcry-dev] verity search results

by Jason Croft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi
 
Anyone any ideas on why the verity search results are displaying unwanted characters (such as & instead of &) ?
 
Ive tried #paragraphFormat(summary)# on the _search.cfm file, but with no joy.
 
As a quick test, I created a blank page with  <cfscript>writeOutput (paragraphFormat("&quot;Test&quot;")) </cfscript> which retuned "Test". Which shows that the paragraphFormat() command can achieve the results Im after, but when the command is applied to the variarble 'summary' (which contains the verity search results), it dosnt.
 
Any info much appreciated
 
Jase
----- Original Message -----
Sent: Thursday, August 16, 2007 12:20 PM
Subject: [farcry-dev] verity search results

Hi all
 
Does anyone know why my search results page is displaying part of the HTML code within the results ?
 
For example:-
 
"Special Occasion Wear Whilst we say that all our clothes are worth getting dressed for&hellip;. Customers travel, invariably recommended by word of mouth &ndash; and often told by other shops to come to us &ndash; from all over the UK. <span ..."
 
 
The code on _search.cfm within the includedOBJ folder that queries the results is as follows:-
 
<cfif isDefined("qResults") AND qResults.recordCount gt 0>
 <!--- output results --->
 <cfoutput query="qResults" maxrows="#maxrows#" startrow="#url.startrow#">
  <div style="margin:0px 30px 10px 0px;">
  <span class="bodycopy">#score#</span>
  <!--- check for extFile or farcry object --->
  <cfif left(key,2) eq "\\">
   <a href="#application.url.webroot#/download.cfm?extFile=#key#" class="viewMore">#qResults.title#</a>
  <cfelse>
   <!--- farcry object --->
   <a href="#application.url.conjurer#?objectid=#key#" class="viewMore">#qResults.title#</a>
  </cfif>
  <br>
  <span class="bodycopy">#replaceNoCase(summary,"ededed","88cbdf","ALL")#</span>
  </div>
 </cfoutput>
 
Any info much appreciated
 
Thanks
Jase
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-user" group.
To post to this group, send email to farcry-user@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---