Author | RSS Feed |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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
Edited by on 19-08-07 20:28 |
 |
Author | RE: RSS Feed |
Mr_Cheese Member

Posts: 2468 Location: Brighton, UK
Joined: 30.11.04 Rank: Uber Elite | |
what kinda of rss?
rss of your own sites content?
grabbing info from someone else's rss?
|
 |
Author | RE: RSS Feed |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
grabbing info from other site |
 |
Author | RE: RSS Feed |
Mr_Cheese Member

Posts: 2468 Location: Brighton, UK
Joined: 30.11.04 Rank: Uber Elite | |
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.
|
 |
Author | RE: RSS Feed |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
completely lost me there
but ill try and fiddle around with news.php and maybe figure it out
thnx |
 |
Author | RE: RSS Feed |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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 |
 |
Author | RE: RSS Feed |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
i take that back, i figured it all out
works great and looks perfect =)
thanks for the help cheese |
 |
Author | RE: RSS Feed |
Mr_Cheese Member

Posts: 2468 Location: Brighton, UK
Joined: 30.11.04 Rank: Uber Elite | |
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.
|
 |
Author | RE: RSS Feed |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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 |
 |