Forums / Developer / RSS export and flash / Comment45312
Tobias Adam
Tuesday 30 May 2006 1:15:01 am
Thanks a lot, Kristof, now it works!
Just a note to the people who try to do the same: there's a little error in Lukasz Code he posted, concerning a missing semicolon in the header field's content which causes IE to fail loading the xml (but FF does, however).
Here's the corrected code:
if ( $layoutINI->hasVariable( $LayoutStyle, 'ContentType' ) ) header( 'Content-Type: ' . $layoutINI->variable( $LayoutStyle, 'ContentType' ) . '; charset=' . $i18nINI->variable( 'CharacterSettings', 'Charset' ) );