Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-09-29 18:24:56

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: RSS/atom for comments of a post

I created a patch to enable this functionality a while back, which should still work.

Offline

#2 2005-10-01 11:22:47

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: RSS/atom for comments of a post

Neat, Andrew!

Note to the Management: is there any chance of that patch making it into the distro?

There really isn’t any reason why a feed should update every time there’s another comment. Switch that off and let us have comment subscription instead!

Please.

Offline

#3 2005-10-01 11:28:27

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: RSS/atom for comments of a post

Alternatively, Andrew: could you turn the patch into a plugin?

Offline

#4 2005-10-02 00:20:57

zem
Developer emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579
Website

Re: RSS/atom for comments of a post

There really isn’t any reason why a feed should update every time there’s another comment.

FAQ

Note to the Management: is there any chance of that patch making it into the distro?

Not for a while. There are other, more fundamental, feed issues that need solving first. We could use some help.


Alex
tstate

Offline

#5 2005-11-08 20:26:13

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: RSS/atom for comments of a post

> Anark wrote:
> Alternatively, Andrew: could you turn the patch into a plugin?

I don’t actually know for sure. Sencer or Alex, would this be possible?

Last edited by Andrew (2005-11-08 20:26:35)

Offline

#6 2005-11-08 21:06:03

Sencer
Developer emeritus
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: RSS/atom for comments of a post

Sure, you hook into the pretext-event and see if the url is such that you want to handle it with your plugin. If it is you do and exit; If it’s not something you want to handle, you don’t change any variables, and let textpattern run it’s course.

Offline

#7 2005-11-08 22:48:24

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: RSS/atom for comments of a post

This is something I need to dig into. I’ll get on it.

Offline

#8 2005-11-09 19:33:09

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: RSS/atom for comments of a post

So Sencer, I’d basically have to rewrite rss() and atom(), with my modifications, for use from within an admin plugin that hooks onto pretext(), yes?

Offline

#9 2005-11-09 19:55:26

Sencer
Developer emeritus
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: RSS/atom for comments of a post

I think that would be the most adequate appraoch, for now, yes.

(I am assuming you wrote _admin_-plugin by accident, because the plugin would only work on the public-side of things, no?).

Offline

Board footer

Powered by FluxBB