content-rewrite broken?

5 views
Skip to first unread message

Luke

unread,
Sep 26, 2008, 12:32:38 AM9/26/08
to Orkut Developer Forum
I cannot get any of the content rewrite examples to work in my
gadget... All I get in the sandbox is a generic error:

There was an error getting information about this application:
Unknown Error

Here is one of the example content-rewrite parameters I've tried to
use in the gadget (retrieved from
http://orkutdeveloper.blogspot.com/2008/06/rewriting-returns-to-sandbox.html)

<Optional feature="content-rewrite">
<Param name="include-urls"></Param>
<Param name="exclude-urls">.*</Param>
<Param name="include-tags"></Param>
</Optional>

Whatever error is underlying this appears to have broken our
production gadget. I removed it from production but I've left it in my
test gadget at http://nightrider.myminilife.com/lrtest/opensocial/orkut.xml

regards,
Luke

Jason

unread,
Sep 26, 2008, 5:19:19 PM9/26/08
to Orkut Developer Forum
I was able to get your application to load after removing the
following line:

<Optional feature="hi5"/>

I left the content-rewrite Optional element in the spec and the
application continued to work in both the sandbox and prod sandbox, so
I'm pretty sure the Optional element above is the problem. As it turns
out, there is already a bug filed for this in the public tracker.
Please star it to be notified of status updates and try removing the
<Optional feature="hi5"/> element from your production spec and let me
know if that solves the problem.

http://code.google.com/p/opensocial-resources/issues/detail?id=365

- Jason

On Sep 25, 9:32 pm, Luke <lrajl...@gmail.com> wrote:
> I cannot get any of the content rewrite examples to work in my
> gadget... All I get in the sandbox is a generic error:
>
> There was an error getting information about this application:
> Unknown Error
>
> Here is one of the example content-rewrite parameters I've tried to
> use in the gadget (retrieved fromhttp://orkutdeveloper.blogspot.com/2008/06/rewriting-returns-to-sandb...)

Luke

unread,
Sep 26, 2008, 5:36:15 PM9/26/08
to Orkut Developer Forum
Hi Jason,

I've starred the issue as it's probably related. However, this problem
is slightly different. If I leave only

<Optional feature="hi5"/>

The gadget loads fine. It's only failing if both <Optional> elements
are in the gadget.

Luke

Jason

unread,
Sep 26, 2008, 5:41:07 PM9/26/08
to Orkut Developer Forum
Yes, I just noticed this myself. I tested an application using only
the <Optional .../> tag reported in the original bug and noticed that
it works by itself just as <Optional feature="hi5"/> works by itself
for you, so I believe these issues are related. You can a leave a
comment on the issue instead of creating a new one if you prefer.

- Jason

Luke

unread,
Sep 26, 2008, 6:33:40 PM9/26/08
to Orkut Developer Forum
Hi Jason,

Thanks for the info. I will add my comments to that issue.
Reply all
Reply to author
Forward
0 new messages