get elements inside <content:encoded>

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
atinder
Forum Newbie
Posts: 2
Joined: Sat Jan 30, 2010 2:36 pm

get elements inside <content:encoded>

Post by atinder »

how can i get elements of <content:encoded> from a xml file

Code: Select all

<content:encoded><![CDATA[<a title="Click to watch!" href="http://www.abc.com/2304" title="" style="float:left; border:none; color:#FFF;">
                            <img src="http://thumbs.abc.com/_thumbs/0000023/002304/002304_007.jpg" style="border:1px solid #fff; margin:5px;" width="160" height="120" alt="Watch for free!" />
                        </a>
                        <div style="float:left; margin:5px; font-family:Tahoma, Geneva, sans-serif; font-size:13px;">
                            <p style="margin:0; padding:0; "><strong>Views:</strong> 199573</p>
                            <p style="margin:0; padding:0;"><strong>Rating:</strong> 4.19</p>
                            <p style="margin:0; padding:0;"><strong>Duration:</strong> 03:26</p>
                        </div><img src="http://feeds.feedburner.com/~r/abc/videos/~4/tGCKztIsvzs" height="1" width="1"/>]]></content:encoded>
 
:banghead:
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: get elements inside <content:encoded>

Post by requinix »

Look at this thread.
Post Reply