I'm sure there's something else at play there. I could point you to some
sites where searching for cfif will show you source but I don't think it's
fair on them :)
Not really what you want to hear but I'd use vspider or think about getting
the in-page content into some other form, database, HTML files etc.
Here's one problem with what you're doing:
<cfif someCondition>
Apples
<cfelse>
Oranges
</cfelse>
If you index that the way you're doing, a search for apples will always turn
up this page and a search for oranges will always turn up this page. Vertity
isn't browsing to it so it isn't in the right state to be indexed for both
someCondition and NOT someCondition. Not too hot an example really but I
hope that makes sense.
One downside with vspider, can't say the same for the Google appliance, but
I don't think you have too much control over what gets indexed on a page. If
you have a comment footer, a search for a word in that footer returns all
the pages on the site with that footer. Is that a bad thing? It could be. It
was for me on one project. I got around it by wrapping the content I wanted,
or didn't want, can't remember which, in a custom tag that looked at the
user agent. If it was vspider doing the browsing it didn't render various
parts of the page.
Having said that, I think I remember there being a way to define regions
with HTML comments but I might be thinking of the search in Sitecore and not
vspider.
Which brings us nicely back to the database :OD
Adrian
Building a DB of errors at http://cferror.org/
-----Original Message-----
From: Dave l
Sent: 08 October 2008 06:50
To: cf-talk
Subject: Re: verity & cfscript
Yes and no dave..
I figured as much when I was doing it but if it does index the source code
then why wouldn't it index all of the source code and not just whats inside
a cfscript tag?
Or why would it not index the source code when moved inside a cfset tag
instead of cfscript? Or why would I have the EXACT same code on other pages
and they don't show it the results?
the output is:
<p>
<a href="index.cfm">index.cfm.cfm</a><br />
<div style="font-size:12px">strTitle = "title blah blah blah"; strDesc =
"desc blah blah blah"; some reg generated page content here.</div>
</p>
I will look at the google mini but I guess I just thought that cfm including
verity could actually do the job. The defaults are set to index coldfusion
pages and if they expect them not to have any cfm code then they would just
be reg html pages..
I guess I will look at Lucene as well
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313591
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4