<?php
/**
* Template Name: Custom RSS Template - Feedname
*/
$postCount = 5; // The number of posts to show in the feed
$posts = query_posts('showposts=' . $postCount);
header('Content-Type: '.feed_content_type('rss-http').'; charset='.get_option('blog_charset'), true);
        <?php while(have_posts()) : the_post(); ?>
	                <item>
	                        <title><?php the_title_rss(); ?></title>
	                        <link><?php the_permalink_rss(); ?></link>
	                </item>
	        <?php endwhile; ?>