Hi, For big size javascript files you can easily call them in your gadget using normal html tags like <script type='text/javascript' src=''script-location"></script>and send appropriate cache headers from your server. for small size scripts like swfobject etc which can be common to both profile, canvas views, inline them in app XML. eg- <Content type="html" view='canvas,profile'><![CDATA[ <script type="text/javascript"> script content goes here </script> ]]></Content> after this continue with the rest of gadget html. Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com
> Date: Sat, 19 Jul 2008 11:39:33 -0700> Subject: [orkut-developer] help with > external files> From: [EMAIL PROTECTED]> To: > opensocial-orkut@googlegroups.com> > > im with a script in a external file > and im looking for a way to insert> it in my xml, i could only copy and paste > it to my xml, but i would> have to do it on the canvas and in the profile > content, and i dont> want it. Im not sure what a should do to insert it and > keep it cached.> Can somebody helpme??> > _________________________________________________________________ With Windows Live for mobile, your contacts travel with you. http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072008 --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---