Forum
Styling a Perch RSS Feed
Hi guys,
I'm trying to style an RSS feed on a website - it's not working, it's just rendering the style tags and code.
It's also not showing each individual post in the Chrome RSS Feeder app.
If I remove the header('Content-Type: application/rss+xml');
line, then it styles the page as expected, but then it doesn't even recognise it as a feed, but it does style the page.
Thanks, Harry
You'll need to use an XML stylesheet - is that what you're doing?
Hi Drew,
I'm using a .xsl file - is that correct? see below for my rss.php code:
I think that looks about right, yes.
It's not styling the feed though, unfortunately, so it's not quite right.
You can view the page here: https://activegloucestershire.org/news/funding_feed.php
Ok, but I don't think that's anything to do with the Perch side of things.
Do you have any tips as far as styling the feed goes?
No my specialist subject, I'm afraid.