At 03:08 PM 3/31/00 -0700, you wrote:
>I know I have the latest version of FORMURL2ATTRIBUTES. The readme includes
>the fact that it supports this feature. I took the url that currently worked
>and substituted the / for the ? and =. According to the readme file, I should
>be adding .htm to the end of the string.
>
>Any other thoughts?


Sure.  Roll your own.  There's no magic here.  Mine uses the form
http://www.support.net/index.cfm/HoodNews.htm
where "HoodNews" is the "fuseaction" and the .htm is a dummy
ending for search engines and statistics programs to digest.

The above is an actual URL.  Note that
http://www.support.net/index.cfm/HoodNews also works
(it's backwards-compatible for those who bookmarked my
earlier approach).

(I use the name "coldfusion" instead of "fuseaction" below.)

That part of my app_globals.cfm follows:

<!--- 0 //---><cfif #isdefined("url.coldfusion")# is True>

<!--- This <CFIF> statement converts any values stored in the
          variable 'url.coldfusion' to an attribute variable
          containing the same name and value. --->

         <cfset #attribute.coldfusion# = #url.coldfusion#>

<!--- 0 //---><cfelse>

     <cfset Urlpairs = ListLast(script_name, '/')>
         <!--- 1 //---><cfif isdefined("Urlpairs") is True>
         <!--- 2 //---><cfif IsNumeric(Urlpairs) IS "No">
         <!--- 3 //---><cfif ListLast(script_name,'.') IS "htm">
         <cfset att = ListLast(script_name, '/')>
         <cfset attribute.coldfusion = ListFirst(att, '.')>
         <!--- 3 //---><cfelse>
         <cfset attribute.coldfusion = ListLast(script_name, '/')>
         <!--- 3 //---></cfif>
         <!--- 2 //---><cfelse>
         <cfset attribute.ID = ListLast(script_name, '/')>
         <cfset short_script_name = ListRest(script_name, '/')>
         <cfset attribute.coldfusion = ListFirst(short_script_name, '/')>
         <!--- 2 //---></cfif>
         <!--- 1 //---></cfif>

<!--- 0 //---></cfif>

<cfparam name="attribute.coldfusion" default="">
<cfparam name="attribute.ID" default="">

HTH

best,  paul



>____________________________________________________________________
>Get your own FREE, personal Netscape WebMail account today at 
>http://webmail.netscape.com.
>------------------------------------------------------------------------------
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebarsts&bodysts/cf_talk or send 
>a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to