Thanks a lot Arne. the encoding of t eh cityname did the trick.


On Jul 15, 1:32 am, "Arne Roomann-Kurrik (Google)"
<[EMAIL PROTECTED]> wrote:
> Hi Nitin,
>
>    I'm not really sure why you're getting the Java error - there are
> certainly no Java components running client-side on orkut, so I think
> that this just has something to do with the Firebug debugger, rather
> than being an OpenSocial problem.
>
>    Since it looks like you're just appending the name of the city to
> the url you're querying for weather data, you should get in the habit
> of encoding any parameters you include on the querystring.  This will
> convert illegal URL characters like space to their urlencoded
> equivalents like %20.  So instead of doing:
>
> "http://www.google.com/ig/api?weather="; + cityName;
>
> try changing your code to
>
> "http://www.google.com/ig/api?weather="; +
> encodeURIComponent(cityName);
>
> to see if that helps at all.
>
> ~Arne
>
> On Jul 14, 4:52 am, nitinkcv <[EMAIL PROTECTED]> wrote:
>
> > Arne,
>
> > Any update on this error?
>
> > Thanks,
> > Nitin
>
> > On Jul 12, 1:26 pm, nitinkcv <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > Just an update in this error is in this thread 
> > > alsohttp://groups.google.com/group/opensocial-api/browse_thread/thread/09...
> > > Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to