How to get the most out of xml and rss

Discussion in 'PHP' started by blob, Jul 10, 2007.

  1. #1
    Hi
    Hi
    I've seen websites which have news headlines from rss or xml feeds and when you click in them, the whole article is displayed in the same website, rather than being transferred to the source of the feed. How is this done??? After loads of research I can only find feeds which essentially take traffic away from my site.!!!
    Any help would be hugely appreciated!
    Thanks.
    Dave
     
    blob, Jul 10, 2007 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could you be more descriptive?

    From what I understand a simple include() should work.
     
    MMJ, Jul 10, 2007 IP
  3. KalvinB

    KalvinB Peon

    Messages:
    2,787
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Those sites are running scripts which pull the data from the rss feed and cache it. What you see is not the original RSS feed but their cached version of it. You could also use an IFRAME and display the rss feed in the iframe. When the links are clicked the full article displays in the frame instead of taking the user to the source.
     
    KalvinB, Jul 10, 2007 IP