[google-appengine] Re: JSONP Gateway

2008-10-31 Thread Jean-Lou Dupont
Just a suggestion: you could add a "context" parameter for applications where multiple dispatch is required. Jean-Lou. On Oct 31, 3:00 pm, "Malte Ubl" <[EMAIL PROTECTED]> wrote: > Hey, > > I've just released a very simple application that can be used to turn > any JSON webservice into a JSONP web

[google-appengine] Re: JSONP Gateway

2008-11-02 Thread Sylvain
maybe an encoding issue ? "négociation pour 12 millions de dollars et un autre privée" On 2 nov, 11:28, "Malte Ubl" <[EMAIL PROTECTED]> wrote: > Hey, > > you can provide a callback parameter that may include [] so you can > write something like this callback=jsonpCall[13] > > Bye, > > Malte > >

[google-appengine] Re: JSONP Gateway

2008-11-02 Thread Malte Ubl
Hey, you can provide a callback parameter that may include [] so you can write something like this callback=jsonpCall[13] Bye, Malte On Sat, Nov 1, 2008 at 2:01 AM, Jean-Lou Dupont <[EMAIL PROTECTED]> wrote: > > Just a suggestion: you could add a "context" parameter for > applications where mu

[google-appengine] Re: JSONP Gateway

2008-11-02 Thread Malte Ubl
What may be an encoding issue? Do you see an error? On Sun, Nov 2, 2008 at 12:33 PM, Sylvain <[EMAIL PROTECTED]> wrote: > > maybe an encoding issue ? > > "négociation pour 12 millions de dollars et un autre privée" > > On 2 nov, 11:28, "Malte Ubl" <[EMAIL PROTECTED]> wrote: >> Hey, >> >> you can

[google-appengine] Re: JSONP Gateway

2008-11-02 Thread Sylvain
Yes, I don't why but Google Group changes the encoding. If you look at your results, it was something like that : "n@&gociation priv@&e"" On 2 nov, 20:25, "Malte Ubl" <[EMAIL PROTECTED]> wrote: > What may be an encoding issue? Do you see an error? > > On Sun, Nov 2, 2008 at 12:33 PM, Sylva

[google-appengine] Re: JSONP Gateway

2008-11-02 Thread Sylvain
here is a screenshot : http://testgapp.appspot.com/o/npdu8j2AZYsK8QK0MSx6VqtnMu8t2h.jpg On 2 nov, 22:35, Sylvain <[EMAIL PROTECTED]> wrote: > Yes, I don't why but Google Group changes the encoding. > > If you look at your results, it was something like that : > "n@&gociation priv@&e"" > > On

[google-appengine] Re: JSONP Gateway

2008-11-02 Thread Malte Ubl
Which URL is that? Looks like your browser might have rendered the JSON as html. On Sun, Nov 2, 2008 at 10:39 PM, Sylvain <[EMAIL PROTECTED]> wrote: > > here is a screenshot : > http://testgapp.appspot.com/o/npdu8j2AZYsK8QK0MSx6VqtnMu8t2h.jpg > > On 2 nov, 22:35, Sylvain <[EMAIL PROTECTED]> wrot

[google-appengine] Re: JSONP Gateway

2008-11-03 Thread Sylvain
The one you give in the first post http://jsonpgateway.appspot.com/?url=http%3A//search.yahooapis.com/ImageSearchService/V1/imageSearch%3Fappid%3DYahooDemo%26query%3DMadonna%26output%3Djson And no, it is not html On 3 nov, 07:49, "Malte Ubl" <[EMAIL PROTECTED]> wrote: > Which URL is that? Look

[google-appengine] Re: JSONP Gateway

2008-11-03 Thread Malte Ubl
OK, could you paste contents when you "View Source" the message? On Mon, Nov 3, 2008 at 9:31 AM, Sylvain <[EMAIL PROTECTED]> wrote: > > The one you give in the first post > > http://jsonpgateway.appspot.com/?url=http%3A//search.yahooapis.com/ImageSearchService/V1/imageSearch%3Fappid%3DYahooDemo%

[google-appengine] Re: JSONP Gateway

2008-11-03 Thread Sylvain
Google Group raises an error, so I've copy/past here : http://paste.blixt.org/1982 Regards On 3 nov, 11:52, "Malte Ubl" <[EMAIL PROTECTED]> wrote: > OK, > > could you paste contents when you "View Source" the message? > > On Mon, Nov 3, 2008 at 9:31 AM, Sylvain <[EMAIL PROTECTED]> wrote: > >

[google-appengine] Re: JSONP Gateway

2008-11-03 Thread Sylvain
I think that the current encoding is set to : "ISO-8859-1" and the "response" is "UTF-8". So if i change my default browser encoding to UTF-8, all accented chars are well displayed. Regards On 3 nov, 20:13, "Malte Ubl" <[EMAIL PROTECTED]> wrote: > Hi, this looks exactly like expected. Was

[google-appengine] Re: JSONP Gateway

2008-11-03 Thread Malte Ubl
Hi, this looks exactly like expected. Was it clear that the output of the web service is to be comsumed by a JSONP web service client like jQuery? On Mon, Nov 3, 2008 at 1:43 PM, Sylvain <[EMAIL PROTECTED]> wrote: > > Google Group raises an error, so I've copy/past here : > > http://paste.blixt.o

[google-appengine] Re: JSONP Gateway

2008-11-03 Thread Jean-Lou Dupont
OK but it means creating an array of callbacks. It would be easier to have one callback with a context parameter IMO. Furthermore, integration with GWT and its JavaScript "overlay type" is easier with the "context" parameter. Just my 2cents. Jean-Lou. On Nov 2, 5:28 am, "Malte Ubl" <[EMAIL PROTE

[google-appengine] Re: JSONP Gateway

2008-11-03 Thread yejun
I think JSON only use utf-8 encoding. On Nov 3, 2:22 pm, Sylvain <[EMAIL PROTECTED]> wrote: > I think that the current encoding is set to : "ISO-8859-1" and the > "response" is "UTF-8". > > So if i change my default browser encoding to UTF-8, all accented > chars are well displayed. > > Regards >

[google-appengine] Re: JSONP Gateway

2008-11-04 Thread Richie
funny thing, I just wrote something like this for myself one week ago. :-) On 31 Okt., 21:00, "Malte Ubl" <[EMAIL PROTECTED]> wrote: > Hey, > > I've just released a very simple application that can be used to turn > any JSON webservice into a JSONP webservice. > It takes an url parameter, fetches