[orkut-developer] Re: Help with os:HttpRequest call

2009-04-30 Thread Mayank M
i also faced the same problem. On Apr 30, 11:26 am, Paresh Joshi pareshjosh...@gmail.com wrote: ?xml version=1.0 encoding=UTF-8? Module   ModulePrefs title=Song List I had the profile code working with os:HttpRequest call in sandbox few weeks back and noticed today that its broken. I could

[orkut-developer] Re: Help with os:HttpRequest call

2009-04-30 Thread eduardorochabr
Try this: ul li repeat=${osx:parseJson(songs.content)} a href=${Cur.url} img src=${Cur.albumThumbnail}/ /li /ul If it doesn't work, try removing .content and try again. The 'require=song' doesn't seem to be needed. Let me know if it works. On 30 abr, 03:26, Paresh Joshi

[orkut-developer] Re: Help with os:HttpRequest call

2009-04-30 Thread Paresh Joshi
Thanks a lot for your reply. Unfortunately, I tried both version and still did not work. Any other pointers will be greatly appreciated. On Apr 30, 8:21 am, eduardorochabr eduardoroch...@gmail.com wrote: Try this: ul li repeat=${osx:parseJson(songs.content)}   a href=${Cur.url}   img

[orkut-developer] Re: Help with os:HttpRequest call

2009-04-30 Thread eduardorochabr
Remember to declare the osx namespace: script type=text/os-template xmlns:os=http://ns.opensocial.org/ 2008/markup xmlns:osx=http://ns.opensocial.org/2009/extensions; On 30 abr, 13:56, Paresh Joshi pareshjosh...@gmail.com wrote: Thanks a lot for your reply. Unfortunately, I tried both version

[orkut-developer] Re: Help with os:HttpRequest call

2009-04-30 Thread eduardorochabr
Actually, debugging the app once again, I think we don't need to use parseJson, it comes already parsed. So that would become: li repeat=${songs.content.songs} On 30 abr, 14:50, eduardorochabr eduardoroch...@gmail.com wrote: The last songs must be outside the parenthesis: li