I want to fetch information from an external source, in the profile
view (in canvas is working ok) but I already tried a lot of different
ways and nothing happens.

<script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/
markup">
     <os:HttpRequest key="dados" href="http://www.opensocial-br.org/
exemplo/code/profile.php" refreshInterval="600" authz="signed"
sign_viewer="true" sign_owner="true" OAUTH_SERVICE_NAME="RSA" />
</script>

<script type="text/os-template" xmlns:os="http://ns.opensocial.org/
2008/markup" xmlns:osx="http://ns.opensocial.org/2009/extensions";>
     <div id="debug" style="display:none">Json: ${dados}</div>
     <div id="container">
          <ul if="${osx:parseJson(dados) != null && osx:parseJson
(dados)['content']['status'] == 'ok'}">
               <li repeat="${osx:parseJson(dados)['content']['itens']}">
                     <p>Título: ${osx:parseJson(dados)['content']['itens']
[Context.Index]['titulo']}</p>
                     <p>Local: ${osx:parseJson(dados)['content']['itens']
[Context.Index]['local']}</p>
                     <p>Membros: ${osx:parseJson(dados)['content']['itens']
[Context.Index]['membros']}</p>

                </li>
          </ul>
     </div>

i used this snippet from opensocial-br, but isn't working... it's
still possible to do this? or am I doing something wrong? thanks a
lot.

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

Reply via email to