Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-10 19:40:35

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

[plugin] [ORPHAN] ajw_comments_feed

ajw_comments_feed & ajw_comments_feed_link

This plugin extends Textpattern’s RSS & Atom functionality to allow for sitewide, section, category, or article comments feeds. It works exactly like normal feed urls and utilizes the “area” querystring variable, i.e. area=comments. The usage of other modifiers, such as section=foo or category=bar, is also possible.

Last edited by Andrew (2006-01-24 17:49:17)

Offline

#2 2005-11-10 20:11:24

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: [plugin] [ORPHAN] ajw_comments_feed

Yay!

So do you need to use the latest subversion version to use this? Using <txp:ajw_comments_feed wraptag="p" label="RSS" flavor="rss" /> with 4.02 doesn’t output anything.


Cheers,
Jon VC#9

Offline

#3 2005-11-10 20:18:27

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

Re: [plugin] [ORPHAN] ajw_comments_feed

Ah no, sorry – let me clarify…

  • ajw_comments_feed simply adds the functionality to your site – it is never used explicitly as a tag in any form or template.
  • ajw_comments_feed_link -> that’s the one that will output a link to your feed

So what you’re looking for is this:

<txp:ajw_comments_feed_link wraptag="p" label="RSS" flavor="rss" />

Last edited by Andrew (2005-11-10 20:19:14)

Offline

#4 2005-11-10 20:49:56

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

Re: [plugin] [ORPHAN] ajw_comments_feed

Ok, I’ve updated the documentation in an attempt to clarify things. My poor, fugly website needs a major facelift.

Offline

#5 2005-11-11 02:51:36

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

Re: [plugin] [ORPHAN] ajw_comments_feed

!

Offline

#6 2005-11-11 03:58:45

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

Re: [plugin] [ORPHAN] ajw_comments_feed

I’m also very close to releasing the first official /clean/feed/urls/plugin… Woohoo! (compatible w/ this plugin, too)

Last edited by Andrew (2005-11-11 06:56:51)

Offline

#7 2005-11-11 04:47:40

asarbogast
Member
From: Arcata, CA
Registered: 2004-05-21
Posts: 33
Website

Re: [plugin] [ORPHAN] ajw_comments_feed

Woo hoo! I just implemented this plugin, and it’s working like a charm. Thanks Andrew!

Offline

#8 2005-11-11 04:54:52

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [plugin] [ORPHAN] ajw_comments_feed

Very nice thank you Andrew. Installed and working with section attributes as well. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#9 2005-11-12 22:40:41

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: [plugin] [ORPHAN] ajw_comments_feed

Yay again! This is superb – thanks!


Cheers,
Jon VC#9

Offline

#10 2005-11-16 05:19:22

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

Re: [plugin] [ORPHAN] ajw_comments_feed

Comment feeds, now with <code>/clean/urls</code>

Offline

#11 2005-11-22 17:01:02

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [plugin] [ORPHAN] ajw_comments_feed

How do you actually get textpattern to write the url of a comments feed for a particular article?
I tried this in the comments_display form:
<code><a href=”/<txp:section />/<txp:title />/rss”>subcribe</a></code>
But it falls down when the title has more than one word in it…

Am I way wide of the mark?

Offline

#12 2005-11-22 17:15:51

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

Re: [plugin] [ORPHAN] ajw_comments_feed

By default, this plugin will operate in messy mode. In order to get clean comments feeds, you’ll need to install <code>ajw_clean_feed</code>. Clean urls for article comments feeds are generated by ajw_clean_feed_link and will consist of your permalink, followed by /rss or /atom. Check this example for syntax.

Offline

Board footer

Powered by FluxBB