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.
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
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???
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.
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?
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
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
my thought would be that you are using a compressed script for loading your flash and the comrpession double compressses it -- is that possible.
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
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
Hmm, just tried it. Does'nt make any difference unfortunately.
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.
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???
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 :)
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
i believe in v4 there is a new umbraco.library item to set the page content type...
yep, here it is... http://our.umbraco.org/wiki/reference/umbracolibrary/changecontenttype
Yes, that should do it!
Hi Guys
Yes that did the magic - thank you very much :)
/Jan
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
is working on a reply...