OH works like a charm thanks soooooo much jawaad!

Herbert

On May 12, 10:30 am, Jawaad Mahmood <jawaad.mahm...@gmail.com> wrote:
> Just got to a computer.
>
> Include the following in the app.yaml file:
> -   url: /sale/.*
>     script: sale_constructor.py
>
> In the Python script, include the following:
> application = webapp.WSGIApplication([('/sale/(.*)',
> SaleConstructor)], debug=True)
>
> And modify the Get function
>     def get(self, more):
>
> Then you can use the additional information (Name, ID, whatever) to
> serve the appropriate page.
>
> On Wed, May 12, 2010 at 10:10 AM, Jawaad Mahmood
>
>
>
> <jawaad.mahm...@gmail.com> wrote:
> > Hey,
>
> > I've done this myself.
>
> > In app.yaml be sure to set a .*
>
> > In the wgsi settings, use a regular expression (/abc/(.*)) and make sure to
> > modify your get function so it looks something like
>
> > def get(self, input)
>
> > input will contain everything caught by (.*)
>
> > Sent from my iPhone
>
> > On 2010/05/12, at 9:55, Herbert <herber...@gmail.com> wrote:
>
> >> Hi Uwe,
>
> >> I see, thanks for the idea, that makes complete sense. Are you using
> >> java? I'm using python, putting a * in the wsgi mapping tuples dont
> >> seem to work. does anyone have any experiences? thanks!
>
> >> Herbert
>
> >> On May 11, 9:49 pm, Uwe Maurer <uwe.mau...@gmail.com> wrote:
>
> >>> I am not sure if users would like to have a vanity URL on xxx.com
>
> >>> But other than that you can just map any URL to a servlet which then
> >>> parses the username from the URL and looks up the corresponding user
> >>> and shows his page.
>
> >>> Thanks,
> >>> Uwe
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Google App Engine" group.
> >> To post to this group, send email to google-appeng...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-appengine+unsubscr...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Sincerely yours,
>
> Jawaad Mahmoodhttp://www.jawaadmahmood.com
> 080-4204-7198
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to