You could use an argument. www.myapp.com/userprofile can be mapped to a controller/method like www.myapp.com/app/profiles/show/userprofile
where app = application, profiles = controller, show = function, userprofile is an argument accessed by request.args(0) inside "show". You can use it to query database according to that user. In order to hide "app/profiles/show" from url follow the usual routes.py mapping (its given on some other post here) assuming you have only one app on the server. On Jun 2, 9:31 pm, ChrisM <[email protected]> wrote: > For isntance I have RPX login which creates user profile for each > logged in user. > I would like to give each one of these users there own homepage (i.e. > like twitter) which could be > dynamically created. > So I thought the first task was to see how thiscould be mapped, > perhaps by querying db.profile and then mapping through routes.py. > > chrism > > On Jun 2, 3:46 pm, mdipierro <[email protected]> wrote: > > > > > Can you explain more? > > > On Jun 2, 8:00 am, ChrisM <[email protected]> wrote: > > > > I searched through the list but couldn't find any discussion on this > > > topic. > > > > Any ideas how the following can be achieved with routes.py > > > >www.appname.com\userprofilename > > > > I am guessing that there would need to be a db.auth lookup to match > > > the userprofilename > > > and then pass that to a generic controller, but how? > > > > Help Aprreciated > > > > ChrisM- Hide quoted text - > > > - Show quoted text -

