Sorry, I am confused about how the title=matrix got to the url.

I am looking at the entire script here
http://code.google.com/p/google-app-engine-samples/source/browse/trunk/muvmuv/main.py;
line 130 has this; maybe it is related?

json_obj['movie']['pic'] = 'image?' + urllib.urlencode({'title':
movie.title})


On Jan 19, 9:55 am, Barry Hunter <barrybhun...@gmail.com> wrote:
> the code does
>
>         title = self.request.get('title')
>
>         movie = getMovie(title)
>
> which retrieves it from via the web app framework.
>
> The example url, shows an examplehttp://mydomain.com/image?title=matrix
>
> so in that case the title 'matrix' would be passed to the getMovie
> function.
>
> On 19 January 2011 13:52, Zeynel <azeyn...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I am reading the Serving Dynamic Images article
>
> >http://code.google.com/appengine/articles/python/serving_dynamic_imag...
>
> > It's straighforward but on the Retrieving and Displaying Images
> > section he has the GetImage handler and he writes that "The first
> > thing the request handler does is retrieve the value of "title" from
> > the URL paramater."
>
> > Where is the URL parameter?
>
> > --
> > 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-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com<google-appengine%2Bunsubscrib 
> > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://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-appengine@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