Jump to content

read XML,rss ,how?


yosii

Recommended Posts

i have this code

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>

    <item>
        <title> tttt1</title>
        <link>lll1</link>
        <description> dddd1
        </description>
    
        
    </item>



    <item>
        <title> tttt2</title>
        <link>lll2</link>
        <description> dddd2
        </description>
    
        
    </item>


    <item>
        <title> tttt3</title>
        <link>lll3</link>
        <description> dddd3
        </description>
    
        
    </item>

and i want go get to array all the details

 

tttt1

lll1

dddd1

 

tttt2

lll2

dddd2

 

tttt3

lll3

dddd3

 

how can i do that simple?

I SEE THIS

http://il2.php.net/xml_parse

but

1)i dont understand this how can i do what i want

2) it is too long and class code i need short and simple

 

please help

 

Link to comment
https://forums.phpfreaks.com/topic/230204-read-xmlrss-how/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.