thanks guys for your answers actually now I get it what is wrong with my
applications....


The Jetty app where the xml resides requires login.
Is it possible in shindig to get a gadget xml file from a site with a login?
So that I would somehow provide first the username and password and then get
the
xml file?



Thanks,
Michael.

2009/11/19 Han Nguyen <hn...@us.ibm.com>

> opps, 401 is auth eror :-), anyway, can you navigate to your gadget xml
> file on a browser?
>
>
>
>
> From:
> Han Nguyen/Charlotte/i...@ibmus
> To:
> shindig-dev@incubator.apache.org
> Date:
> 11/19/2009 10:30 AM
>  Subject:
> Re: installing a gadget
>
>
>
> HTTP 401 is a path error, can you navigate to your gadget xml file on a
> browser?
> For more examples, check out the sample HTML that come with Shindig,
> they're in folder /javascript/container/
> Han
>
>
>
> From:
> Michael Smith <jykloo...@gmail.com>
> To:
> shindig-dev@incubator.apache.org
> Date:
> 11/19/2009 09:44 AM
> 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 <tim.fis...@compuware.com>
>
> > 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:jykloo...@gmail.com]
> > Sent: Thursday, November 19, 2009 9:12 AM
> > To: shindig-dev@incubator.apache.org
> > 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.
> >
> >
>
>
>
>
>

Reply via email to