RSS feed of recent posts

k15n1

Almost Self-Reliant
Joined
Nov 28, 2010
Messages
971
Reaction score
22
Points
115
Nifty, what about an RSS feed for the recent-posts page? That would be really great. I read lots of blogs and it's real easy to keep track when it shows up in my reader.
 

hqueen13

<Insert Snazzy Title Here
Joined
Nov 23, 2011
Messages
3,664
Reaction score
381
Points
277
Location
Fallston, MD
What reader do you use? I could use one of those! Lord knows I follow too many blogs and just can't keep up!
 

~gd

Lovin' The Homestead
Joined
May 29, 2010
Messages
1,812
Reaction score
3
Points
99
k15n1 said:
Nifty, what about an RSS feed for the recent-posts page? That would be really great. I read lots of blogs and it's real easy to keep track when it shows up in my reader.
Why don't you PM Nifty? He has other sites to read, I suspect he drops by here only when he has something to post or when a mod asks for help.
 

Nifty

Super Self-Sufficient
Administrator
Joined
Nov 13, 2007
Messages
1,376
Reaction score
228
Points
227
These should work:

Output the 15 most recently active topics: http://sufficientself.com/forum/extern.php?action=active&type=RSS


If you really want to get your geek on, here is more info about "syndication"

Syndication

This script extern.php is used to include information about your board from pages outside the forums and to syndicate news about recent discussions via RSS. The script can display a list of recent discussions (sorted by post time or last post time), a list of active users or a collection of general board statistics. The script can be called directly via an URL (for RSS), from a PHP include command or through the use of Server Side Includes (SSI).

The scripts behaviour is controlled via variables supplied in the URL to the script. The different variables are: action (what to output), show (how many topics to display), forum (the ID of the forum to poll for topics) and type (output as HTML or RSS). The only mandatory variable is action.

Possible/default values are:

action: active (show most recently active topics) (HTML or RSS)
new (show newest topics) (HTML or RSS)
online (show users online) (HTML)
online_full (as above, but includes a full list) (HTML)
stats (show board statistics) (HTML)
show: Any integer value between 1 and 50. This variables is ignored for RSS output. The default is 15.
fid: One or more forum IDs (comma-separated). If ignored, topics from all guest-readable forums will be polled.
type: RSS. Anything else means HTML output.

Here are some examples using PHP include().

Show the 15 most recently active topics from all forums:
include('http://sufficientself.com/forums/extern.php?action=active');
Show the 10 newest topics from forums with ID 5, 6 and 7:
include('http://sufficientself.com/forums/extern.php?action=new&show=10&fid=5,6,7');
Show users online:
include('http://sufficientself.com/forums/extern.php?action=online');
Show users online with full listing of users:
include('http://sufficientself.com/forums/extern.php?action=online_full');
Show board statistics:
include('http://sufficientself.com/forums/extern.php?action=stats');

Here are some examples using SSI.

Show the 5 newest topics from forums with ID 11 and 22:
<!--#include virtual="forums/extern.php?action=new&show=5&fid=11,22" -->
Show board statistics:
<!--#include virtual="forums/extern.php?action=stats" -->

And finally some examples using extern.php to output an RSS 0.91 feed.

Output the 15 most recently active topics:
http://sufficientself.com/forum/extern.php?action=active&type=RSS
Output the 15 newest topics from forum with ID=5:
http://sufficientself.com/forum/extern.php?action=active&type=RSS&fid=5
 
Top