Open main menu

CDOT Wiki β

Changes

Learning Collaborative Development Lab Fall 2008 Results

799 bytes added, 07:57, 11 September 2008
Added ubiquity command seneca-library-search
<br>
----
[http://matrix.senecac.on.ca/~jwboston/ubiquity/ search-seneca-library]<br />
by [http://jamesboston.ca James Boston]<br />
 
Search the Seneca College Library<br />
'''Usage''': seneca-library-search (search term)<br />
 
CmdUtils.CreateCommand({
name: "seneca-library-search",
takes: {"your search term": noun_arb_text},
preview: function( pblock, theSearch ) {
pblock.innerHTML = "Will look for: " + theSearch.text;
},
execute: function( theSearch ) {
var baseUrl = "http://libcat.senecac.on.ca/cgi-bin/Pwebrecon.cgi";
var params = Utils.paramsToString({
CNT: "50",
DB: "local",
SL: "Submit&LOCA=Books+(no+eResources)|5",
Search_Arg: theSearch.text,
Search_Code: "FT*"
});
Utils.openUrlInBrowser(baseUrl+params);
}
})