shindig-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JP" <jeanpaul.ebe...@ixaris.com>
Subject RE: Examples of shindig proxied content in documentation/samples
Date Tue, 22 Jun 2010 14:23:36 GMT
I am using the out-of-the-box war file - I don't even have an iframe
(instead I use: <div id="gadget-chrome"
class="gadgets-gadget-chrome"></div>)

Anyway - I tried to add <Require feature="views" /> to <ModulePrefs> and
this made as much difference as the weather outside.

If I use <Content view="default,canvas"
href="http://localhost:18080/a/b.html" /> it works, because it uses default
instead of canvas (!).  So it's not exactly what I am looking for.

I found that OpenSocial defines four views
(http://carsonified.com/blog/dev/opensocial-tutorial/): Profile, Home,
Canvas and Preview.  This should be noted somewhere in the rather scarce, if
I am allowed, Shindig documentation.  

Justin, I know why you feel for me - I found this:
http://www.devcomments.com/renderOpenSocialGadget-tries-to-find-profile-view
-but-the-gadget-at141695.htm

Cheers
JP

-----Original Message-----
From: Justin Wyllie [mailto:justinwyllie@hotmail.co.uk] 
Sent: Tuesday, June 22, 2010 4:04 PM
To: users@shindig.apache.org
Subject: RE: Examples of shindig proxied content in documentation/samples


Stick view=canvas on the iframe url which renders the gadget?
Sorry. Wild guess.


> From: jeanpaul.ebejer@ixaris.com
> To: users@shindig.apache.org
> Subject: RE: Examples of shindig proxied content in documentation/samples
> Date: Tue, 22 Jun 2010 15:50:39 +0200
> 
> Unfortunately using shindig-1.1-BETA5-incubating-java (the war file), the
> following xml which I believe is spec-correct
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
>   <ModulePrefs title="">
> 	<Require feature="opensocial-0.9"/>
>   </ModulePrefs>
>   <Content view="canvas" href="http://localhost:18080/a/b.html" />   
> </Module>
> 
> Gives:
> 
> Unable to locate an appropriate view in this gadget. Requested: 'default'
> Available: [canvas]
> 
> Has anyone had any 'luck' with this?
> 
> 
> 
> 
> -----Original Message-----
> From: Justin Wyllie [mailto:justinwyllie@hotmail.co.uk] 
> Sent: Tuesday, June 22, 2010 2:35 PM
> To: users@shindig.apache.org
> Subject: RE: Examples of shindig proxied content in documentation/samples
> 
> 
> I'm using the PHP version of Shindig version 1.1 It appears to be
supported.
> My test case:
> <?xml version="1.0" encoding="UTF-8" ?> <Module>  <ModulePrefs
title="hello
> world example" />    <Require feature="opensocial-0.9"/>  <Content
> view="canvas" href="http://localhost/gadgets_tests/test.html">
> </Content> </Module>
> Correctly loaded the html content from the remote file. It does the fetch
on
> the server as part of the render using BasicRemoteContentFetcher.
> But that's the PHP version. I hope someone else can answer about Java.
> 
> 
> Justin
> 
> 
> 
> 
> > From: jeanpaul.ebejer@ixaris.com
> > To: users@shindig.apache.org
> > Subject: Examples of shindig proxied content in documentation/samples
> > Date: Tue, 22 Jun 2010 14:01:40 +0200
> > 
> >  
> > 
> > Hi there Apache Shindig users, 
> > 
> >  
> > 
> > I was wondering if there is an example and/or documentation in Shindig
> about
> > proxied content (I am using shindig-1.1-BETA5-incubating-java).  More
> > specifically I am looking for the shindig implementation of this
> opensocial
> > 
> > 0.9 spec (http://wiki.opensocial.org/index.php?title=Proxied_Content) -
> the
> > href is what I am particularly interested in.  Is it supported etc?
> > 
> >  
> > 
> > Any Help ?
> > 
> >  
> > 
> > Many Thanks,
> > 
> > Jean-Paul Ebejer, Malta.
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------
> > This e-mail may contain confidential and privileged material for the
sole
> use of the intended recipient. Any review, use, distribution or disclosure
> by others is strictly prohibited. If you are not the intended recipient
(or
> authorized to receive for the recipient), please contact the sender by
reply
> e-mail and delete all copies of this message or part thereof.
> 
>  		 	   		  
> _________________________________________________________________
> http://clk.atdmt.com/UKM/go/197222280/direct/01/
> Do you have a story that started on Hotmail? Tell us now
> 
> 
> 
> ---------------------------------------------------------
> This e-mail may contain confidential and privileged material for the sole
use of the intended recipient. Any review, use, distribution or disclosure
by others is strictly prohibited. If you are not the intended recipient (or
authorized to receive for the recipient), please contact the sender by reply
e-mail and delete all copies of this message or part thereof.
> 
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us
now



---------------------------------------------------------
This e-mail may contain confidential and privileged material for the sole use of the intended
recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If
you are not the intended recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message or part thereof.


Mime
View raw message