Actually it works, that is, if you output ${owner.profileUrl}, you
will get something like "/Main#Profile.aspx...".

However, if you try to use <a href="${owner.profileUrl}...>, this link
is relative to gmodules.com, not orkut.com.

If you use <a target="_top", href="http://www.orkut.com$
{owner.profileUrl}...>, the link is OK, but OS templates strips the
target, so ultimately the link doesn't work.

So I can only see you link to canvas pages, either for the owner with
<osx:NavigateToApp> or to someone with <osx:NavigateToPerson person="$
{Cur}">.

On 20 maio, 00:53, anatoly <[email protected]> wrote:
> no it doesn't work - I get the same value.
> also: I think that profileUrl is also implicit field like name for
> owner/viewer as it sounds like so from OS specs.
>
> On May 20, 3:56 am, Eduardo Rocha <[email protected]> wrote:
>
> > some field are retrieved without expliciting them, but for the profile
> > you must be explicit, use this:
>
> > <os:OwnerRequest key="owner" fields="profileUrl"/>
>
> > let me know if it works!
>
> > On 19 maio, 22:47, anatoly <[email protected]> wrote:
>
> > > no
>
> > > I use the code from the official orkut sample: <os:OwnerRequest
> > > key="owner" />
>
> > > but why should I?
>
> > > I don't include any fields and
> > > ${owner.name.givenName} ${owner.name.familyName}
>
> > > works just fine.
>
> > > On May 20, 3:41 am, Eduardo Rocha <[email protected]> wrote:
>
> > > > what about owner.profileUrl? have you included this field in the
> > > > request?
>
> > > > On 19 maio, 22:30, anatoly <[email protected]> wrote:
>
> > > > > Hello
>
> > > > > The following construction (taken from the sample app)
> > > > > <a href="${owner.url}">${owner.name.givenName} 
> > > > > ${owner.name.familyName}
> > > > > </a>
>
> > > > > gives me the following url for 
> > > > > owner.url:http://72a86m9i3qbnvikv0r6t8579hpvud3f6.a.orkut.gmodules.com/gadgets/
>
> > > > > gives error 404.
>
> > > > > a bug?- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" 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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to