Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-03-14 20:47:35
- mikkeX
- Archived Plugin Author
- Registered: 2004-02-26
- Posts: 74
RSS from two sections
Hi!
Is it possible to have rss from two sections? Like:
/rss/?section=artikel§ion=veckans_ledare
Offline
Re: RSS from two sections
If you use the article feed option in the left menu of the page template editing form you can create clickable section feeds. If you want an auto-discover feed place something like:-
<code>
<link rel=“alternate” type=“application/rss+xml” title=“RSS 0.92” href=”/?rss=1§ion=article” /></code>
<br />
in the head section of your template.
If you want a feed for comments there’s a plug-in for that as well.
Last edited by thebombsite (2006-03-14 22:52:35)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2006-03-15 07:54:55
- mikkeX
- Archived Plugin Author
- Registered: 2004-02-26
- Posts: 74
Re: RSS from two sections
Sorry for being not so precise – I know how to do an RSS for an section – but how do I (if possible) comibine two section in one feed?
Offline
#4 2006-03-15 10:16:57
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: RSS from two sections
In my understanding specifying multiple sections for the RSS feed tag as comma-separted list as argument would result in an unvalid feed, but I’m not sure about it.
I think that the admin panel reflects that as well,
Logically what you would do , would be not to specify any section at all and then under presentation Sections assign the Sections that should be included in feed syndication, and then (eg.: by default it would grab the last 5 articles from all those sections assigned)
Articles can be filtered by categories though,however I didn’t have time yet to verify for myself, if all this works as it is supposed to.
regards, marios
Last edited by marios (2006-03-15 10:17:52)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#5 2006-03-15 22:08:34
- mikkeX
- Archived Plugin Author
- Registered: 2004-02-26
- Posts: 74
Re: RSS from two sections
I need to have a lot of sections as rss and just two of them in the same… guess I have to try to do a plugin on this…
Offline
Pages: 1