Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Create an RSS Feed properly
When I create an RSS Feed through Textpattern it outputs this link?
index.php?rss=1&limit=10/
When I click it it tries to download an php file which contains the feed, though.
Shouldn’t it display a link to a XML file or something?
Offline
Re: Create an RSS Feed properly
The feeds are now properly formatted XML, which is what they should be, and most current browsers can’t read this yet. This is why you are prompted to download the file. Feeds are meant to be for feed-readers/aggregators which can read XML without problem.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Create an RSS Feed properly
In other sites where there’s a button to feeds, when I click it I see the XML code. Why?
Offline
#4 2005-12-07 11:06:16
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Create an RSS Feed properly
Because they haven’t told the browser the content type that the feed is.
Offline
Re: Create an RSS Feed properly
I’m still a little bit confused. Can you guys please take a look at it?
www.cacofonia.com.br , the feed link is right at the botton of the right collun.
Last edited by Souljacker (2005-12-07 11:18:32)
Offline
Re: Create an RSS Feed properly
As far as validation is concerned I think you need to replace the “&” ampersands with the code so & ; (without the space).
The feed itself is displaying properly in my reader (Sage for FireFox).
Last edited by thebombsite (2005-12-07 11:24:07)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#7 2005-12-07 11:22:12
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Create an RSS Feed properly
…breaks my XHTML validation…
I’m still a little bit confused. Can you guys please take a look at it?
What is it we’re looking for, exactly? Looks fine to me. ?
Offline
Re: Create an RSS Feed properly
About the validation, I’ve just figured it out before thebombsite post here. Thanks a lot.
Mary, I just thing this behavior or trying to download a php when clicking it strange. It’s not what we see in other websites. But if you say it’s ok, it’s ok :)
Thanks
Offline
Re: Create an RSS Feed properly
Yep. Validates fine now. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Create an RSS Feed properly
Well to state it more clearly, the feed is XML and TXP now tells whatever is trying to read it that it is XML. Other applications don’t state this so browsers will read it, but they shouldn’t really be able to yet.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#11 2005-12-07 14:36:35
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Create an RSS Feed properly
Yeah. Don’t worry about it. What you’re getting is supposed to happen, and the feed will work fine in feed readers. :)
Offline
Pages: 1