Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Sep 04, 2009 @ 21:34
    Jan Skovgaard
    0

    Flash content disapearing after installing compression

    Hi Peter

    First off all - Great package! :)

    I have just installed compression on a site, which has a flash-caroussel for images. After I have modified the web.config following the instructions provided, when the package finished installing the flash does not appear anymore.

    Is there a workaround for this?

    Cheers

    Jan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Sep 04, 2009 @ 22:04
    Jan Skovgaard
    0

    Hmm it turns out that the XML file I have generated through Umbraco is in fact broken now

    This page http://bk-viking.dk/dokumenter/forside-billeder.aspx is feeding my flash on the frontpage with an XML structure but after the install it's broken. I can't really figure out why....

    Any suggestions?

    /Jan

  • bob baty-barr 1180 posts 1294 karma points MVP
    Sep 04, 2009 @ 22:22
    bob baty-barr
    0

    my thought would be that you are using a compressed script for loading your flash and the comrpession double compressses it -- is that possible.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Sep 04, 2009 @ 22:25
    Jan Skovgaard
    0

    Hi Bob

    That was also my first thought but the flash is actually loading just fine. However the page that generates my XML is screwed: http://bk-viking.dk/dokumenter/forside-billeder.aspx

    It happened just after I modified the web.config. Before that the XML document was fine.

    /Jan

  • bob baty-barr 1180 posts 1294 karma points MVP
    Sep 04, 2009 @ 22:29
    bob baty-barr
    0

    try removing all spaces between elements in your template... meaning run all pieces in one line... the declaraion, content holder, macro, etc. and see if that does anything

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Sep 04, 2009 @ 22:34
    Jan Skovgaard
    0

    Hmm, just tried it. Does'nt make any difference unfortunately.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Sep 04, 2009 @ 22:50
    Jan Skovgaard
    0

    As soon as I switch to the old web.config settings the feed is working again...can't really figure out what is causing the trouble.

  • bob baty-barr 1180 posts 1294 karma points MVP
    Sep 04, 2009 @ 22:51
    bob baty-barr
    0

    there has to be a connection between the http compression and the xml rendering... can you only use the script compression? or does it have to be all???

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Sep 04, 2009 @ 22:55
    Jan Skovgaard
    0

    I only need the .js and .css files to be compressed...but not quite sure about how the package is working so I don't know what to modify :)

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Sep 05, 2009 @ 00:44
    Peter Dijksterhuis
    0

    Hi Jan,

    I think it is caused by the fact that the page (that generates the xml) is being compressed. You can solve this by changing the content-type of the page.

    Don't know from the top of my head how exactly, I'll look that up tomorrow.

    Peter

  • bob baty-barr 1180 posts 1294 karma points MVP
    Sep 05, 2009 @ 05:08
    bob baty-barr
    0

    i believe in v4 there is a new umbraco.library item to set the page content type...

  • bob baty-barr 1180 posts 1294 karma points MVP
    Sep 05, 2009 @ 05:14
  • Peter Dijksterhuis 1442 posts 1722 karma points
    Sep 05, 2009 @ 10:01
    Peter Dijksterhuis
    1

    Yes, that should do it!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Sep 05, 2009 @ 12:44
    Jan Skovgaard
    0

    Hi Guys

    Yes that did the magic - thank you very much :)

    /Jan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Dec 17, 2009 @ 20:25
    Jan Skovgaard
    0

    Hmmm

    Just discovered that there is a strange issue when I'm trying to validate the page http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fbk-viking.dk%2F

    The document is written with XHTML 1.0 transitional doctype. But the validator can't figure it out. I tried to switch back to the original web.config before I modified it according to the instructions in the package.

    I just can't figure out what setting in the web.config to modify. Any suggestions?

    Thanks in advance.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft