Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-11-16 04:09:13
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
[plugin] [ORPHAN] ajw_clean_feed
ajw_clean_feed & ajw_clean_feed_link
Extends Textpattern’s native Atom & RSS functionality to allow for /clean/feed/urls
for sitewide, per-section, per-category, comments, or links feeds.
- Read the documentation
- Download (current version v0.2)
Last edited by Andrew (2007-01-03 03:45:59)
Offline
Re: [plugin] [ORPHAN] ajw_clean_feed
I assume this does something different than cti_feed_link and mkp_header_link?
Offline
#3 2005-11-16 05:01:27
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [plugin] [ORPHAN] ajw_clean_feed
Yes, this plugin actually extends what is available by default at /rss/ and /atom/ on all Textpattern sites. Now, instead of only being able to fine-tune your feeds with the ?messy=
format, you can serve up all sorts of feeds – always with a /clean/url.
From the documentation:
- Articles
http://example.com/foo/rss/
(RSS for articles in section ‘foo’)http://example.com/category/bar/rss/
(RSS for articles under category ‘bar’)
- Links
http://example.com/link/rss/
(links feed)http://example.com/link/foo/rss/
(links feed for links category ‘foo’)
- Comments <span style=‘color:#CC0000’>^1^</span>
http://example.com/yyyy/mm/dd/url-title/rss/
(RSS for comments for article)http://example.com/section/id/url-title/rss/
(RSS for comments for article)
<span id=“fn1” style=‘color:#CC0000’>^1^</span> <em>Requires ajw_comments_feed. URL will depend on your permlink mode.</em>
Last edited by Andrew (2005-11-17 02:28:49)
Offline
#4 2005-11-17 02:17:42
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] ajw_clean_feed
I love this. Haven’t used it yet, but I love it anyway. ;)
Offline
Re: [plugin] [ORPHAN] ajw_clean_feed
This is marvelous! Thanks!<br />
Tag examples:<br />
<code><txp:ajw_clean_feed_link wraptag=“li” title=“rss” flavor=“atom” label=“ATOM feed” /></code>
<code><txp:ajw_clean_feed_link wraptag=“li” title=“rss” flavor=“rss” label=“RSS feed” /></code><br /><br /><br />
Working great right out of the box. Great work Andrew!<br />
Jamie
Last edited by soulship (2005-11-17 02:56:35)
Offline
#6 2005-11-17 03:00:48
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [plugin] [ORPHAN] ajw_clean_feed
Yes, thx… and to clarify: ajw_clean_feed_link
takes after txp:feed_link
and txp:link_feed_link
, not the meta auto-discovery rss link plugins.
Offline
#7 2006-01-24 04:32:57
- Anark
- Member
- Registered: 2004-08-14
- Posts: 101
Re: [plugin] [ORPHAN] ajw_clean_feed
What is the tag for clean/sitewide/comments off the main page?
Offline
#8 2006-01-24 04:41:01
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [plugin] [ORPHAN] ajw_clean_feed
That’s a good question… lol
Offline
#9 2006-01-24 05:00:15
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [plugin] [ORPHAN] ajw_clean_feed
(in other words, I think I accidentally left that out – I’m working on quickly updating it)
Offline
#10 2006-01-24 17:48:44
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [plugin] [ORPHAN] ajw_clean_feed
Update v0.2
Offline
#11 2006-01-25 01:39:04
- Anark
- Member
- Registered: 2004-08-14
- Posts: 101
Re: [plugin] [ORPHAN] ajw_clean_feed
What is the tag for clean/sitewide/comments off the main page? =)
Offline
#12 2006-01-25 01:43:54
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: [plugin] [ORPHAN] ajw_clean_feed
Ah yes, back to the original question ; )
<txp:ajw_clean_feed_link sitewide="y" area="comments" />
That should do it.
Last edited by Andrew (2006-01-25 03:15:20)
Offline