Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-29 14:52:48

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Feeds from more than one section?

I am looking at creating a feed for a container section. By container, I mean that no articles are assigned to that section. What the container does is use conditionals to pull in articles from other sections using article_custom.

What I would like to do is make a feed (using either txp:feed_link or something else) for the 5-6 section articles pulled into the container.

For example, section name is “container”. Within that, I pull articles from “news, sport, world”. That’s just an example.

The tag would be in the “container” section:

<txp:feed_link flavor="rss" label="RSS" section="news,sport,world" /> / <txp:feed_link flavor="atom" label="Atom" />

Seems though the feed_link tag does not support more than either 1 section, or the current section.

Anyone know of a way around this? Feedburner any good? Or something else?

Offline

#2 2007-12-29 15:15:24

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Feeds from more than one section?

It’s always nice to link own old post. So, take look at this. Simple, and enjoy.

Cheers!

Offline

#3 2007-12-29 15:36:56

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Feeds from more than one section?

Jukka, you are always full of surprises ;-) I noticed also that ike bowen has a similar approach to yours in an article on his site. I will check with the client first in case they want to use Feedburner, and if not, will try your approach.

Offline

Board footer

Powered by FluxBB