Well, done.

I can now get the data from owner, I put the code at CDATA
block...sorry for that...

But, how can I extract profile UID from Owner??

"profileUrl":"/Profile.aspx?uid=11153942213641773403&mt=os"

If javascript enabled I can...but, how to parse it without JS?

On 2 jul, 17:41, e0x <luiz.bos...@gmail.com> wrote:
> Sorry.
>
> I am using now sandbox to test but no luck...
>
> Look my XML:
>
> <script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/
> markup">
> <os:OwnerRequest key="owner" fields="name,id,profileUrl" />
> </script>
> <script type="text/os-template" xmlns:os="http://ns.opensocial.org/
> 2008/markup" xmlns:osx="http://ns.opensocial.org/2009/extensions";>
> ${owner.id}
> </script>
>
> This simple code, i'm trying to get the OWNER UID to use in my
> application...but I've got this return on profile page:
> ${owner.id}
>
> it seems that nothing happens and the text are wrote in HTML mode
> ignoring the tag...what is wrong?
>
> On 2 jul, 16:19, Robson Dantas <biu.dan...@gmail.com> wrote:
>
> > Yes, I'm Brazilian, but it's a english-based group :-)
>
> > If you want help in Portuguese, switch to opensocial-br 
> > group:http://groups.google.com/group/opensocial-br
>
> > Data pipelining was under maintenance, but got a message from Google saying
> > it's working fine on sandbox. Give a try!
>
> > -Robson Dantas
> > <http://groups.google.com/group/opensocial-br>
>
> > 2010/7/1 e0x <luiz.bos...@gmail.com>
>
> > > Ah você é brasileiro também!
>
> > > Eu vi esse artigo seu quando estava desenvolvendo para aprender...
> > > No caso eu preciso apenas do UID mesmo, acho que não vou precisar mais
> > > usar o HttpRequest, vou usar apenas o OwnerRequest...
>
> > > O uso do OwnerRequest também está em manutenção pelo Google (orkut) ?
>
> > > On 1 jul, 22:02, Robson Dantas <biu.dan...@gmail.com> wrote:
> > > > Hi.
>
> > > > You need opensocial-0.8 on Orkut in order to use templates and 
> > > > pipelining
> > > on
> > > > Orkut.
>
> > > > Google promised a release yesterday, which was applied but didn't fix 
> > > > the
> > > > problem at all. They are working on it.
>
> > > > I wrote a small sample which uses a lot of common opensocial stuff,
> > > > including a profile view. See:
>
> > > >http://www.opensocial-br.org/exemplo/opensocialbr.xml
>
> > > > -Robson Dantas
>
> > > > 2010/7/1 e0x <luiz.bos...@gmail.com>
>
> > > > > Thats bad... =/
>
> > > > > My first orkut app and I cant test...but, anyway I will wait...
>
> > > > > If I change to opensocial 0.8 it will work?
>
> > > > > There is a ETA to solve the data pepilining from google?
>
> > > > > Thanks
>
> > > > > On Jul 1, 9:25 pm, Robson Dantas <biu.dan...@gmail.com> wrote:
> > > > > > Hi!
>
> > > > > > If you are doing that on orkut, there's a bug happening over 10+ 
> > > > > > days
> > > > > which
> > > > > > breaks data pipelining.
>
> > > > > > Also, change opensocial-0.7 to opensocial-0.8 .
>
> > > > > > Regards
>
> > > > > > Robson Dantas
>
> > > > > > 2010/6/30 e0x <luiz.bos...@gmail.com>
>
> > > > > > > I dont know what to do....
>
> > > > > > > I try many ways...and nothing....
> > > > > > > The data ${} dont show on screen.
>
> > > > > > >    <Require feature="opensocial-0.7"/>
> > > > > > >    <Require feature="osml" />
> > > > > > >    <Require feature="opensocial-data" />
> > > > > > >    <Require feature="opensocial-templates">
> > > > > > >     <Param name="process-on-server">true</Param>
> > > > > > >    </Require>
> > > > > > >  </ModulePrefs>
>
> > > > > > >  <Content type="html" view="profile">
> > > > > > >    <![CDATA[
> > > > > > >      <script type="text/os-data" xmlns:os="
> > >http://ns.opensocial.org/
> > > > > > > 2008/markup">
> > > > > > >        <os:OwnerRequest key="owner" fields="id,thumbnailUrl,
> > > > > profileUrl"/>
> > > > > > >        <os:HttpRequest key="song" href="
> > >http://www.luizbossoi.com.br/
> > > > > > > orkut/getdata.asp?id=${owner.id}" />
> > > > > > >      </script>
>
> > > > > > >      <script type="text/os-template" require="song">
> > > > > > >        ${song.link}
> > > > > > >        ${link}
> > > > > > >        ${owner.id}
> > > > > > >      </script>
> > > > > > >    ]]>
>
> > > > > > >  </Content>
>
> > > > > > > --
> > > > > > > You received this message because you are subscribed to the Google
> > > > > Groups
> > > > > > > "OpenSocial Application Development" group.
> > > > > > > To post to this group, send email to
> > > opensocial-...@googlegroups.com.
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com>
> > > <opensocial-api%2bunsubscr...@googlegroups.com<opensocial-api%252bunsubscr...@googlegroups.com>
>
> > > > > <opensocial-api%2bunsubscr...@googlegroups.com<opensocial-api%252bunsubscr...@googlegroups.com>
> > > <opensocial-api%252bunsubscr...@googlegroups.com<opensocial-api%25252bunsubscr...@googlegroups.com>
>
> > > > > > > .
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/opensocial-api?hl=en.
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "OpenSocial Application Development" group.
> > > > > To post to this group, send email to opensocial-...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com>
> > > <opensocial-api%2bunsubscr...@googlegroups.com<opensocial-api%252bunsubscr...@googlegroups.com>
>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/opensocial-api?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "OpenSocial Application Development" group.
> > > To post to this group, send email to opensocial-...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/opensocial-api?hl=en.

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

Reply via email to