// 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 ] = 'AUDIO: Media literacy hits the real world -- lessons from Boston English';
syndicate.article_url[ syndicate.index ] = 'http://www.mediagiraffe.org/artman/publish/article_573.shtml';
syndicate.article_date[ syndicate.index ] = 'Oct 27, 2007';
syndicate.article_summary[ syndicate.index ] = 'What happens when a video teacher and administrator at Boston English High School start to infuse media-literacy principles in the school day? Listen to this unedited audio of a session at today\'s "2007 Media Literacy Conference at MIT: Creating and Learning in a Media Saturated Culture."';
syndicate.index++;
syndicate.article_title[ syndicate.index ] = 'Despite federal law, most students unaware today is "Constitution Day"; resources';
// syndicate.article_url[ syndicate.index ] = 'http://www.firstamendmentfuture.org/report91707_lead.php';
syndicate.article_url[ syndicate.index ] = 'http://www.mediagiraffe.org/artman/publish/cat_index_74.shtml#568';
syndicate.article_date[ syndicate.index ] = 'Sep 17, 2007';
syndicate.article_summary[ syndicate.index ] = 'Today is Constitution Day. Three years ago a new federal law took effect requiring schools to educate all students about the Constitution and the First Amendment. But a new survey out today by Univ. of Connecticut researchers -- and funded by the Knight Foundation -- shows that a majority of America\'s students aren\'t even aware that Constitution Day exists.
\n';
syndicate.index++;
syndicate.article_title[ syndicate.index ] = 'Valets and and media-literary training noted in Tufts graduate thesis as key components of journalism future';
syndicate.article_url[ syndicate.index ] = 'http://www.mediagiraffe.org/artman/publish/article_566.shtml';
syndicate.article_date[ syndicate.index ] = 'Jun 30, 2007';
syndicate.article_summary[ syndicate.index ] = 'A Tufts University media-studies student proposes a new model of "pro-am" collaboration in graduation thesis completed in May. In her paper, Rachelle Goh she says "information valets" and increased media literacy are important components of the new model. ';
syndicate.index++;
syndicate.article_title[ syndicate.index ] = 'UC-Berkeley fills in where media leaves off -- providing three $45K fellowships for investigative reporting';
// syndicate.article_url[ syndicate.index ] = 'http://www.berkeley.edu/news/media/releases/2007/05/23_report.shtml';
syndicate.article_url[ syndicate.index ] = 'http://www.mediagiraffe.org/artman/publish/cat_index_112.shtml#564';
syndicate.article_date[ syndicate.index ] = 'May 23, 2007';
syndicate.article_summary[ syndicate.index ] = 'Three fellowships worth $45,000 a year will be awarded annually by the University of California Berkeley journalism school to encourage investigative reporting at a time when main-stream media is cutting back on newsrooms, according to the school. ';
syndicate.index++;
syndicate.article_title[ syndicate.index ] = 'ONA conference Oct. 5-7 features workshops on citizen-journalism, classroom convergence, crafting multimedia, digitizing print newsroom';
// syndicate.article_url[ syndicate.index ] = 'http://journalist.org/2006conference/archives/000552.php';
syndicate.article_url[ syndicate.index ] = 'http://www.mediagiraffe.org/artman/publish/cat_index_112.shtml#516';
syndicate.article_date[ syndicate.index ] = 'Jul 30, 2006';
syndicate.article_summary[ syndicate.index ] = 'The Online News Association, formed by the new-media managers of major journalism organizations, is offering four one-day workshops prior to its annual conference, which this year is Oct. 6-7 in Washington, D.C. There\'s a citizens-media summit at the Capital Hilton, a college-educators summit convening at USAToday\'s offices and at American University, a crafting-multimedia content session, and one on "digitizing the print newsroom." All four workshops take place on Thurs., Oct. 5. There\'s also a conference blog established.';
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; }
// 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('