Register   Login
     
  Latest Posts  
Front Page Layout
by bmurphy on 8/29/2008 10:20 PM
RE: Tagging
by FBCO on 8/29/2008 8:20 PM
RE: Redesigning Elements of News Articles
by SteveJ on 8/29/2008 7:33 PM
RE: Redesigning Elements of News Articles
by makkabokka on 8/29/2008 7:20 PM
RE: Redesigning Elements of News Articles
by pspeth on 8/29/2008 5:51 PM
RE: Redesigning Elements of News Articles
by smcculloch on 8/29/2008 3:42 PM
RE: Sorry you have to be logged in
by smcculloch on 8/29/2008 3:40 PM
Sorry you have to be logged in
by albertramsbottom on 8/29/2008 3:37 PM
RE: Maximum photo upload
by marshal on 8/29/2008 2:08 PM
RE: Maximum photo upload
by smcculloch on 8/29/2008 2:04 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:11396


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