pop off img and href tag from a RSS feed

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
lauthiamkok
Forum Contributor
Posts: 153
Joined: Wed Apr 01, 2009 2:23 pm
Location: Plymouth, United Kingdom

pop off img and href tag from a RSS feed

Post by lauthiamkok »

Hi,

How can I pop off the <img src="...."> and <a href="..."> in the description of a RSS feed?

For instance,

Code: Select all

<title> xxx </title><link> xxx </link><description><img src="..."/><a href="...">Duis autem </a> vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis ...</description>
Many thanks,
Lau
Post Reply