Since the gadget is hosted on your server, you can spit out a lot of things in the javascript using a server-side scripting language. For example if you run Ebay, you can dynamically add latest auctions in the gadget js. You can also read external XML and RSS files (can be from your site) to display content from your site or third parties into the gadgets.
On Nov 3, 2007 11:09 PM, danlester <[EMAIL PROTECTED]> wrote: > > Well, there are no built-in ajax functions that are exposed for our > use... Clearly, the OpenSocial objects use ajax internally so it seems > a slight waste to have to implement (and download each time) our own > libraries. > > On Nov 2, 8:17 pm, junkpop <[EMAIL PROTECTED]> wrote: > > To access server-side stuff, we'll have to use our own forms andAJAX. > There are no built-in calls in OpenSocial for communication to > > your site. > > > > On Nov 2, 2:42 pm, EGreg <[EMAIL PROTECTED]> wrote: > > > > > I've been reading the docs. > > > > > I understand that a social gadget is a javscript thingy that can be > > > run anywhere. > > > I can get the social network information for the person, their > > > friends, etc. > > > > > But what is the most effective (and recommended) way to connect with > > > MY backend? > > > > > So I've got these variables in JAVASCRIPT. How do I conenct to my > > > backend? > > > > > The best way I can think of is to use eitherAJAXor include the info > > > in GET parameters. Does anyone have better ideas? Google doesn't seem > > > to talk about it. > > > > > Greg Magarshak > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Developers" 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-api?hl=en -~----------~----~----~----~------~----~------~--~---
