Register   Login
     
  Latest Posts  
Reduce the text size of the description in RSS feeds
by schotman on 1/09/2009 10:49 AM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/09/2009 9:49 AM
RE: Embed the coolest google local search map control
by aviavia on 1/09/2009 8:06 AM
RE: Embed the coolest google local search map control
by odove on 1/09/2009 6:43 AM
RE: Ligtbox effect does not working in DNN 5
by David Eccles on 1/09/2009 6:11 AM
Changing The Home Directory.
by rtnovak on 1/09/2009 1:03 AM
RE: Updating Simple Gallery
by rtnovak on 1/09/2009 12:54 AM
RE: Select Image Button does not work.
by rtnovak on 1/09/2009 12:53 AM
Updating Simple Gallery
by rtnovak on 1/08/2009 9:59 PM
Has pay-per-ad. been added yet?
by wpmilk on 1/08/2009 7:13 PM
  Forums  
Subject: Suggestion for variable handling
Prev Next
You are not authorized to post a reply.

Author Messages
rupurtUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:12

6/28/2007 5:36 PM  
I have been thinking about a solution for variable handling in friendly url's and would like to get some feedback on it before i try and implement it.

There would be an xml file which stored the tab path and the names to give the variables should that tab path be encountered. It would look something like the following

e.g. for the games page which is a child page of products


So the url would look like the following
http://www.supercoolwebsite.com/products/games/god-of-war/2006.aspx

So then in the URL rewriter it would spit it out to look like
http://www.supercoolwebsite.com/default.aspx?tabid=70&name=god-of-war&year=2006

It could handle extra attributes by just specifying extra ones as var3, var4 which would be the default behaviour if a tab rule was not specified
rupurtUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:12

6/28/2007 6:53 PM  
the format didnt come up because i didnt escape it i think so here it is
rupurtUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:12

6/28/2007 6:53 PM  
tab path="/products/games/" variables="name, year" /
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12820


6/29/2007 8:07 AM  
I think you can do this today, by modifying the siteurls.config (which contains regex expressions).

You would then need to modify the module to write out those URLs though.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Projects > Friendly Urls > Suggestion for variable handling



ActiveForums 3.7