You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Mark Weitzel <ma...@jivesoftware.com> on 2011/01/07 02:23:20 UTC

what controls the URL rewriting of the embed tag...

Quick question…

I've got the following html in my gadget:
<object width="550" height="400" id="fallback">
<param name="movie" value="swf/splash.swf">
<embed src="swf/flash-christmas.swf" width="550" height="400">
</embed>
</object>
<img src="swf/my_logo.png"/>


When the gadget gets rendered, I get two different URL roots.

404: https://apps.app-sandbox.jivesoftware.com/gadgets/swf/flash-christmas.swf

200: http://apphosting.jivesoftware.com/apps/mdwexampleapp8/swf/gliffy_logo.png (image is in the swf dir)


I'm thinking there's a property or something somewhere that I missed. Could someone point me to it quickly?


Thanks!


-Mark W.

Re: what controls the URL rewriting of the embed tag...

Posted by Gagandeep singh <ga...@gmail.com>.
Is AbsolutePathReferenceRewriter acting on your gadget?
Could be AbsolutePathReferenceRewriter is converting the img to the full
src, but not the embed src, which is getting resolved by browser.

On Fri, Jan 7, 2011 at 6:53 AM, Mark Weitzel
<ma...@jivesoftware.com>wrote:

> Quick question…
>
> I've got the following html in my gadget:
> <object width="550" height="400" id="fallback">
> <param name="movie" value="swf/splash.swf">
> <embed src="swf/flash-christmas.swf" width="550" height="400">
> </embed>
> </object>
> <img src="swf/my_logo.png"/>
>
>
> When the gadget gets rendered, I get two different URL roots.
>
> 404:
> https://apps.app-sandbox.jivesoftware.com/gadgets/swf/flash-christmas.swf
>
> 200:
> http://apphosting.jivesoftware.com/apps/mdwexampleapp8/swf/gliffy_logo.png(image is in the swf dir)
>
>
> I'm thinking there's a property or something somewhere that I missed. Could
> someone point me to it quickly?
>
>
> Thanks!
>
>
> -Mark W.
>

Re: what controls the URL rewriting of the embed tag...

Posted by Mat Mannion <M....@warwick.ac.uk>.
What's the value of shindig.content-rewrite.include-tags in your
shindig.properties? If this doesn't include "embed" (or maybe even param,
come to think of it) then that might explain it.

Mat

On 7 January 2011 01:23, Mark Weitzel <ma...@jivesoftware.com> wrote:

> Quick question…
>
> I've got the following html in my gadget:
> <object width="550" height="400" id="fallback">
> <param name="movie" value="swf/splash.swf">
> <embed src="swf/flash-christmas.swf" width="550" height="400">
> </embed>
> </object>
> <img src="swf/my_logo.png"/>
>
>
> When the gadget gets rendered, I get two different URL roots.
>
> 404:
> https://apps.app-sandbox.jivesoftware.com/gadgets/swf/flash-christmas.swf
>
> 200:
> http://apphosting.jivesoftware.com/apps/mdwexampleapp8/swf/gliffy_logo.png(image is in the swf dir)
>
>
> I'm thinking there's a property or something somewhere that I missed. Could
> someone point me to it quickly?
>
>
> Thanks!
>
>
> -Mark W.
>



-- 
Mat Mannion
Senior Web Developer
IT Services
University of Warwick
Coventry
CV4 7AL

Tel: 024 765 74433
Email: M.Mannion@warwick.ac.uk