ha, that was sooo stupid... it appeared to work because... COMMENTS WOULDNT
SHOW UP IN THE OUTPUT ANYWAY! good thinking me!... its been a long regex
day.. sorry bout that.

----- Original Message -----
From: "Ewok" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 29, 2003 9:25 PM
Subject: Re: Verity Exclude Comments


> far from an answer to your question, but recently I had to do a verity
half
> dynamic and half static.
>
> I decided to make a new table in the database that holds all the info from
> the static pages
> title, body, url etc... and just index that. It really saved a big
headache
> when it comes to trying to exclude code, comments and entire templates.
>
> if you've already got it set up and indexed and dont want to change it,
you
> could always use a regex to remove the comments
>
> starts with <!-  some text inbetween  ends with ->
>
>
> wow believe it or not i wrote a regex that works today...
>
> <cfset comment = "there is a comment here <!--- this is a comment --->">
>
> <cfoutput>
> #rereplacenocase(comment, "^[\<\!-]*^[-\>]", "", "ALL")#
> </cfoutput>
>
> ----- Original Message -----
> From: "Jason Rogoz" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 29, 2003 5:16 PM
> Subject: Verity Exclude Comments
>
>
> > Is there any way to exclude comment blocks from being index by Verity
> and/or
> > using them as the summary for results?
> >
> >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to