homepage Welcome to WebmasterWorld Guest from 23.20.149.27
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
phpBB RSS Feed Integration
mikesmith76




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

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




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

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




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

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




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved