Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-09 20:08:33

sol
New Member
From: Matterhorn Country
Registered: 2008-01-09
Posts: 3

Atom or RSS feed with all categories

hi,

I use TXP 4.0.4 and I’d like to show the latest articles from all categories in one Atom or RSS feed.

I tried:

<txp:feed_link flavor="rss" section="article" category="alpha,beta,gamma" label="XML" wraptag="p" />

which obviously didn’t work. Seems like there’s only one category allowed. Just using one category works fine but dropping the category parameter and therefore using:

<txp:feed_link flavor="rss" section="article" label="XML" wraptag="p" />

get’s me a weird error in Firefox:

xswxf31h could not be saved, because the source file could not be read.

I searched in those _how do I_-posts and this forum but didn’t really find the answer yet (I hope I’m not that blind). Do I need to install an additional plugin to be able to get one Atom or RSS feed with the latest articles from all categories?

Thank you for your help

Offline

#2 2008-01-09 20:49:31

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Atom or RSS feed with all categories

sol wrote:

I use TXP 4.0.4

Don’t forget to upgrade :)

<txp:feed_link flavor="rss" section="article" label="XML" wraptag="p" />

should give you all categories provided this is not on a category page. If it is, it will be restricted to the current category.
I don’t know what the error means.

Offline

#3 2008-01-10 11:12:48

sol
New Member
From: Matterhorn Country
Registered: 2008-01-09
Posts: 3

Re: Atom or RSS feed with all categories

Well, it doesn’t give me all the categories. I’m gonna upgrade. Let’s see if that solves the problem.

Offline

#4 2008-01-11 01:23:50

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Atom or RSS feed with all categories

You have articles in all the categories, right?

Offline

#5 2008-01-18 14:10:47

sol
New Member
From: Matterhorn Country
Registered: 2008-01-09
Posts: 3

Re: Atom or RSS feed with all categories

Yes. There are several articles in every category.

Offline

Board footer

Powered by FluxBB