[orkut-developer] Length limit for URL's

2011-02-22 Thread Bruno Oliveira (btco)
Hi developers,

I thought I'd write a post to share with you something I recently observed: 
links with big URL's (more than 500 characters) don't work properly on 
activity stream updates, scraps, e-mails, or anywhere general. Using huge 
URLs  is not a good practice in general, since certain browsers have 
undocumented limits on URL handling, but our limit is lower than most 
browsers, to play it safe.

We also use URL rewriting sometimes to route things through our cache to 
decrease latency, so that may consume as much as 160 characters from the 
URL.

Moral of the story: don't use huge URLs. Particularly, since our limit is 
512, and up to 160 can be used up in rewriting, and leaving some space for 
escaping special characters on the rewrite, I'd say the safe limit would be 
around 200. And that's still a pretty long URL:

http://this.is.an.example.url.with.200.chars/as.you.can.see.i.can.write.a.lot.of.stuff/anditwillstillfit/wow/its/only/130/characters/this/far/im/getting/tired/of/typing/abcdefghijklmnopqrstuvwxyz

-- 
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.



[orkut-developer] Re: New features: configurable app width and container version!

2011-02-22 Thread Bruno Oliveira (btco)
Yep. If you don't do anything, your app will continue to be 835px wide (both 
on the new and old UI).

-- 
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.



Re: [orkut-developer] Re: New features: configurable app width and container version!

2011-02-22 Thread Julio Alvarez
First, congratulations, really great feature :)

How container defines available width? Do it check browser's window width or
the max width is fixed in UI?

Thanks.

Julio.


2011/2/22 Bruno Oliveira (btco) bru...@google.com

 Yep. If you don't do anything, your app will continue to be 835px wide
 (both on the new and old UI).

 --
 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.


-- 
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.



[orkut-developer] orkut AppReviewer

2011-02-22 Thread Frisoni
Hi,

I just got an email with the following text:


While reviewing your app, we observed:
- There were HTTP problems fetching the following URLs referenced by
your application. Please make sure that all referenced resources are
available and reliably served:

http://mt0.google.com/vt/lyrs=m@145hl=ensrc=apix=0y=0z=0s=


But, what is this link provided in the message?

Thanks,
Frisoni

-- 
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.



[orkut-developer] Re: Attention: AS post and Profile View size will be adjusted soon. Please update your apps!

2011-02-22 Thread anatoly
so what are the current widths?


On Feb 22, 5:46 pm, Bruno Oliveira (\btco\) bru...@google.com
wrote:
 Hi developers,

 We'd like to give you a heads-up about a layout adjustment we're doing soon:

    - The width of *Activity Stream updates* will be changed to *425px*
    - The *Profile View width* will be changed to *480px*

 If your application already uses flexible HTML for these elements (i.e. no
 hard-coded dimensions or constraints), then congratulations, you have just
 reaped the benefits of good design! You don't have to do anyting :-)

 If your application does not use flexible HTML and is specifically tailored
 to the current widths, please update it as soon as you can!

-- 
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.



[orkut-developer] Re: AppReviewer now checking live apps -- you may receive e-mails!

2011-02-22 Thread anatoly
today I got another series of identical emails which look like so:

- The app took too long to load. Some of the possible reasons for this
are:
(1) perhaps you are displaying a modal dialog (popup). If this is the
case, please remove the popup;
(2) perhaps the code that executes when the page loads is taking too
long to finish.Are you doing too much processing? An infinite loop?
Are you performing a synchronousoperation involving the network?;
(3) perhaps you are trying to load too many resources (images, media,
scripts, etc). Perhaps it's best to cut back on resources or load them
later instead of trying to do that when the page is first shown;
(4) there might be a vulnerability in the way user-generated-content
is rendered, that is, perhaps there is a way to exploit your
application to make it run arbitrary code. Please sanitize all user-
generated content, including names, comments, messages, titles and
other fields.

I checked and all mentioned apps are loading just fine and fast. It
looks like another false positive.
Not to mention no popups are used and also some of the apps in uestion
are so light that do not use external scripts or any images - and yet
I get these emails. Other apps do use scripts and images but that
should not be an issue since modern sites all use images. All images
are cached btw.

Is it neccessary to send this kind of emails?


thanks






On Feb 17, 12:00 am, Bruno Oliveira (\btco\) bru...@google.com
wrote:
 Yes, for now AppReviewer doesn't know who got the name first, so he sends
 both authors the same warning about the duplicate name.

 We'll figure out (and tell everyone) how we'll deal with this kind of
 situation when we're ready to launch AppReviewer for real. For now, consider
 the name clash detection feature as a beta feature... no one's app will be
 removed for name clashes yet.

-- 
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.



[orkut-developer] Re: Delete duplicated App

2011-02-22 Thread Siyuan
is there anyone can help me?
thank you in advance

On Feb 16, 11:38 am, Siyuan siy...@halfquest.com wrote:
 Hi,
    I would like to remove my App called Toca DJ!-SANDBOX from the
 directory.
    the App is used for test purpose, i think no one submitted it, but
 now it's shown in the directory.
    the App url:http://www.orkut.com/Main#Application?
 appId=951421207472
    the App xml:http://ec2-122-248-193-48.ap-
 southeast-1.compute.amazonaws.com:81/orkut.xml
    help me remove it please, Thanks a lot!

 Siyuan
 @halfquest

-- 
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.



[orkut-developer] Unsupported feature

2011-02-22 Thread Philipp Gladkov
Hello,
trying to submit application:
http://sandbox.orkut.com/Main#Application?uid=12101513011297689657appId=1061702692136

with XML: 
http://www.pixonic-games.com/pixapi-server-or/gadget/gadget-hobgoblin-or.xml

But, there is an error:  * Unsupported feature:
org.apache.shindig.common.xml.XmlException: White spaces are required
between publicId and systemId. At: (1,63)

What should i do, to override it?
 Looked for same themes, but haven't found any answer.

Best Regards,
Philipp Gladkov

-- 
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.