which in a way is good. However... I'm using Simplepie to parse rss feeds from 6 different blogs. I just want the <p> and <a> elements. I want to remove all the images.
This is what I have - I thought the syntax was right, but it removes all the text. all the images, everything
Code:
<?php
strip_tags($item->get_description(),'<p> <a>')
?>
How do I get this to work?
[edit] oops - helps to echo it! move along nothing to see here