Hi! There is a ready-made module for creating feeds - Product Feed Extension.
It has helpful features:
- Creation of unlimited number of feeds
- Automatic and manual generation of feeds
- Flexible formatting to comply with all shopping engines
- Ability to have different prices and other values in each feed
For more information, user guide and live demo please follow the link http://amasty.com/product-feed.html.