Re: My header/footer inclusion scheme hinders Verity searches!

2001-08-03 Thread Jamie Jackson

Thank you both for your responses, I had thought this thread was a
dud. I'll read the reference at Pete's URL.

Andy: Yes, I comment out the title too, but I forgot the comment
markers in my post. This workaround sure does nullify some of the
benefit of the custom tag solution, though.

Thanks again,
Jamie

On Wed, 01 Aug 2001 11:38:43 -0400, in cf-talk you wrote:

One way I've tricked Verity into reading a title tag in an app where the headers, 
footers, and other parts of the page are dynamic, is to comment out the title.  So 
just like you did, but:

CF_customtag ...

!--- titleTitleToAppearAtTopOfBrowser/title ---

Body contents go here.

/CF_customtag ...


Now you have a valid HTML page being sent back to the browser, but Verity will still 
pick out the title between comments.  I only know that this works in all 4.x versions 
of ColdFusion; I haven't tested it with 5.  I hope it does or I'm in trouble!

Also, I use includes and set the page params before each instead of using custom tags 
for this, although the performance is negligible.  Of course you'd have to test each 
method under load to be sure.

If anyone has any better ways to accomplish this, I'd love to hear about them.


-Andy

-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 1:38 PM
To: CF-Talk
Subject: My header/footer inclusion scheme hinders Verity searches!


I like to use custom tags for header/footer inclusion, because it is
easy and elegant for our non-CFers to use:
-
cf_MyHeadFoot metaTitle=TitleToAppearAtTopOfBrowser
pageTitle=TitleToAppearInHTML
metaDescription=DescriptionToGoInDescriptionMetaTag
metaKeywords=KeywordsToGoInDescriptionMetaTag

Body contents go here.

/cf_MyHeadFoot
-

However, if you want to use Verity to search the site, you lose the
page titles, since Verity extracts titles from the
headtitleTitle/title/head HTML code.

There is a workaround, which almost defeats the easiness and elegance
of the custom tag:
-
cf_MyHeadFoot metaTitle=TitleToAppearAtTopOfBrowser
pageTitle=TitleToAppearInHTML
metaDescription=DescriptionToGoInDescriptionMetaTag
metaKeywords=KeywordsToGoInDescriptionMetaTag
titleTitleToAppearAtTopOfBrowser/title --HERE'S THE WORKAROUND
Body contents go here.

/cf_MyHeadFoot
-

Is there a better way? Is there a way to hack Verity to understand
that my metaTitle attribute is an alternate source of the document
title? Is Verity not the way to go? Any ideas whatsoever? :)

Thanks,
Jamie

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: My header/footer inclusion scheme hinders Verity searches!

2001-08-01 Thread Andrew Tyrone

One way I've tricked Verity into reading a title tag in an app where the headers, 
footers, and other parts of the page are dynamic, is to comment out the title.  So 
just like you did, but:

CF_customtag ...

!--- titleTitleToAppearAtTopOfBrowser/title ---

Body contents go here.

/CF_customtag ...


Now you have a valid HTML page being sent back to the browser, but Verity will still 
pick out the title between comments.  I only know that this works in all 4.x versions 
of ColdFusion; I haven't tested it with 5.  I hope it does or I'm in trouble!

Also, I use includes and set the page params before each instead of using custom tags 
for this, although the performance is negligible.  Of course you'd have to test each 
method under load to be sure.

If anyone has any better ways to accomplish this, I'd love to hear about them.


-Andy

-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 1:38 PM
To: CF-Talk
Subject: My header/footer inclusion scheme hinders Verity searches!


I like to use custom tags for header/footer inclusion, because it is
easy and elegant for our non-CFers to use:
-
cf_MyHeadFoot metaTitle=TitleToAppearAtTopOfBrowser
pageTitle=TitleToAppearInHTML
metaDescription=DescriptionToGoInDescriptionMetaTag
metaKeywords=KeywordsToGoInDescriptionMetaTag

Body contents go here.

/cf_MyHeadFoot
-

However, if you want to use Verity to search the site, you lose the
page titles, since Verity extracts titles from the
headtitleTitle/title/head HTML code.

There is a workaround, which almost defeats the easiness and elegance
of the custom tag:
-
cf_MyHeadFoot metaTitle=TitleToAppearAtTopOfBrowser
pageTitle=TitleToAppearInHTML
metaDescription=DescriptionToGoInDescriptionMetaTag
metaKeywords=KeywordsToGoInDescriptionMetaTag
titleTitleToAppearAtTopOfBrowser/title --HERE'S THE WORKAROUND
Body contents go here.

/cf_MyHeadFoot
-

Is there a better way? Is there a way to hack Verity to understand
that my metaTitle attribute is an alternate source of the document
title? Is Verity not the way to go? Any ideas whatsoever? :)

Thanks,
Jamie
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



My header/footer inclusion scheme hinders Verity searches!

2001-07-27 Thread Jamie Jackson

I like to use custom tags for header/footer inclusion, because it is
easy and elegant for our non-CFers to use:
-
cf_MyHeadFoot metaTitle=TitleToAppearAtTopOfBrowser
pageTitle=TitleToAppearInHTML
metaDescription=DescriptionToGoInDescriptionMetaTag
metaKeywords=KeywordsToGoInDescriptionMetaTag

Body contents go here.

/cf_MyHeadFoot
-

However, if you want to use Verity to search the site, you lose the
page titles, since Verity extracts titles from the
headtitleTitle/title/head HTML code.

There is a workaround, which almost defeats the easiness and elegance
of the custom tag:
-
cf_MyHeadFoot metaTitle=TitleToAppearAtTopOfBrowser
pageTitle=TitleToAppearInHTML
metaDescription=DescriptionToGoInDescriptionMetaTag
metaKeywords=KeywordsToGoInDescriptionMetaTag
titleTitleToAppearAtTopOfBrowser/title --HERE'S THE WORKAROUND
Body contents go here.

/cf_MyHeadFoot
-

Is there a better way? Is there a way to hack Verity to understand
that my metaTitle attribute is an alternate source of the document
title? Is Verity not the way to go? Any ideas whatsoever? :)

Thanks,
Jamie

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists