



// 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 Article Manager
syndicate.index = 0;
  syndicate.article_title[ syndicate.index ] = 'Tamil hunger striker wins damages over burger claims';
//  syndicate.article_url[ syndicate.index ] = 'http://www.bbc.co.uk/news/uk-england-london-10802491';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12862';
  syndicate.article_date[ syndicate.index ] = 'Jul 29, 2010';
  syndicate.article_summary[ syndicate.index ] = 'A Tamil refugee hunger striker has accepted £77,500 in damages over newspaper reports he secretly ate burgers during his protest.\n\nThe articles in the Daily Mail and The Sun struck at the heart of Parameswaran Subramanyam\'s integrity and achievement, the High Court was told.\n\nHe began his 23-day protest outside the Houses of Parliament on 7 April 2009, in a bid to raise awareness of the plight of Sri Lankan Tamils. \n\nThe newspapers have apologised.\n\nMr Subramanyam was treated in hospital for five nights after ending his hunger strike.\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'RIGHTS OF TAMILS ON BOAT NEED TO BE RESPECTED';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/tns_12861.shtml';
  syndicate.article_date[ syndicate.index ] = 'Jul 29, 2010';
  syndicate.article_summary[ syndicate.index ] = 'The Canadian Council for Refugees, Amnesty International Canada and the Canadian Tamil Congress today called on Canadians to be mindful of the need to honour international human rights obligations, in responding to the Tamils believed to be on board a boat approaching North America.\n\n“Over the years Canada has saved the lives of thousands of Tamils fleeing persecution, by providing access to a fair and independent refugee system,” said Wanda Yamamoto, CCR President.  “Whether they arrive by plane, foot or boat, people seeking refuge from human rights abuses have a right to an individual hearing on the reasons why they fled – a right recently reaffirmed by Parliament. In respecting this right we take a stand against the persecutors and the human rights violators.”\n\nIn recently published guidelines on Sri Lankan refugee claims, the UN Refugee Agency notes that groups potentially at risk of persecution in Sri Lanka include journalists, human rights activists, lesbian, gay, bisexual and transgender (LGBT) individuals and persons suspected of having links with the LTTE (Tamil Tigers).\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Former Sri Lankan MP M.K. Eelaventhan on politics in Sri Lanka Special';
//  syndicate.article_url[ syndicate.index ] = 'http://digitaljournal.com/article/295179';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12860';
  syndicate.article_date[ syndicate.index ] = 'Jul 28, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Toronto - At each rally, demonstration, political event and memorial, elderly Tamils provide their insights, experiences and analysis into the history of Sri Lanka. DigitalJournal.com caught up with former Sri Lankan Member of Parliament M.K. Eeleaventhan. \nAt the Black July commemoration at Queen’s Park in downtown Toronto, Digital Journal had the opportunity to speak with former Sri Lankan Tamil National Alliance Member of Parliament M.K. Eelaventhan, who describes himself as a “wise, traveled old man.” \nIn the interview, Eelaventhan discussed the political situation in Sri Lanka, a historical recount between Sri Lanka and other nations in the region, his personal experiences with the government and his encounters with numerous public officials in Canada, Sri Lanka, South Africa, India and elsewhere. \n“All these people do sympathize with us but their final conclusion is that they’re thinking of their own geopolitical interests, each country. No country’s foreign policy is based on morality, there’s only permanent interests.” ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Tamil Transnational officials speak out about crisis in Sri Lanka Special';
//  syndicate.article_url[ syndicate.index ] = 'http://digitaljournal.com/article/295150';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12858';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Toronto - Representatives of the Transnational Government of Tamil Eelam spoke about the crisis and political situation in Sri Lanka and what the Canadian federal government and international community\'s response should be. \nDigital Journal reported in May of the international Transnational Government of Tamil Eelam (TGTE) election, which took place in Canada, the United States, the United Kingdom, Norway and other nations. The purpose of the organization is to achieve independence for Tamil Eelam. \nThere are ten national representatives in each country. \nOn Sunday, during the Black July commemoration at Queen’s Park in Toronto, Digital Journal caught up with three democratically elected representatives of TGTE: Executive community member Sam Sangakasivam, transnational member Anjalo Yogendraw and TGTE member Suren Mahgndran. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Toronto Tamils commemorate Black July at Queen\'s Park (video) Special';
//  syndicate.article_url[ syndicate.index ] = 'http://digitaljournal.com/article/295133';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12855';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Toronto - It has been 27 years since that fateful July week where approximately 3,000 Tamils were killed and hundreds of thousands more were displaced after Singhalese mobs burned down their homes, vandalized their businesses and killed Tamils in the streets. \nTamils have been politically active in Toronto and other parts of the world since the 25-year civil war came to an end in May 2009, which saw the deaths of tens of thousands of people and thousands more injured. \nOn Sunday, hundreds of Canadian Tamils remembered the tragic events of Black July in 1983 and last year’s alleged genocide against the Tamil people in Sri Lanka by the government security forces. The commemoration was held at Queen’s Park in front of the Ontario Legislature in downtown Toronto. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Elected Tamil Representative discusses Black July, NCCT (video) Special';
//  syndicate.article_url[ syndicate.index ] = 'http://digitaljournal.com/article/295136';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12856';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Toronto - National Council of Canadian Tamils (NCCT) National Youth Representative Siva Viamalachandran spoke to DigitalJournal.com about the significance of Black July, the purpose of the NCCT and the goals of Tamils everywhere. \nDigital Journal reported about the historic National Council of Canadian Tamils (NCCT) election that was held one month ago where a large number of community members and leaders were voted to represent the interests of Tamils across Canada. \nDuring the Black July commemoration ceremony at Queen’s Park in Toronto on Sunday, Digital Journal had the opportunity to speak with NCCT National Youth Representative Siva Viamalachandran about Sunday’s remembrance event, what happened in that fateful month and the significance of the NCCT. ';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Sri Lanka opposition man in self-immolation ';
//  syndicate.article_url[ syndicate.index ] = 'http://world.globaltimes.cn/asia-pacific/2010-07/556475.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12857';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = '60-year-old activist of Sri Lanka\'s main opposition United National Party (UNP) has died in self-immolation, party and medical officials said here Tuesday.\nRienzie Algama set himself in fire opposite the UNP headquarters at the Colombo suburbs of Pitakotte around 5:30 p.m. local time (1200 GMT) on Monday.\nHe was rushed to the local Kalubowila hospital with severe burn injuries and was later transferred to the General Hospital in the capital.\n"He passed away around 1:30 a.m. (2000 GMT) this morning," Dr. Hector Weerasinghe of the General Hospital said.\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'British Tamil embarks on Sri Lanka justice walk';
//  syndicate.article_url[ syndicate.index ] = 'http://www.guardian.co.uk/uk/2010/jul/26/tamil-sri-lanka-justice-walk';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12854';
  syndicate.article_date[ syndicate.index ] = 'Jul 27, 2010';
  syndicate.article_summary[ syndicate.index ] = 'A British Tamil has embarked on a two-week walk from London to Geneva to ask the UN to initiate an independent investigation into allegations that war crimes were committed when the Sri Lankan government crushed the Tamil Tigers last year.\n\nGobi Sivanthan, 29, a businessman from Hayes, west London, left Downing Street at midnight on Saturday morning. As part of his "walk for justice", which is due to end outside the offices of the UN human rights council on 6 August, Sivanthan is also calling for a boycott of Sri Lankan goods, for internally displaced persons to be allowed to return home, and for access to be granted to prisoners of war.\n\nThe UN estimates that about 7,000 people died in the final months of fighting that culminated in the defeat of the Tamil Tigers and the end of the island\'s 25-year civil war.\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Thousands of student orphans from Sri Lanka\'s civil war';
//  syndicate.article_url[ syndicate.index ] = 'http://www.asianews.it/news-en/Thousands-of-student-orphans-from-Sri-Lanka\'s-civil-war-19032.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12853';
  syndicate.article_date[ syndicate.index ] = 'Jul 26, 2010';
  syndicate.article_summary[ syndicate.index ] = 'More than 8 thousand children are without parents due to civil war between government and LTTE. In one school alone in a village, more than 200 students have lost their parents. Members of the People\'s Freedom party visit villages in the area of Gaudarimunai in the north to understand the situation, and charge "the government is trying to undermine our work." Bimal Rathnayake, former MP and member of the group, said yesterday in Colombo: "We visited a school where 102 students lost their mother, 97 their father  and 15 both. It is a tragedy. Several NGOs have estimated that there are about 8 thousand students in similar conditions, but the government has still no official figures".\n\nh\n\n';
  syndicate.index++;
  syndicate.article_title[ syndicate.index ] = 'Tamils rally at Queen\'s Park';
//  syndicate.article_url[ syndicate.index ] = 'http://www.torontosun.com/news/torontoandgta/2010/07/25/14824216.html';
  syndicate.article_url[ syndicate.index ] = 'http://www.tamileelamnews.com/news/publish/srilanka.shtml#12852';
  syndicate.article_date[ syndicate.index ] = 'Jul 26, 2010';
  syndicate.article_summary[ syndicate.index ] = 'Hundreds of Tamil-Canadians gathered at Queen’s Park Sunday afternoon to remember countrymen who were killed 27 years ago during Black July — a time when a wave of violence swept through Sri Lanka.\n\n“During the riots that took place in July 1983, nearly 3,000 Tamils lost their lives, hundreds of thousands had to flee the country or became displaced, and millions of dollars worth of property was destroyed,” said Siva Vimal, of the National Council of Canadian Tamils.\n\nHe said the council was formed in the wake of the protests that swept through Toronto last year in an effort to unite Tamils across the Canada.\n\n“To date, there have been no reparations ... no apologies and no justice,” Vimal said.\n\n';
  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('<tr><td bgcolor="' + syndicate.bgcolor + '">');
  document.write('<a href="' + syndicate.article_url[syndicate.index] + '" target="_blank">');
  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 SITENAME.com</b></font></a>');
//document.write('<br><br></b></font></td></tr>\n');
