New RSS Feed for The Gaming Oasis

New RSS Feed for The Gaming Oasis

Postby MacK » Wed Sep 19, 2007 3:56 pm

syndication.php

Just added it. Here is how you can use it:

count is a parameter how many topics the script should display fid is forumid
it says that forums you would display.

example: rss.php?count=3&fid=2,4
it say the script display the 3 last topics consider forum 2 and 4


Put this file in your phpBB3 directory.

You can call this script without parameters, what will result in an
RSS_FEED with the x latest posts from all your forums.
x is specified in $CFG['max_topics']

You can specify the number of posts via the url parameter count:
http://www.domain.com/phpBB3/syndication.php?count=50

If you want show only first post on topic, use this parameter:
http://www.domain.com/phpBB3/syndication.php?t=1

This will result in an RSS_FEED with the latest 50 posts from all your forums.

You can also specify to look only at a specified forum using the fid parameter:
http://www.domain.com/phpBB3/syndication.php?fid=9

This will result in an RSS_FEED with the latest x posts from your forum with the id 9.

You can also mix the paramters:
http://www.domain.com/phpBB2/syndication.php?fi ... ,6&count=3

will show you the latest 3 posts from forum 5 and 6.


atom or rss type:
http://www.domain.com/phpBB3/syndication.php?type=atom
http://www.domain.com/phpBB3/syndication.php?type=rss

If not use type, default is rss.
Here's to you, as good as you are, And here's to me, as bad as I am, But as good as you are and as bad as I am, I'm as good as you are, bad as I am.
Image
User avatar
MacK
Site Admin
Site Admin
 
Posts: 1466
Joined: Mon Jun 25, 2007 9:25 am
Location: Atlanta, GA
Human Verification: 8

Re: New RSS Feed for The Gaming Oasis

Postby MacK » Wed Sep 19, 2007 4:20 pm

On a side note, this is the reader I like.

http://www.feedreader.com/
Here's to you, as good as you are, And here's to me, as bad as I am, But as good as you are and as bad as I am, I'm as good as you are, bad as I am.
Image
User avatar
MacK
Site Admin
Site Admin
 
Posts: 1466
Joined: Mon Jun 25, 2007 9:25 am
Location: Atlanta, GA
Human Verification: 8

Re: New RSS Feed for The Gaming Oasis

Postby pesetas » Wed Sep 19, 2007 4:21 pm

Huh? :DANG:
"The clever combatant imposes his will on the enemy, but does not allow the enemy's will to be imposed on him"
- Sun Tzu

...1500+ and still spamming...
pesetas
Master
Master
 
Posts: 1755
Joined: Fri Aug 03, 2007 3:04 pm
Location: Charleston, SC


Return to Support & Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron