Page 1 of 1

RSS not working for embedded page

Posted: Wed Nov 16, 2005 6:32 am
by Guest
I installed the latest version of Serendipity and am using embedded pages. I want to display my blog inside of a <div id="TheContent"></div> and everything works fine, except for any of the RSS feeds. Whenever you click any of them, it tries to generate the RSS feed inside of my page causing error after error. Is there anyway to fix this?

Re: RSS not working for embedded page

Posted: Thu Nov 17, 2005 1:07 pm
by garvinhicking
You'll need to emit your embedded Page layout after the s9y inclusion, instead of before.

The RSS feed terminates the script execution with "exit", so when an RSS feed is viewed, your custom layout will not be shown, as it would be embedded later when the script has already ended.

Regards,
Garvin