On Sun, Mar 15, 2009 at 12:38 PM, Chris Chabot <chab...@google.com> wrote:

> Hey All,
>
> I'm trying to compare notes between implementations, and trying to render a
> gadget that uses proxied content using a default svn checkout & build of
> java shindig.
>
> The gadget contains:
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
>  <ModulePrefs title="Proxied Content Test">
>    <Require feature="opensocial-0.9"/>
>  </ModulePrefs>
>  <Content view="home" href="http://test.chabotc.com/proxied_home.php
> "></Content>
>  <Content view="profile" href="http://test.chabotc.com/proxied_profile.php
> "></Content>
>  <Content view="canvas" href="http://test.chabotc.com/proxied_canvas.php
> "></Content>
>  <Content view="default" href="http://test.chabotc.com/proxied_profile.php
> "></Content>
> </Module>
>
> Which is the correct syntax as i got it from
> http://wiki.opensocial.org/index.php?title=Proxied_Content
>
> However the output is:
> [stripped lots of javascript]
> <body>proxied_canvas.php


Do you mean that the output is literally the string "proxied_canvas.php", or
the results returned from proxied_canvas.php? If the latter, that's what's
expected (and what I see on my local build). As the spec says, the returned
results from the remote site are to be treated as though they were embedded
directly in the Content element.


>
> <script>gadgets.util.runOnLoadHandlers();</script></body></html>
>
> Which isn't quite the result I expected :)
>
> I've updated http://www.shindig-demo.org to the latest svn trunk as of
> today, so you can reproduce the behavior there.
>

>
> Now my understanding is that proxied content is fully supported in
> java-shindig (as is a preview of datapipelining and other goodies), so I'm
> not quite sure why this isn't working for me, but I bet it's something
> simple i've overlooked :)
>
> Anyone have any suggestions?
>
>   -- Chris
>

Reply via email to