OT: dynamic urls from CFObjective

2006-03-17 Thread Michael Dinowitz
I was talking to someone at CF.Objective about an idea I had for displaying 
dynamic pages as if they were static. He had tried some stuff out and didn't 
get it (yet). If your here, email me off list. I've got it. Look at these 3 
urls:

http://www.fusionauthority.com/Reviews/Article.cfm/ArticleID:4589
http://www.fusionauthority.com/Reviews/4589-Photoshop-CS2-Review-An-Instructors-Perspective.htm
http://www.fusionauthority.com/Reviews/4589-Photoshop-CS2-Review-An-Instructors-Perspective

All are using the exact same code and the content is in the DB, not stored 
physically. This is the SEO killer. :)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235660
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: dynamic urls from CFObjective

2006-03-17 Thread Russ
Isn't this just simple apache URL rewriting?

 -Original Message-
 From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 17, 2006 3:29 PM
 To: CF-Talk
 Subject: OT: dynamic urls from CFObjective
 
 I was talking to someone at CF.Objective about an idea I had for
 displaying dynamic pages as if they were static. He had tried some stuff
 out and didn't get it (yet). If your here, email me off list. I've got it.
 Look at these 3 urls:
 
 http://www.fusionauthority.com/Reviews/Article.cfm/ArticleID:4589
 http://www.fusionauthority.com/Reviews/4589-Photoshop-CS2-Review-An-
 Instructors-Perspective.htm
 http://www.fusionauthority.com/Reviews/4589-Photoshop-CS2-Review-An-
 Instructors-Perspective
 
 All are using the exact same code and the content is in the DB, not stored
 physically. This is the SEO killer. :)
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235677
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: dynamic urls

2004-12-10 Thread Matt Robertson
I did this in my cms.  In  implementation the user either picks a page
name or it gets picked for them.  Thats why you see pages on my site
like

http://mysecretbase.com/ampro_home.cfm
and
http://mysecretbase.com/page_1078.cfm

Both are dynamic pages, but on the latter one I got lazy.

Basically CF strips the page name (sans the preceding folders and the
extension) and looks for it in the 'my page name' field, which is
indexed.  If it doesn't find that it does some more gymnastics to pull
out the ID number it finds embedded in the text.

There are a bunch of ways you could implement this for automated
generation.  Determine the org name from a session var, stick in a '-'
and then parse/camelcase the page title and make that the page name so
you get

http://mydomain.com/myorganization-wooHoo.cfm

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187039
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


dynamic urls

2004-12-09 Thread dsmith
This is slightly OT but I'll shoot anyway.  We're looking to create web sites 
for approx 1200 afilliated organizations.  The sites would all be run using the 
same CF templates.  It would be very nice to have a virtual directory for each 
or else a unique URL for each.  Is there a way to have IIS look at a database 
rather than create a real virtual directory for each?  Or is there another 
way to create an easy URL and avoid the following 
http://verylongsitename.org/local_content/page.cfm?ID=1033 ?

Any thoughts would be appreciated. 

Thanks, 
Daron Smith 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186796
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: dynamic urls

2004-12-09 Thread David Hannum
You might do something with a custom 404 script.  Perhaps 
www.verylongsitename.org/affiliatedorganization.  Have a database of your 
organizations storred in an array in a server or application variable, then 
when someone comes into the site, and the actual directory does not exist, the 
custom 404 will parse out what they were looking for, find it in the array and 
send them to your local_content/page.cfm?ID=1033.  Make sense?

Dave


 This is slightly OT but I'll shoot anyway.  We're looking to create 
 web sites for approx 1200 afilliated organizations.  The sites would 
 all be run using the same CF templates.  It would be very nice to have 
 a virtual directory for each or else a unique URL for each.  Is there 
 a way to have IIS look at a database rather than create a real 
 virtual directory for each?  Or is there another way to create an easy 
 URL and avoid the following http://verylongsitename.
 org/local_content/page.cfm?ID=1033 ?
 
 Any thoughts would be appreciated. 
 
 Thanks, 
 Daron Smith 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186799
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54