In order to use PHP code snippets in Wordpress posts you need to use special plug-ins such as EXEC-PHP. In this case you will be able to place PHP code into HTML editor of the post.See HERE how to add RSS feeds to your Wordpress blog.