<?php                                                      // CUSTOM FEED FILE
###############################################################################
# INSTRUCTIONS: Write between the quotes ONLY. If you have to add quotes, use #
# &#8220;quoted text&#8221; or escape text with backslashes: \"quoted text\"  #
# WARNING: Do NOT remove any variables, even if not in use. EDIT WITH CARE!   #
###############################################################################
// ADDED CUSTOM FEED CONFIG PART 1 of 2 - How many added feeds?
###############################################################################


// Enter the number of added RSS feeds, from 0-5 (cannot be empty)

   $added_feed_number=     1;    // Use no quotes with this value


###############################################################################
// ADDED CUSTOM FEED CONFIG PART 2 of 2 - Enter their details
###############################################################################


// Enter the Name(s) and URL(s) of your added RSS feed(s) if any

   $feed_1=    "FeedBurner";     
   $furl_1=    "#";


   $feed_2=    "";     
   $furl_2=    "";


   $feed_3=    "";     
   $furl_3=    "";


   $feed_4=    "";     
   $furl_4=    "";


   $feed_5=    "";     
   $furl_5=    "";


###############################################################################
###############################################################################
// DO NOT EDIT BELOW THIS POINT
###############################################################################
###############################################################################
###############################################################################
if($added_feed_number == 0) {
  $custom_rss = "<!--No custom feeds for $blog_name are available at this time... sorry!-->";
  $custom_feed = "";
} else if ( $added_feed_number == 1 ) {
  $custom_rss = "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0 with $feed_1\" href=\"".$furl_1."\" />";
  $custom_feed = "<li><a href=\"".$furl_1."\" title=\"Really Simple Syndication: $feed_1\">RSS: $feed_1</a></li>";
} else if ( $added_feed_number == 2 ) {
  $custom_rss = "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_1\" href=\"".$furl_1."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_2\" href=\"".$furl_2."\" />";
  $custom_feed = "<li><a href=\"".$furl_1."\" title=\"Really Simple Syndication: $feed_1\">RSS: $feed_1</a></li>\n    <li><a href=\"".$furl_2."\" title=\"Really Simple Syndication: $feed_2\">RSS: $feed_2</a></li>";
} else if ( $added_feed_number == 3 ) {
  $custom_rss = "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_1\" href=\"".$furl_1."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_2\" href=\"".$furl_2."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_3\" href=\"".$furl_3."\" />";
  $custom_feed = "<li><a href=\"".$furl_1."\" title=\"Really Simple Syndication: $feed_1\">RSS: $feed_1</a></li>\n    <li><a href=\"".$furl_2."\" title=\"Really Simple Syndication: $feed_2\">RSS: $feed_2</a></li>\n    <li><a href=\"".$furl_3."\" title=\"Really Simple Syndication: $feed_3\">RSS: $feed_3</a></li>";
} else if ( $added_feed_number == 4 ) {
  $custom_rss = "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0 with $feed_1\" href=\"".$furl_1."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0 with $feed_2\" href=\"".$furl_2."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_3\" href=\"".$furl_3."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_4\" href=\"".$furl_4."\" />";
  $custom_feed = "<li><a href=\"".$furl_1."\" title=\"Really Simple Syndication: $feed_1\">RSS: $feed_1</a></li>\n    <li><a href=\"".$furl_2."\" title=\"Really Simple Syndication: $feed_2\">RSS: $feed_2</a></li>\n    <li><a href=\"".$furl_3."\" title=\"Really Simple Syndication: $feed_3\">RSS: $feed_3</a></li>\n    <li><a href=\"".$furl_4."\" title=\"Really Simple Syndication: $feed_4\">RSS: $feed_4</a></li>";
} else if ( $added_feed_number == 5 ) {
  $custom_rss = "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_1\" href=\"".$furl_1."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_2\" href=\"".$furl_2."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_3\" href=\"".$furl_3."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_4\" href=\"".$furl_4."\" />\n   <link rel=\"alternate\" type=\"application/rss+xml\" title=\"$feed_5\" href=\"".$furl_5."\" />";
  $custom_feed = "<li><a href=\"".$furl_1."\" title=\"Really Simple Syndication:  $feed_1\">RSS: $feed_1</a></li>\n    <li><a href=\"".$furl_2."\" title=\"Really Simple Syndication: $feed_2\">RSS: $feed_2</a></li>\n    <li><a href=\"".$furl_3."\" title=\"Really Simple Syndication: $feed_3\">RSS: $feed_3</a></li>\n    <li><a href=\"".$furl_4."\" title=\"Really Simple Syndication: $feed_4\">RSS: $feed_4</a></li>\n    <li><a href=\"".$furl_5."\" title=\"Really Simple Syndication: $feed_5\">RSS: $feed_5</a></li>";
} else {
  $custom_rss = "<!--The custom feeds limit has been exceeded, please remove any feed in excess of 5 (not including the two WordPress feeds-->";
  $custom_feed = "<li><strong class=\"error\">FEEDS ERROR!</strong> The allowable custom feed limit number has been exceeded. Reduce added feed number to 0 through 5 only. Do you need <a href=\"http://green-beast.com/seabeast/?p=43\">help</a>?<br />&nbsp;</li>";
}
?>