Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-03-2006, 07:57 AM
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 257
mikesmith76 RepRank 0
Default phpBB RSS Feed Integration

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
Reply With Quote
  #2 (permalink)  
Old 05-03-2006, 07:09 PM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 5,402
kgun RepRank 3kgun RepRank 3kgun RepRank 3
Default

You have to:

1. Find a RSS parser like Gecko Tribe and install that in your forum folder.

2. Locate the file with the new category and implement the necessary code or link to subpages with the code.

3. I bought Rssfeedguide that helped me a lot.
Reply With Quote
  #3 (permalink)  
Old 05-04-2006, 03:36 AM
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 257
mikesmith76 RepRank 0
Default

Thanks for the reply kgun. I know how to integrate an rss feed with a website i was looking more specifically if anyone had encountered phpBB mods to do the same.

Thanks for the advice
Reply With Quote
  #4 (permalink)  
Old 05-04-2006, 12:14 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Toronto, Canada
Posts: 2,193
cyanide RepRank 0
Default

Hi MIke,

Maybe this rss syndicator is what you are looking for?
__________________
|
Web Hosting Guru
| Need Help For Your Forum?
Reply With Quote
  #5 (permalink)  
Old 05-04-2006, 02:14 PM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 5,402
kgun RepRank 3kgun RepRank 3kgun RepRank 3
Default

Yes, the following search:

rss mod site:www.phpbb.com

makes it.

Need more info, ask the members of the mod team.
Reply With Quote
  #6 (permalink)  
Old 05-04-2006, 08:07 PM
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 257
mikesmith76 RepRank 0
Default

Thanks for the replies everyone, i've almost decided on a strategy for the project. My basic idea is to use a cron job to periodically grab the rss feeds and save them as xml documents on my server. I can then parse these documents when someone loads the forum. My initial idea was to store the items in the phpBB database but i don't really like this as it will create other problems.

Any input on my thoughts will be appreciated
Reply With Quote
  #7 (permalink)  
Old 05-07-2006, 07:06 PM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 5,402
kgun RepRank 3kgun RepRank 3kgun RepRank 3
Default

Do you know design patterns (a catalog of best practices)? There is a design pattern known as the "Observer pattern."

"The observer pattern is a useful solution for triggering events upon a specified occurence within your application.

For example you may have a beck end administration tool that allows authorized users to add articles to your Website. When an article is published. a number of things may need to happen in addition to storing the content in the database; for instance, you may need to refresh the site's cached HTML files, send an email to subscribers to inform them of the new content and perhaps update a static XML document that contain your site's RSS feed, which others use to stay up-to-date about the content you publish. The observer pattern makes triggering these additional features easy and modular."
Source: The PHP Anthology: Object Oriented PHP Solutions Volumn II page 347. The code comes with the book.

A pattern is nothing more than one or more classes. Look for PHP extensions, (Standard PHP Library) to PHP 5.0.

KW's: Standard PHP Library

Relevant article.
Introducing PHP 5's Standard Library
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0