boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to put and rss news feed into my b2 site?

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
Velo



Joined: 20 Sep 2004
Posts: 4

PostPosted: Mon Sep 20, 2004 6:41 am    Post subject: How to put and rss news feed into my b2 site? Reply with quote

How do you incorporate a news feed into b2?

For instance, I want my b2 site to display news from http://www.steampowered.com/rss.xml -- and update every time it is updated. How would I go about doing that?

I know there's lots of posts on this (and I looke through all of them), but no one really gave a clear answer.

Thanks.
Back to top
View user's profile Send private message
sh0ck



Joined: 02 May 2004
Posts: 29
Location: Norway

PostPosted: Mon Sep 20, 2004 8:15 am    Post subject: Reply with quote

All you need is a script to fetch the xml/rss feeds. Look here:

http://www.hotscripts.com/PHP/Scripts_and_Programs/XML_and_PHP/
_________________
http://www.licklinux.com
Back to top
View user's profile Send private message Visit poster's website
Velo



Joined: 20 Sep 2004
Posts: 4

PostPosted: Mon Sep 20, 2004 7:26 pm    Post subject: yes Reply with quote

I have a two scripts and several readers, but those only read the newsfeeds. Now I need advice on how to put it actually into the b2 structure. Like what file do I put the script into and where?

Thanks
Back to top
View user's profile Send private message
Velo



Joined: 20 Sep 2004
Posts: 4

PostPosted: Tue Sep 21, 2004 7:54 pm    Post subject: Reply with quote

*bump* anyone??? RSS Feeds...yes...no....maybe lol
Back to top
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 626
Location: Oslo, Norway

PostPosted: Wed Sep 22, 2004 12:42 pm    Post subject: Reply with quote

Ehh..
You mean into your template/Design, right?

You could include it, by <?php include(filename.dot); ?>
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Velo



Joined: 20 Sep 2004
Posts: 4

PostPosted: Thu Sep 23, 2004 11:00 pm    Post subject: Reply with quote

Yes, into the actual template design.

ok so I include the news aggregator (or the news grabbing script) into my index.php? Is that right? Or is it another page. Sorry I am new to php so I need really specific help right now.......and I'm going after the generic b2 style of posting things...only posting news from another site. I just tried inserting that code into my index.php and I keep getting parse errors
Back to top
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 626
Location: Oslo, Norway

PostPosted: Fri Sep 24, 2004 12:18 pm    Post subject: Reply with quote

I include a page with "Current" information on my frontpage.

The file itself looks like this:
http://www.sigg3.net/currently.php

but the outcome is integrated into the design.

If the seperate page with feeds looks like that, see what kind of css classes and stuff it has, include them in your index' css file, then include the seperate page into the index (using the variable above).
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group