Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-07 08:41:34

Souljacker
Member
From: Terra Brasilis
Registered: 2005-06-20
Posts: 47
Website

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

#2 2005-12-07 09:23:47

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#3 2005-12-07 11:03:17

Souljacker
Member
From: Terra Brasilis
Registered: 2005-06-20
Posts: 47
Website

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

#5 2005-12-07 11:10:49

Souljacker
Member
From: Terra Brasilis
Registered: 2005-06-20
Posts: 47
Website

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

#6 2005-12-07 11:19:22

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Create an RSS Feed properly

As far as validation is concerned I think you need to replace the “&” ampersands with the code so &amp ; (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…

What are you talking about?

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

#8 2005-12-07 11:24:48

Souljacker
Member
From: Terra Brasilis
Registered: 2005-06-20
Posts: 47
Website

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

#9 2005-12-07 11:25:51

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Create an RSS Feed properly

Yep. Validates fine now. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#10 2005-12-07 11:27:57

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Board footer

Powered by FluxBB