Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

RSS Feed


ghost's Avatar
0 0

yea i have a site set up and its running on php-fusion like hbh

im trying to set up a RSS feed but i have no idea how to do so. ive looked around and found no good tuts

help plz? :ninja:

"edit" ive succesfully set up a feed with an infusion. BUT im wondering how i can get the feed to come out on the front page in the two columns like hbh


Mr_Cheese's Avatar
0 1

what kinda of rss?

rss of your own sites content?

grabbing info from someone else's rss?


ghost's Avatar
0 0

grabbing info from other site


Mr_Cheese's Avatar
0 1

then just write a simple XML parser.

grab the info, preg_match it into segments and then echo out each segment depending on what you need to display.

its rather simple. as soon as you get each item into an array its just a case of echoing each section.


ghost's Avatar
0 0

completely lost me there but ill try and fiddle around with news.php and maybe figure it out

thnx


ghost's Avatar
0 0

well i learnt something… and its that im not as good with php as i thought

would it be possible for you to send me the "news" panel you have on the front of hbh so i can use it but change it to a diff rss feed?

itd make things ALOT easier for me


ghost's Avatar
0 0

i take that back, i figured it all out works great and looks perfect =)

thanks for the help cheese


Mr_Cheese's Avatar
0 1

you can google for plenty of RSS parsers. and its not a simple news.php tweak. you got to re-write the entire file from scratch.

google for RSS parsers or XML parsers.


ghost's Avatar
0 0

i simply went into my news.php file and made a big table out of it.

made a extra <td> and used include ('parserfile.php')

seems to work fine