// JavaScript Document

//pluck modules (add multiple modules by adding more elements to the pModules array)  
$S.setVal("pModules",["p-comments","p-article","p-discovery"]);  //the module to be loaded, e.g. "p-article", "p-comments", "p-lineup", "p-discovery"   

//page settings  
$S.setVal("articleType","article");  //the article type, e.g. story, video, photo, etc..  
   
//article metadata 

$S.setVal("articleTitle","<$MTEntryTitle$>");  //the article title (if not set, the <title> tag will used as the article title)  
$S.setVal("articleID","<$MTEntryID$>");

$S.setVal("articleSection","cbcp-radio2");  //the article section (please make sure that the name abides by the convention as defined in the Article sections & categories section of the CBC PIG)  
$S.setVal("articleCategories",["Daily_Feature","Music_News","Specials","Tech_Q","Today_on_Radio_2","Video"]);  //the article category(ies)  
//Note: The 2 variables "articleSection" & "articleCategories" are *optional*.  However, if you want your article to be discoverable, they *must* be defined.

//discovery objects
$S.setVal("discoveryObjects",
[{el: 'disc-rec-list', template: $S.getVal("tpl_headline"), eventSubscriber: { name: 'disc-rec', obj: 'disc-rec-link', evt: 'load'}, widgetParams:{ SearchSections: ['cbcp-radio2'], SearchCategories: ['All'], LimitToContributors:['Standard','Staff','Editor'], Activity: 'Recommended', Age: 7, MaximumNumberOfDiscoveries: 5}, isDiscovered:false },
{el: 'disc-cmt-list', template: $S.getVal("tpl_headline"), eventSubscriber: { name: 'disc-cmt', obj: 'disc-cmt-link', evt: 'load'}, widgetParams:{ SearchSections: ['cbcp-radio2'], SearchCategories: ['All'], LimitToContributors:['Standard','Staff','Editor'], Activity: 'Commented', Age: 7, MaximumNumberOfDiscoveries: 5}, isDiscovered:false }
]);
  




