Need help displaying an RSS feed as HTML on my site

Discussion in 'Programming' started by chazzbro, Aug 17, 2009.

  1. #1
    I would like to have a news page on my non-blog site that displays the headlines and a brief story summary from an RSS news feed (Yahoo or Google News).

    I've tried using Simple Pie...as it seems like it should work. But I keep running into errors of various sorts...most seriously, it keeps breaking my site template on that page. I use Dreamweaver to edit my sites...and it will survive one or two saves/edits....but then it breaks and destroys the code on the news page.

    So if you're good with Simple Pie (i.e., you can fix these issues so I can use it) or can hook me up with another free simple-to-install system, I need your help.

    I'm willing to give $20 to the first person who can get me to a simple solution.
     
    chazzbro, Aug 17, 2009 IP
  2. ankit_frenz

    ankit_frenz Active Member

    Messages:
    1,111
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    63
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    use simple preg match cuntion to grab and echo results..
    Thanks
     
    ankit_frenz, Aug 17, 2009 IP
  3. dpacmittal

    dpacmittal Well-Known Member

    Messages:
    155
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Why to use preg_match??
    RSS is in XML so we can manipulate the XML DOM to do this.


    @chazzbro:
    I can help you with this but I need to have a look at your site first. Please add me on MSN. Contact info on my profile.
     
    dpacmittal, Aug 17, 2009 IP
  4. chazzbro

    chazzbro Peon

    Messages:
    277
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Thanks for the input. I heard from several people willing to help, but the first guy got me fixed up.

    best,
    c-
     
    chazzbro, Aug 17, 2009 IP