



// Create arrays of articles
syndicate.article_title = new Array;
syndicate.article_url = new Array;
syndicate.article_date = new Array;
syndicate.article_summary = new Array;
syndicate.article_content = new Array;

// This section of the script is published by the software
syndicate.index = 0;
  syndicate.article_title[ syndicate.index ] = 'The Sandman Speaks For The First Time Since His WWE Release';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/The_Sandman_Speaks_For_The_First_Time_Since_His_WWE_Release.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 29, 2007 - 7:07:26 PM';
  syndicate.article_summary[ syndicate.index ] = 'Recently released World Wrestling Entertainment superstar, The Sandman, has spoken out for the first time since his WWE release with www.PWMania.com. He spoke on his release from WWE and gave the real reason to his release, the original plan for him in WWE/ECW, as well as the different atmosphere’s backstage in RAW, SmackDown! & ECW, the possibility of a TNA return and much more. The complete interview is below: ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'WWE\'s Lilian Garcia talks New CD, Playboy, Haas Injury, & More';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/WWE_s_Lilian_Garcia_talks_New_CD_Playboy_Haas_Injury_More.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 16, 2007 - 2:28:53 PM';
  syndicate.article_summary[ syndicate.index ] = 'Translated, Lilian Garcia\'s \"Quiero Vavir!\" CD means \"I Want to Live!\" And, after a 2 year hiatus, so does the Interactive Interview!';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Jessica Hatch Say\'s She Still Wants To Be A WWE Diva, Shocked & Much More!';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/Jessica_Hatch_Say_s_She_Still_Wants_To_Be_A_WWE_Diva_Shocked_Much_More.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 11, 2007 - 2:15:53 PM';
  syndicate.article_summary[ syndicate.index ] = 'Following her shock elimination, Jessica Hatch took some time out of her schedule to speak with www.PWMania.com once again! She speaks on her shocking elimination, still wanting to be a WWE diva, who she wants and thinks will win the contest and much more! The complete interview is below: ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Sheamus O\'Shaunessy Takes Down Bryan Kelly on FCW Debut';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/Sheamus_O_Shaunessy_Takes_Down_Bryan_Kelly_on_FCW_Debut.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 5, 2007 - 8:17:05 PM';
  syndicate.article_summary[ syndicate.index ] = 'Celtic Warlord Sheamus O’Shaunessy first introduced himself to the Florida Championship Wrestling faithful on his knees! That was until the heavy baseline from his original theme tune ‘The Irish Curse’ kicked-in and he popped to his feet, made his way to the ring, uncloaked, and held aloft his mighty double-headed axe ‘An Troid.’';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'WWE Diva Search Finalist Jessica Hatch Speaks On WWE, The Fans, Playboy & Much More';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/WWE_Diva_Search_Finalist_Jessica_Hatch_Speaks_On_WWE_The_Fans_Playboy_Much_More.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 2, 2007 - 5:21:41 PM';
  syndicate.article_summary[ syndicate.index ] = 'WWE 2007 Diva Search finalist Jessica Hatch recently took some time out of her scheduled to take part in an interview for www.PWMania.com. Jessica Hatch speaks on the 2007 Diva Search, wanting to work with Torrie Wilson, having trouble with another contestant, Playboy and much more! Below is the complete interview: ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Sheamus O\'Shaunessy Debuts for FCW tomorrow night (Tuesday 2nd Oct)...';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/Sheamus_O_Shaunessy_Debuts_for_FCW_tomorrow_night_Tuesday_2nd_Oct.htm';
  syndicate.article_date[ syndicate.index ] = 'Oct 2, 2007 - 2:27:28 PM';
  syndicate.article_summary[ syndicate.index ] = 'WWE signee Sheamus O’Shaunessy ‘The Irish Curse’ debuts for Florida Championship Wrestling (FCW) tomorrow night in a single’s match against Bryan Kelly.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = '---'+'> SPOILERS <--- WWE SmackDown! TV Taping: September 25, 2007 | Indianapolis, Indiana | Conseco Fieldhouse';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/---_SPOILERS_---_WWE_SmackDown_TV_Taping_September_25_2007_Indianapolis_Indiana_Conseco_Fieldhouse.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 26, 2007 - 2:49:38 PM';
  syndicate.article_summary[ syndicate.index ] = 'Before the taping began, a special advertisement for the WWE WrestleMania 23 DVD was aired. It was the recap video played at the end of the pay-per-view. Note that the only remnant of the United States Championship between Chris Benoit (then champion) and \"MVP\" Montel Vontavious Porter was a scene of MVP walking down the isle. That\'s it. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'WWE Diva Search Finalist Taryn Terrell Speaks On WWE, Playboy, Cheerleading & More!';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/WWE_Diva_Search_Finalist_Taryn_Terrell_Speaks_On_WWE_Playboy_Cheerleading_More.htm';
  syndicate.article_date[ syndicate.index ] = 'Sep 26, 2007 - 2:21:38 PM';
  syndicate.article_summary[ syndicate.index ] = 'WWE Diva Search finalist Taryn Terrel recently took some time out of her scheduled to take part in an interview for www.PWMania.com. ';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Site reporter needed';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/Site_reporter_needed_6780.htm';
  syndicate.article_date[ syndicate.index ] = 'May 30, 2006 - 11:24:00 AM';
  syndicate.article_summary[ syndicate.index ] = 'MOP Squad Sports is currently looking for a new wrestling reporter to provide updates for news and rumors within the wrestling world.  If interested, leave a note for Pete Lamont or Barb Pinnella in the MOP Squad Sports Forum.';
  syndicate.index++;  syndicate.article_title[ syndicate.index ] = 'Wrestling News &amp; Rumors - May 29, 2006';
  syndicate.article_url[ syndicate.index ] = 'http://www.mopsquad.com/artman2/publish/WWE_News_and_Rumors_23/Wrestling_News_amp_Rumors_-_May_29_2006_6532.htm';
  syndicate.article_date[ syndicate.index ] = 'May 29, 2006 - 6:54:00 PM';
  syndicate.article_summary[ syndicate.index ] = 'News and rumors from the wrestling world on May 29th, 2006.';
  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 = '#003366'; }
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; }


// 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
for ( syndicate.index = 0; syndicate.index < syndicate.max_articles ; 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 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('<p><b>Powered by YourSite.com</b></font></a>');
//document.write('<br><br></b></font></td></tr>\n');

