HOW TO: Parse XML feed using PHP 5.2 or later

Discussion in 'PHP' started by KingCobra, Sep 3, 2010.

  1. #1
    Sir,

    I want to display rss XML feed data from another site to my site using PHP 5.2 or later.

    How can I do it. You can use attached feed file named 'feed.xml' to get data from.

    View attachment feed.xml

    NOTE: I am using XAMPP with PHP 5.3, using phpinfo(); I saw taht ther is nothing like curl_init();

    PLEASE HELP ME
     
    KingCobra, Sep 3, 2010 IP
  2. KingCobra

    KingCobra Well-Known Member

    Messages:
    289
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #2
    You may see an examle.

    download 'feed.xml' from first post and 'rss3.php' from bellow
    View attachment rss3.php

    Its works but not formated for displaying nicely using css or somethin else.
     
    KingCobra, Sep 3, 2010 IP
  3. KingCobra

    KingCobra Well-Known Member

    Messages:
    289
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    No one can display external rss feed to their sites?
     
    KingCobra, Sep 4, 2010 IP
  4. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #4
    danx10, Sep 4, 2010 IP
  5. KingCobra

    KingCobra Well-Known Member

    Messages:
    289
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #5
    KingCobra, Sep 4, 2010 IP
  6. andymoo

    andymoo Peon

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Where is your initaitve?

    RTFM
     
    andymoo, Sep 5, 2010 IP