embedded s9y: RSS-Feed Problem - SOLVED
Posted: Tue Sep 27, 2005 10:36 am
Hi everyone,
i have been adjusting s9y's index.php in s9y's installation folder to embed it into my webpage.
http://www.e-neo.de/refreshed/serendipity
<?php ob_start(); ?> <!-- prevents "Warning: Cannot modify header information - headers already sent by..." -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- [removed other Framework of my homepage] -->
<?php # $Id: index.php,v 1.83 2005/08/19 10:50:36 garvinhicking Exp $
<!-- [code of sy9 index.php] -->
?>
<!-- [removed other Framework of my homepage] -->
</html>
<?php ob_end_flush(); ?> <!-- see first line -->
My problem now is that all RSS-Feeds start with the code of my homepage as well, which is of course causing parsing errors and thus rendering them useless.
I tried to find a solution myself, but still being new to php I am quite clueless at the moment. My guess the easiest way to solve it would be to open the XML-Output (which should be the rss.php output itself as far as i understand) itself in a new window.
I would appreciate any hints and helping hands on this issue.
Thanks ahead!
i have been adjusting s9y's index.php in s9y's installation folder to embed it into my webpage.
http://www.e-neo.de/refreshed/serendipity
<?php ob_start(); ?> <!-- prevents "Warning: Cannot modify header information - headers already sent by..." -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- [removed other Framework of my homepage] -->
<?php # $Id: index.php,v 1.83 2005/08/19 10:50:36 garvinhicking Exp $
<!-- [code of sy9 index.php] -->
?>
<!-- [removed other Framework of my homepage] -->
</html>
<?php ob_end_flush(); ?> <!-- see first line -->
My problem now is that all RSS-Feeds start with the code of my homepage as well, which is of course causing parsing errors and thus rendering them useless.
I tried to find a solution myself, but still being new to php I am quite clueless at the moment. My guess the easiest way to solve it would be to open the XML-Output (which should be the rss.php output itself as far as i understand) itself in a new window.
I would appreciate any hints and helping hands on this issue.
Thanks ahead!