I think it is not resource-wise to do something like this instead of simple substring.
On May 20, 5:39 am, Apurv Gupta <[email protected]> wrote: > 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 > <[email protected]>wrote: > > > > > > > Badaro has the same problem on this thread, give a look: > > >http://groups.google.com/group/opensocial-orkut/browse_thread/thread/... > > > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 -- 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 -~----------~----~----~----~------~----~------~--~---

