I am a little bit confused about all the RSS/Atom template tags and functions. Which of them do I need and where and how do I add them? Right now I have the following in my header:
<?php
/* Adding Post Feeds to the Header */
if (is_single()) { ?>
<?php while (have_posts()) : the_post(); ?>
<link rel="alternate" type="application/rss+xml" title="<?php the_title(); ?> Comments" href="<?php bloginfo('url'); ?>/?feed=rss2&p=<?php the_ID(); ?>" />
<?php endwhile; ?>
<?php rewind_posts(); ?>
<?php } else ?>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />