Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-03-13 08:01:19
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
ajw_clean_feed: fetch more than 5 posts
I am publishing a feed but can only get maximum 5 posts to the aggregator or by e-mail, even if there are more. The code is below:
<link href="<txp:ajw_clean_feed_link flavor="rss" url_only="y" label="RSS Feed" limit="20" section="rss_feed" title="RSS Feed" area="comments" />" rel="alternate" type="application/rss+xml" />
Obviously using ajw_clean_feed plugin. Any help?
(Edit: updated discussion topic. -Mary)
Last edited by Mary (2008-03-13 18:44:45)
Offline
Re: ajw_clean_feed: fetch more than 5 posts
Preferences: Advanced: Feeds: “How many articles should be included in feeds?”
Offline
#3 2008-03-13 10:53:54
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: ajw_clean_feed: fetch more than 5 posts
if i leave it blank (no value) will it just post ‘new’ feeds no matter how many?
more to the point – if i set it to 10, but only have five, it will post five new plus five recent, and if i post 11, it will display only ten. How do I make it respond to actual amount of posts in feed?
Offline
Re: ajw_clean_feed: fetch more than 5 posts
By adding to the url ?limit=#
, when # is number of the feeds. Like in example:
40 posts from blog: http://www.your-site.com/rss?limit=40
1 posts from blog: http://www.your-site.com/rss?limit=1
Without ajw_clean_feed it’s somthing like: http://www.your-site.com/?rss=1&limit=40
So in example, you could use: http://www.your-site.com/?rss=1&limit=9999
and then it would increase till 9999 :) So, by adjusting that limit, you can show all posts.
Last edited by Gocom (2008-03-13 12:07:25)
Offline
#5 2008-03-16 10:10:05
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: ajw_clean_feed: fetch more than 5 posts
Sorry Gocom, do you mean ALL posts, or just NEW posts – I have no problem with setting a limit with ajw_clean_feed, the problem is, I only want to deliver new posts, not all – if I have Preferences>advanced>feeds set to 10, for example, there are always 10, even if only 5 are new and 5 are old…I only want the 5 new ones to show. Or is this what you meant?
Offline
#6 2008-03-16 17:24:10
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: ajw_clean_feed: fetch more than 5 posts
That’s not possible. For one thing, there’s no way for Textpattern to be psychic and know what you mean by “old” and “new”.
Offline