RSS not working for embedded page
-
Guest
RSS not working for embedded page
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?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: RSS not working for embedded page
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/