Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-28 07:47:09

fpradignac
Plugin Author
From: France near Cognac
Registered: 2005-01-29
Posts: 359
Website

RSS/Atom in one category but ALL sections

Hello,

By default TXP create a feed link with <txp:feed_link /> in the current section or in the section of your choice, but only one.

Is it possible to create a feed link (RSS / Atom) that match one category and ALL sections ?

In my case, I have created a specific category “feeds” that I can select in my article (depending of the article I want to put in my feed), and independently of the section of this article.

Thanks in advance,
françois.


françois

Offline

#2 2008-02-28 08:39:16

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: RSS/Atom in one category but ALL sections

wouldn’t <txp:feed_link category="category name" /> work?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2008-02-28 09:40:29

fpradignac
Plugin Author
From: France near Cognac
Registered: 2005-01-29
Posts: 359
Website

Re: RSS/Atom in one category but ALL sections

hmmm… NO : for the time I don’t know why.


françois

Offline

#4 2008-02-29 00:31:32

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

Re: RSS/Atom in one category but ALL sections

Assign section="": when the tag is used outside the default section, it assumes you want a feed for that specific section.

Offline

#5 2008-02-29 09:38:28

fpradignac
Plugin Author
From: France near Cognac
Registered: 2005-01-29
Posts: 359
Website

Re: RSS/Atom in one category but ALL sections

Thanks Mary!

But for now, it seems that feeds with the default tag <txp:feed_link "section="" format="link" /> in my header doesn’t work for me :-(

To use <txp:feed_link />, did I need some particular snippets in .htaccess or elsewhere ?
Did any article are abble to be in feeds or did they need a particular treatment ?


françois

Offline

#6 2008-02-29 13:51:39

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

Re: RSS/Atom in one category but ALL sections

Are you sure ‘Syndicate?’ is set to ‘yes’ in the sections tab?

Offline

#7 2008-02-29 17:41:44

fpradignac
Plugin Author
From: France near Cognac
Registered: 2005-01-29
Posts: 359
Website

Re: RSS/Atom in one category but ALL sections

Els a écrit:

Are you sure ‘Syndicate?’ is set to ‘yes’ in the sections tab?

… well NO … Sorry for this oversight. I forgot this basic option in the section tab : everything works like a charm now.

Many thanks Els and sorry for the inconvenience ;-)


françois

Offline

Board footer

Powered by FluxBB