Another solution would be to use REST/RPC + 2-legged-OAuth and re-encode the
data in background.
This is what some of the biggest apps are doing.

On Wed, May 20, 2009 at 8:11 AM, Eduardo Rocha <eduardoroch...@gmail.com>wrote:

>
> Badaro has the same problem on this thread, give a look:
>
>
> http://groups.google.com/group/opensocial-orkut/browse_thread/thread/1b6c7812d11be5d1/bd5051637e4ea484#bd5051637e4ea484
>
> As I had few users, in my app I preferred to use messages like "Please
> access the application again to update your profile view", or "John
> Smith has to access the application again to update his profile view".
>
> On 19 maio, 23:03, anatoly <anato...@gmail.com> wrote:
> > it is feasible to make these changes both removinf http and saving a
> > string as an array of chars (this one will look very ugly)
> >
> > however:
> >
> > my problem is older users: more than ~200K users have already their
> > appdata saved in the older format:
> > 1) with "http://"; for url.
> > 2) string which should be iterated on profile.
> >
> > On May 20, 3:59 am, Eduardo Rocha <eduardoroch...@gmail.com> wrote:
> >
> > > is it feasible remove the "http://"; before saving the appdata?
> >
> > > also, if you are iterating the text, it would be useful if save this
> > > in a array format, so you could iterate through OS template "repeat"
> > > attribute
> >
> > > On 19 maio, 22:44, anatoly <anato...@gmail.com> wrote:
> >
> > > > Hello
> >
> > > > I find it impossible to do any simlest string operations on profile
> > > > template.
> > > > If there is any solution possible without using additional server
> > > > round trip - I would kindly appreciate it.
> >
> > > > Please note - appdata was already saved for many users in a certain
> > > > format and it is impossible to change it.
> >
> > > > Examples:
> > > > 1) url saved in appdata - remove "http://"; part, to send the
> remaining
> > > > as a part for another url.
> > > > 2) iterate through chars in a string value from appdata:
> > > > in javascript it was like so:
> > > > for (var i = 0; i < textParam.length; i++)
> > > > {
> > > >     // some code using: textParam.charCodeAt(i)
> >
> > > > }
> >
> > > > thanks- 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 opensocial-orkut@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