

   
// Create arrays of articles
syndicate.article_title = new Array;
syndicate.article_summary = new Array;
syndicate.article_date = new Array;
syndicate.article_url = new Array;

// This section of the script is published by Article Manager
syndicate.index = 0;
  syndicate.article_title[ syndicate.index ] = 'Autumn Pot Roast With Root Vegetables';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10357.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct 30, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Recipe for Autumn Pot Roast with Root Vegetables submitted by the Idaho Beef Council,';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Autumn Beef and Cider Stew';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_10356.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct 30, 2009';
  syndicate.article_summary[ syndicate.index ] = 'Recipe for Autumn Beef and Cider Stew submitted by the Idaho Beef Council.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Chorizo and Spanish Rice';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_9198.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 20, 2008';
  syndicate.article_summary[ syndicate.index ] = 'This is a dinner my daughter and I both love, it is quick and easy and you can make it as spicy as you would like. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = ' Apple Cinnamon Rolls';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_9197.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 20, 2008';
  syndicate.article_summary[ syndicate.index ] = 'Apple Cinnamon Rolls for many occasions';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Super Moist Banana Bread';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_7189.shtml';
  syndicate.article_date[ syndicate.index ] = 'Mar 15, 2007';
  syndicate.article_summary[ syndicate.index ] = '';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Buffalo Chicken Sandwiches';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_7040.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 24, 2007';
  syndicate.article_summary[ syndicate.index ] = '';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Easy Peach Dessert';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_7039.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 17, 2007';
  syndicate.article_summary[ syndicate.index ] = 'This easy peach dessert can be made with fresh frozen or canned peaches! An easy quick delicious dessert.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Rueben Casserole';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_7038.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan 10, 2007';
  syndicate.article_summary[ syndicate.index ] = 'I personally love Rueben sandwiches so when I came across this recipe I was very excited, first of all it uses my favorite sandwich ingredients, and it is a crock pot recipe!  The perfect combo!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Sweet N Sour Venison';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_7037.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jan  3, 2007';
  syndicate.article_summary[ syndicate.index ] = 'I have had to really get creative with my dinner ideas lately, and I am cooking with a lot of venison these days so here is a twist on sweet and sour chicken!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Multi-Talented Mexican Dish';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_7028.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 29, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Try this recipe for New Years Eve!  It is a great versatile recipe that you can serve so many different ways.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = '"Play" Dough';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_7018.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 22, 2006';
  syndicate.article_summary[ syndicate.index ] = '';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Graham Cracker Gingerbread House';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_7017.shtml';
  syndicate.article_date[ syndicate.index ] = 'Dec 21, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Here is a great idea that you can do with your kids as a Christmas Eve project to keep those little ones busy while waiting for Santa to arrive!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Easy Leftover Turkey Baked Sandwhiches';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6993.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 20, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Hopefully, everyone is ready for Thanksgiving because it is just around the corner!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Can Can Chicken';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6981.shtml';
  syndicate.article_date[ syndicate.index ] = 'Nov 13, 2006';
  syndicate.article_summary[ syndicate.index ] = 'If you are good with a can opener and not an especially good cook, I’ve got THE recipe for you!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Huckleberry Dessert';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6929.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct 30, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Here is a great recipe for all of you huckleberry lovers out there, and I know there are a lot of you up here in Bonners Ferry!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Lemon Meringue Pie';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6893.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct 24, 2006';
  syndicate.article_summary[ syndicate.index ] = 'This is my all time favorite pie! I just wanted to share this recipe, so everyone who tries it will know what a real lemon meringue pie tastes like!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Funnel Cakes';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6839.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct 16, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Here is a good recipe for those of us who missed the fair!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Bean Curd with Pineapple';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6800.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct  9, 2006';
  syndicate.article_summary[ syndicate.index ] = 'My sister sent this recipe to me, I just have two questions. What the heck is Bean Curd? ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Cuppa, Cuppa, Cuppa!';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6791.shtml';
  syndicate.article_date[ syndicate.index ] = 'Oct  2, 2006';
  syndicate.article_summary[ syndicate.index ] = 'I could not resist sharing this, what a quick and easy dessert to make when you don’t have the ingredients to satisfy a sweet tooth craving!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Strawberry Pork Chops';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6756.shtml';
  syndicate.article_date[ syndicate.index ] = 'Sep 25, 2006';
  syndicate.article_summary[ syndicate.index ] = 'These look good! The strawberries really make these plain ole pork chops wake up your taste buds! I am fond of adding fresh fruit to the basic meats and salads it just adds a great flavor sensation!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Macadamia Nut White Chip Pumpkin Cookies';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6722.shtml';
  syndicate.article_date[ syndicate.index ] = 'Sep 18, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Interesting idea! I am not quite sure of this flavor combo, but thought it is worth a try anyway! I bet it is good, and it is definitely different! You’ll be the only one bringing this one to the cookie swap!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Paremesan Chicken in the Crockpot';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6671.shtml';
  syndicate.article_date[ syndicate.index ] = 'Sep 11, 2006';
  syndicate.article_summary[ syndicate.index ] = 'This is a perfect dish for hot weather or if you want dinner done when you get home from work.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Fresh Spinach Salad';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6664.shtml';
  syndicate.article_date[ syndicate.index ] = 'Sep  5, 2006';
  syndicate.article_summary[ syndicate.index ] = 'I love these different salads with fruit and berries in them, they have a unique flavor that is sweet and healthy!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Spicy Peach Bread';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6658.shtml';
  syndicate.article_date[ syndicate.index ] = 'Aug 28, 2006';
  syndicate.article_summary[ syndicate.index ] = 'This year for some reason, I am really into peaches! Peach anything sounds so good and refreshing, so when I came across this recipe I couldn’t pass it up!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Fresh Fruit with Yogurt Dressing';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6615.shtml';
  syndicate.article_date[ syndicate.index ] = 'Aug 21, 2006';
  syndicate.article_summary[ syndicate.index ] = 'This would be a great dish for any time of the day, breakfast, lunch, dinner or dessert and it is healthy. You can feel good about serving this to your kids and they will love it!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Scrunchy Sweet and Sour Chicken';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6566.shtml';
  syndicate.article_date[ syndicate.index ] = 'Aug 14, 2006';
  syndicate.article_summary[ syndicate.index ] = 'I have a recipe for sweet and sour chicken that is a little different from this!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Rootbeer Float Cookies';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6565.shtml';
  syndicate.article_date[ syndicate.index ] = 'Aug  7, 2006';
  syndicate.article_summary[ syndicate.index ] = 'What a unique cookie this is! My kids love root beer floats! I am definitely going to try this recipe. I wonder if they really do taste like a root beer float.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Fruit Crumble Cobbler';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6549.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 31, 2006';
  syndicate.article_summary[ syndicate.index ] = 'This is a great way to make a quick and easy dessert for an after dinner treat or cool summer nights in North Idaho!';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Chocolate Peanut Butter Dreams';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6531.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 28, 2006';
  syndicate.article_summary[ syndicate.index ] = 'This cookie recipe combines the good old favorites of peanut butter and chocolate! Who can possibly resist that?<br />\nThese cookies would be great for any get together or a luncheon buffet.';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Fruity Ice';
  syndicate.article_url[ syndicate.index ] = 'http://www.ruralnorthwest.com/artman/publish/article_6455.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 17, 2006';
  syndicate.article_summary[ syndicate.index ] = 'Sent to me from my sister, this recipe is the quickest most refreshing treat I have come across! Try it you’ll LOVE it!';
  syndicate.index++;







// Set defaults for arguments if user hasn't set them
if (syndicate.title_fontface == null)    { syndicate.title_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.title_fontsize == null)    { syndicate.title_fontsize = '2'; }
if (syndicate.title_fontcolor == null)   { syndicate.title_fontcolor = '#003399'; }
if (syndicate.title_fontbold == null)    { syndicate.title_fontbold = true; }
if (syndicate.title_fontital == null)    { syndicate.title_fontital = false; }
if (syndicate.date_fontface == null)     { syndicate.date_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.date_fontsize == null)     { syndicate.date_fontsize = '1'; }
if (syndicate.date_fontcolor == null)    { syndicate.date_fontcolor = '#6699cc'; }
if (syndicate.date_fontbold == null)     { syndicate.date_fontbold = false; }
if (syndicate.date_fontital == null)     { syndicate.date_fontital = false; }
if (syndicate.date_fontunder == null)    { syndicate.date_fontunder = false; }
if (syndicate.summary_fontface == null)  { syndicate.summary_fontface = 'Geneva, Arial, sans-serif'; }
if (syndicate.summary_fontsize == null)  { syndicate.summary_fontsize = '2'; }
if (syndicate.summary_fontcolor == null) { syndicate.summary_fontcolor = '#6699cc'; }
if (syndicate.summary_fontbold == null)  { syndicate.summary_fontbold = false; }
if (syndicate.summary_fontital == null)  { syndicate.summary_fontital = false; }
if (syndicate.summary_fontunder == null) { syndicate.summary_fontunder = false; }

if (syndicate.title_maxlength == null)   { syndicate.title_maxlength = 0; }
if (syndicate.summary_maxlength == null) { syndicate.summary_maxlength = 0; }

if (syndicate.bgcolor == null)           { syndicate.bgcolor = '#ffffff'; }
if (!syndicate.max_articles)             { syndicate.max_articles = syndicate.article_title.length; }  // !syndicate.max_articles catches null and zero
if (syndicate.display_date == null)      { syndicate.display_date = true; }
if (syndicate.display_summaries == null) { syndicate.display_summaries = true; }

// TWO LINES ADDED by davenet on June 24. 2003
if (!syndicate.first_article) { syndicate.first_article = 0; } 
if (!syndicate.last_article) { syndicate.last_article = syndicate.max_articles; } 


// Don't allow user to display too many articles
if (syndicate.max_articles > syndicate.article_title.length) {
  syndicate.max_articles = syndicate.article_title.length;
}

/*
//Function to crop text on word boundaries
function crop_text(text, max_length) {

  // If the string is already small enough, return it unscathed
  if (text.length <= max_length) { return( text ); }

  // If the user has specified a length of 0, it means he wants the whole thing
  if (max_length == 0) { return( text ); }

  // Start looking for a space, leaving space for an elipsis on the end
  var test_length = (max_length - 3);
  if (test_length < 1) { return( '...' ); }   // max_length too small
  while (text.charAt(test_length) != ' ') {
    test_length--;

    // If we didn't find any spaces to break on, return the string broken at max_length
    if (test_length == 0) { return( text.substring(0, max_length - 3) + '...' ); }
  }

  return text.substring(0, test_length) + '...';
}
*/

// List our articles, stopping if the user doesn't want any more
//  ORIGINAL LINE altered BELOW BY davenet June 24,2003 // for ( syndicate.index = 0; syndicate.index < syndicate.max_articles ; syndicate.index++ ) {
for (syndicate.index = syndicate.first_article; syndicate.index < syndicate.last_article ; syndicate.index++ ) {


  /*syndicate.article_title[syndicate.index] = crop_text(syndicate.article_title[syndicate.index], syndicate.title_maxlength);
  syndicate.article_summary[syndicate.index] = crop_text(syndicate.article_summary[syndicate.index], syndicate.summary_maxlength);*/

  document.write('<tr><td align="left" bgcolor="' + syndicate.bgcolor + '">');
  document.write('<a href="' + syndicate.article_url[syndicate.index] + '">');
  if (syndicate.title_fontbold)  { document.write('<b>'); }
  if (syndicate.title_fontital)  { document.write('<i>'); }
  document.write('<font color="' + syndicate.title_fontcolor + '" face="' + syndicate.title_fontface + '" size="' + syndicate.title_fontsize + '"');
  if (syndicate.title_style)     { document.write(' style="' + syndicate.title_style + '"'); }
  document.write('>');
  document.write(syndicate.article_title[syndicate.index]);
  document.write('<br></font>');
  if (syndicate.title_fontital)  { document.write('</i>'); }
  if (syndicate.title_fontbold)  { document.write('</b>'); }
  document.write('</a>');

  if (syndicate.display_date) {
    if (syndicate.date_fontbold)  { document.write('<b>'); }
    if (syndicate.date_fontital)  { document.write('<i>'); }
    if (syndicate.date_fontunder) { document.write('<u>'); }
    document.write('<font color="' + syndicate.date_fontcolor + '" face="' + syndicate.date_fontface + '" size="' + syndicate.date_fontsize + '"');
    if (syndicate.date_style)     { document.write(' style="' + syndicate.date_style + '"'); }
    document.write('>');
    document.write(' ' + syndicate.article_date[syndicate.index]);
    document.write('<br></font>');
    if (syndicate.date_fontunder) { document.write('</u>'); }
    if (syndicate.date_fontital)  { document.write('</i>'); }
    if (syndicate.date_fontbold)  { document.write('</b>'); }
  }

  if (syndicate.display_summaries) {
    if (syndicate.summary_fontbold)  { document.write('<b>'); }
    if (syndicate.summary_fontital)  { document.write('<i>'); }
    if (syndicate.summary_fontunder) { document.write('<u>'); }
    document.write('<font color="' + syndicate.summary_fontcolor + '" face="' + syndicate.summary_fontface + '" size="' + syndicate.summary_fontsize + '"');
    if (syndicate.summary_style)     { document.write(' style="' + syndicate.summary_style + '"'); }
    document.write('>');
    document.write(syndicate.article_summary[syndicate.index]);
    document.write('<br></font>');
    if (syndicate.summary_fontunder) { document.write('</u>'); }
    if (syndicate.summary_fontital)  { document.write('</i>'); }
    if (syndicate.summary_fontbold)  { document.write('</b>'); }
  }

  document.write('<br></td></tr>\n');
}

// If you want your Webfeeds to be branded, uncomment the following lines.
// To do this, remove the // at the beginning of the next five lines:

//document.write('<tr><td bgcolor="' + syndicate.bgcolor + '">');
//document.write('<a href="#" target="_blank">');
//document.write('<font color="' + syndicate.title_fontcolor + '" face="Verdana, Arial, Helvetica, sans-serif" size="1">');
//document.write('<b>Powered by RuralNorthwest.com</b></font></a>');
//document.write('<br><br></b></font></td></tr>\n');

