Knowledge Base
Article ID: 1039
Written By: Rahber
Written On: Sun Apr 03, 2011 7:12 pm
Description: Displaying topics and posts anywhere using third party feed scripts/applications.
- link to this article on phpbb.com: Select All
[kb=displaying-phpbb-post+topics-using-third-party-scripts]Displaying phpBB Post/Topics using third party scripts[/kb]
- link to this article on your own board: Select All
[url=http://www.phpbb.com/kb/article/displaying-phpbb-post+topics-using-third-party-scripts/]Knowledge Base - Displaying phpBB Post/Topics using third party scripts[/url]
Hello
In this tutorial I will show you how to display topics/posts on an external domain in just a few simple steps. Even if you don’t have basic knowledge of SQL, all you need to know is a little bit of phpBB.
Show phpbb Post and Topics on ExternalPage this post has explained how to display posts on an external page on the same domain.
I am going to tell you how to display it anywhere.
phpBB has added a great feed feature that we will be using to accomplish this.
First of all you will need to enable the feed for your forum.
For that go to the administration panel and then Feed Settings and enable it. You can have a new topic feed and an active topic feed if you desire.
I am going to discuss new topic feed, so we will enable it as well as the general feed setting.
Then we come back to our forum and find the feed link.
Since I am going to use it for new topics, it should be
http://www.mydomain.com/phpBB3/feed.php?mode=topics
Now we will be using third party scripts/online applications to parse our feed to HTML and give us a simple script to display it.
FeedBurner
FeedBurner is easy to use; all you have to do is signup (free account) then put your feed link to the feed burner and burn it. After your feed is burned, go to your feed, then the publicize option, and then to Buzz Bost to enable it and modify is as you want. Then simply put the two lines of code anywhere you want to display your forum updates.
Feedsweep
Feedsweep is easy as well. Enter you feed link in the custom feed and then edit the settings as you wanted. Then create a free account and it will give you HTML and JavaScript code to display your feed.
RSS to JavaScript
RSS to JavaScript is a completely free service that doesn't require registration. You simply put your feed link, edit the settings, and you are ready to go with the given HTML code.
These scripts are freeware but they add a link back to them.
If you need to display these feed on the same server but on a new custom page, you just have to add the given script from the third party website into the template file of your new page.