Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-01-08 18:40:05
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
RSS feeds for future posts
Sometimes I power a events list or news by setting articles with a timestamp in the future. So when the event is parsed the article disappears. It would be great to have an RSS feed for these articles.
I guess it would have to be an option you enable as not everyone will want it enabled by default.
Offline
#2 2008-01-08 22:40:40
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: RSS feeds for future posts
you could create your own RSS feed with mg_setheader plugin
that is, create a section (e.g. “/events-feed”) and in that page template use article_custom
to populate the standard RSS tags with your event information
this way you also have the choice of offering a feed that shows most recently added events (the usual way RSS feeds work) or providing a feed that shows e.g. the next 5 events coming up
this is a great tutorial for setting up a custom iTunes feed (RSS + some extras):
http://www.dev.michaelgravel.com/text/podcasting-with-textpattern-a-tutorial
Offline