1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 <?php $feedUrl = 'http://example.com/feed'; $feedTitle = 'Sample feed'; $feedDescription = 'This is a sample feed.'; $rss = simplexml_load_file($feedUrl); $rss = get_object_vars($rss); foreach($rss['item'] as $key => $item) { if(preg_match('/iPhone/', $item->title)) unset($rss['item'][$key]); } ?> <?php echo '<?xml