Template for Profile View in Production?

4 views
Skip to first unread message

Gama

unread,
Apr 13, 2009, 11:13:47 AM4/13/09
to Orkut Developer Forum
Dear Developers,

I have finished a first version of my app's profile view and it's
working on sandbox.
Is there any problem in uploading this version, even though the
profile isn't showing in production?

Best Regards,
Guilherme Gama

Shishir Birmiwal (Google)

unread,
Apr 14, 2009, 12:02:20 AM4/14/09
to Orkut Developer Forum
Dear Guilherme,

There really is no problems as such.
Once the app gets reviewed and approved it will show up in the app
directory and users will be able to install and use it.
The profile view will, however, not show up on orkut until opensocial
templates are turned on.

Shishir

stevie

unread,
Apr 14, 2009, 12:55:39 AM4/14/09
to Orkut Developer Forum
Hi All,
Is the opensocial templates available in production or
still its availble only in sandbox?

Thanks and regards
Steve

On Apr 14, 9:02 am, "Shishir Birmiwal (Google)"

Vince

unread,
Apr 14, 2009, 7:14:09 AM4/14/09
to Orkut Developer Forum
The better question is, Shishir, when can we expect opensocial
templates to be turned on? If an exact date can't be given, how about
an approximate one - will it be days, months, or maybe years??

It's a shame that with all the developing we are doing, we can't show
it off to the world once we are done.
> > > Guilherme Gama- Hide quoted text -
>
> - Show quoted text -

Apurv Gupta

unread,
Apr 14, 2009, 1:29:52 PM4/14/09
to opensoci...@googlegroups.com
It should definitely happen in April and perhaps sooner than end of month.

Badaro

unread,
Apr 15, 2009, 3:03:27 PM4/15/09
to Orkut Developer Forum
What about OS:NavigateToView or similar functionality? Will it be
available before this goes to production?

On Apr 14, 2:29 pm, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> It should definitely happen in April and perhaps sooner than end of month.
>

Apurv Gupta

unread,
Apr 16, 2009, 12:44:48 PM4/16/09
to opensoci...@googlegroups.com
Hi Folks,

We have renamed the orkut specific functions and these are the stable names. You'll have to use a different namespace to use these: xmlns:osx= "http://ns.opensocial.org/2009/extensions"
You can add this to your script tag

The renamed functions are as follows:

 os:xNavigateToApp -> osx:NavigateToApp
 os:xNavigateToPerson -> osx:NavigateToPerson
 os:xParseJson() -> osx:parseJson()
 os:xDecodeBase64() -> osx:decodeBase64()
 os:xUrlEncode() -> osx:urlEncode()
 os:xUrlDecode() -> osx:urlDecode()


Please update your code to use them, and test them on sandbox. Once things look settled, we'll start turning on the profile views on www.orkut.com

Thanks,
-apurv


P.S. e.g  see the use of osx:NavigateToApp in the following snippet

<script xmlns:os="http://ns.opensocial.org/2008/markup" xmlns:osx= "http://ns.opensocial.org/2009/extensions" type="text/os-template" require="viewer, vfriends">
    <b>Owner ${owner.name.formatted}'s friends</b>
    ${owner.url}
    <ul>
    <li repeat="${ofriends.list}">
      ${Context.Index + 1}/${Context.Count}: ${name.familyName}, ${name.givenName}
      <b if="${Cur.name.givenName == Top.viewer.name.givenName}" title="ID: ${id}">(is this you, ${name.givenName}?)</b>
    </li>
    </ul>
    <br><b>You were kicked by ${poker_data.name.givenName}</b><br>
    <osx:NavigateToApp>Start Kicking</osx:NavigateToApp>
  </script>

barszcz

unread,
Apr 16, 2009, 12:48:24 PM4/16/09
to Orkut Developer Forum
Thanks Gupta.. was about to open a topic to ask if anything was
changed on os:xNavigateToApp!

renatu

unread,
Apr 16, 2009, 9:41:21 PM4/16/09
to Orkut Developer Forum
Hi,
My application is using templates for the profile view and I'm not
using any of the functions that you renamed.

Do I need to do anything to make it appear on the profile view, or it
will simply show up once you have turned it on production?
The app url is:
http://www.bymk.com.br/OpenPages/Orkut/bymk.xml

Thanks

Renato

On 16 abr, 13:44, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> > > > > - Show quoted text -- Ocultar texto entre aspas -
>
> - Mostrar texto das mensagens anteriores -

Apurv Gupta

unread,
Apr 17, 2009, 7:48:49 AM4/17/09
to opensoci...@googlegroups.com
It should simply show up.

Jairo Vasquez

unread,
Apr 23, 2009, 11:55:11 AM4/23/09
to Orkut Developer Forum
Hi,

In my app i was showing the friends images in this way:

<td class="friend" style="background: #999999 url(${thumbnailUrl}) no-
repeat center center;" title="${displayName}"
onclick="top.location.href='http://www.orkut.com${Cur.profileUrl}';"></
td>

The problem is that in the profile view "onclick" is not working (I
think that is because of javascript is not permitted in that view).

Now, i am trying to put the td inside the <osx:NavigateToPerson
person="${Cur}"> tag without the onclick, like this:

<osx:NavigateToPerson person="${Cur}">
<td class="friend" style="background: #999999 url($
{thumbnailUrl}) no-repeat center center;" title="${displayName}"></td>
</osx:NavigateToPerson>

But it doesn't work :(

<osx:NavigateToApp> and <osx:NavigateToPerson> .... only work with
text or <span> inside?? Why is it not working woth td??

or is there another way to do what onclick does???

Thanks in advance


On Apr 17, 6:48 am, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> It should simply show up.
>
Reply all
Reply to author
Forward
0 new messages