Oliver,

Try this in your application.cfm:

    <!--- grab all parameters after script name and store as URL variables
for search engine indexing to work --->
    <cfif FindNoCase(".cfm/", CGI.PATH_INFO) neq 0>
        <cfloop index="index" list="#RemoveChars(CGI.PATH_INFO, 1,
Len(CGI.SCRIPT_NAME))#" delimiters="/">
            <cfif ListLen(index, '.') gt 1>
                <cfscript>
                        variableName = "URL." & ListGetAt(index, 1, '.');
                        expression = ListGetAt(index, 2, '.');
                </cfscript>
                <cfset "#variableName#" = expression>
            </cfif>
        </cfloop>
    </cfif>

It allows you to write your url parameters as
*.cfm/variable1.value1/variable2.value2/...  I've noticed that design mode
in Spectra 1.5 had some problems with this, you might have to tweak a few
things to get it working - let me know if you do.

Cheers,

Robin Hilliard
Senior Product Support Engineer - Asia Pacific
Macromedia, Inc.

International toll-free support line: 800 25524737
Online support http://www.allaire.com/support

For distributor support in:
Australia 1800 357 987 mailto:[EMAIL PROTECTED]
New Zealand 0508 721070 mailto:[EMAIL PROTECTED]
Japan mailto:[EMAIL PROTECTED]
Singapore (65) 428 5824 mailto:[EMAIL PROTECTED]
Malaysia (603) 2166 8511 mailto:[EMAIL PROTECTED]


-----Original Message-----
From: Oliver Czarnecki [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 7 June 2001 2:29 AM
To: Spectra-Talk
Subject: search engine searching


after reading this article
http://hotwired.lycos.com/webmonkey/01/23/index1a.html?tw=e-business
I wondered if anyone has come up with a method to change the way cold fusion
and IIS works, to match the URL strategy this article talks about.

It would save me hours of programming a flat file creation method.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to