There is no reason why this is not possible. I have been doing it myself. I have:
- Shindig running on Jetty at localhost:7080 - A gadget container running on Tomcat at localhost:8080 - Some gadgets stored on Tomcat at localhost:9090 (and others at localhost:8080 too) This works for me. (Even with a copy of your HelloWorld gadget.) And, yes, I do have a headache! Whether it is sensible to publish a dynamically changing gadget definition is another matter. As I understand things, once a gadget container has loaded the gadget it is unlikely to reload it for some time. Gadgets do have facilities for displaying dynamic content though, so perhaps this is a better way to go. Bruce Godden Oxford e-Research Centre -----Original Message----- From: Michael Smith [mailto:[email protected]] Sent: 19 November 2009 14:43 To: [email protected] Subject: Re: installing a gadget I actually have a shindig container running in my Tomcat server. Only if i try to display a gadget which has a very simple XML spec: <?xml version="1.0" encoding="UTF-8" ?> <Module> <ModulePrefs title="Hello World!"> <Require feature="opensocial-0.8" /> </ModulePrefs> <Content type="html"><![CDATA[Hello, world!]]></Content> </Module> and this xml file resides in my own simple Jetty server, then when i run the Shindig page, it does not show Hello world, but instead 'Unable to retrieve spec for http://localhost:8080/tmt/gadget. HTTP error 401'. My aim is to dynamically change the content of the gadget from my jetty server and make it available to many sites as an opensocial gadget. Is that at all possible? Thanks, Michael. 2009/11/19 Fisher, Tim <[email protected]> > That depends on what exactly you mean by "gadget". If you are talking > about a gadget that uses the Gadget API or OpenSocial API specs, then > you need a gadget container (i.e. Shindig) to render the gadget. > However, I suppose you could create something that looked very much like > a gadget and displayed some HTML that was not tied to the gadget specs > at all and in that case sure you could use a web server. > > Tim > > > The contents of this e-mail are intended for the named addressee only. It > contains information that may be confidential. Unless you are the named > addressee or an authorized designee, you may not copy or use it, or disclose > it to anyone else. If you received it in error please notify us immediately > and then destroy it. > > From: Michael Smith [mailto:[email protected]] > Sent: Thursday, November 19, 2009 9:12 AM > To: [email protected] > Subject: installing a gadget > > Hi, > can please anybody tell me if it is possible to just make a gadget that > displays some information (in HTML) and deploy the gadget xml file to a > Tomcat server and then use it somewhere else? I mean do i have to have > an opensocial container or can i set up simple gadgets to any web server > i want? > > > Thanks, > Michael. > >

