Welcome to WebmasterWorld Guest from 54.227.5.198

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

phpBB RSS Feed Integration

     

mikesmith76

12:42 pm on May 3, 2006 (gmt 0)

5+ Year Member



Hi All

I'm working on a phpBB forum and would like to be able to integrate RSS feeds into it. Let me explain...

1. I will create a new category in the admin panel titled "Latest News"

2. I would then like to add a number of rss feeds to this category. The feed title would appear as a new forum under this category, with the feed items appearing as topics.

writing the PHP is not a problem, however I would prefer not to spend the next day or 2 implementing this if there is already a solution available. Any ideas?

Thanks in advance
Mike

eelixduppy

1:16 pm on May 3, 2006 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member



Hello...

There are many PHP scripts available for RSS integration. I would suggest doing a quick google search to find some that may fit your needs best.

Hope this helps :)

eelix

[edited by: coopster at 2:10 am (utc) on May 4, 2006]
[edit reason] removed url per TOS [webmasterworld.com] [/edit]

mikesmith76

3:31 pm on May 3, 2006 (gmt 0)

5+ Year Member



Hi,

thanks for the reply, however that particular example and most of the one's i've seen deal with publishing an rss feed of the latest topics. What i want to do is integrate an rss feed into the board so it appears to be a forum / topic list.

think i'm going to have to write this myself using a cron job / custom script to insert the rss items into the phpBB database.

hakre

7:44 am on May 4, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



if you want to keep the rss feeds in your database for a longer time then they are within the rss feed itself, it would be a good idea to insert them into your forum.

if not, you should be able to use the phpBB template system to display the rss-feed's data within the standard forum design with not so much problems. they got loops over arrays etc. and this comes in handy for that task.

--hakre

mikesmith76

8:49 am on May 4, 2006 (gmt 0)

5+ Year Member



To be honest I would prefer not to insert them into the database at all, just parse them on the fly. Think i'll need some sort of cron job to retrieve the xml files, or a cache set up, or i'm going to end up annoying a lot of people.

Think i'll have a dig through phpBB and find out more about how the forum's are displayed, in the meantime if anyone has any ideas for the points above i would be greatful

thanks again
mike

 

Featured Threads

Hot Threads This Week

Hot Threads This Month