RSS Question

Discussion in 'Programming' started by dannbkk, Mar 11, 2009.

  1. #1
    I want to be able to grab a rss feed and stick it in a php file so that it can display the latest news in normal text file in my website and no body will know that its from that website or news source until they click on the link.

    How do I set this?
     
    dannbkk, Mar 11, 2009 IP
  2. kkobashi

    kkobashi Peon

    Messages:
    41
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can use the PEAR xml_rss class to pull this off.
    pear.php.net/manual/en/package.xml.xml-rss.example.php
     
    kkobashi, Mar 11, 2009 IP
  3. dannbkk

    dannbkk Well-Known Member

    Messages:
    1,403
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    120
    #3
    That link you suggested is great except in the code it also asks for the rss.php file?
     
    dannbkk, Mar 11, 2009 IP
  4. kkobashi

    kkobashi Peon

    Messages:
    41
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You need to install the PEAR framework... read the manual:
    pear.php.net/manual/en/
     
    kkobashi, Mar 11, 2009 IP
  5. dannbkk

    dannbkk Well-Known Member

    Messages:
    1,403
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    120
    #5
    If I had time to read the manual I would, this is why I have asked for an easy answer here and a direct answer with direct download link if possible
     
    dannbkk, Mar 11, 2009 IP
  6. dannbkk

    dannbkk Well-Known Member

    Messages:
    1,403
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    120
    #6
    Why do I have to install pear for this?
     
    dannbkk, Mar 11, 2009 IP
  7. Joak1m

    Joak1m Peon

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Joak1m, Mar 11, 2009 IP