You are here

Bookmarklets

OneSearch harvests data from a wide range of sources, such as Aleph, CUNY Academic Works, etc. This disparate data must be processed and optimized (or “normalized”). Primo creates an internal record from each original record. This record is in a special generic format called Primo Normalized XML, which we refer to as PNX. More information about PNX, as well as ways to view PNX and other source records, is outlined on the What's New @ OLS57 blog in a three-part series:


Click and hold each link, dragging it into your Bookmarks/Favorites bar:

OneSearch Show PNX

OneSearch View MARC Record in Aleph

OneSearch View Dublin Core Record in CUNY Academic Works

OneSearch Show RecordIDs


The Code Behind Each Bookmarklet

OneSearch Show PNX

javascript:void((function(){window.open(location.href+'&showPnx=true');})())

View MARC Record in Aleph

javascript:void((function(){var src='CUNY_ALEPH';var srcl=src.length;var sysb=location.href.indexOf(src)+srcl;var sysstr=location.href.substring(sysb);var sysl=sysstr.indexOf('&');open('https://libsearch.cuny.edu/F?func=direct&doc_library=CUN01&format=001&doc_number='+sysstr.substring(0,sysl));})())

OneSearch View Dublin Core Record in CUNY Academic Works

javascript:void((function(){var src='CUNY_BEPRESS';var srcl=src.length;var sysb=location.href.indexOf(src)+srcl;var sysstr=location.href.substring(sysb);var sysl=sysstr.indexOf('&');open('http://academicworks.cuny.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai:academicworks.cuny.edu:'+sysstr.substring(0,sysl));})())

OneSearch Show RecordIDs

javascript:void((function(){$('td.EXLThumbnail,td.EXLSummary').addClass('showMeRecIds');t=$('td.EXLThumbnail');j=t.length;i=0;for(i=0;i<=j;i++){id=$('td.showMeRecIds:eq(0) a').attr('id');$('td.showMeRecIds:eq(1)').prepend('<p>'+id+'</p>');$('td.showMeRecIds:lt(2)').removeClass('showMeRecIds')}})())


Where do Bookmarklets Go?

The following are examples of URLs that result from each of the above bookmarklets. (There is really no need to know this.)

Show PNX

http://onesearch.cuny.edu/primo_library/libweb/action/display.do?tabs=detailsTab&ct=display&fn=search&doc=CUNY_BEPRESSgc_etds_legacy-1056&indx=1&recIds=CUNY_BEPRESSgc_etds_legacy-1056&recIdxs=0&elementId=&renderMode=poppedOut&displayMode=full&http://onesearch.cuny.edu:80/primo_library/libweb/action/expand.do?dscnt=0&fctN=facet_domain&rfnGrp=1&frbrVersion=&scp.scps=scope%3A%28NC%29%2Cscope%3A%28HC%29%2Cscope%3A%28LG%29%2Cscope%3A%28QB%29%2Cscope%3A%28BX%29%2Cscope%3A%28CC%29%2Cscope%3A%28%22CEN%22%29%2Cscope%3A%28CUNY_BEPRESS%29%2Cscope%3A%28GC%29%2Cscope%3A%28JJ%29%2Cscope%3A%28KB%29%2Cscope%3A%28NY%29%2Cscope%3A%28QC%29%2Cscope%3A%28YC%29%2Cscope%3A%28BB%29%2Cscope%3A%28SI%29%2Cscope%3A%28CL%29%2Cscope%3A%28LE%29%2Cscope%3A%28HO%29%2Cscope%3A%28BM%29%2Cscope%3A%28BC%29%2Cscope%3A%28GJ%29%2Cscope%3A%28ME%29%2Cscope%3A%28AL%29%2Cprimo_central_multiple_fe&fctV=CUNY%2BAcademic%2BWorks&tab=default_tab&dstmp=1434393107762&srt=rank&gathStatTab=true&mode=Basic&rfnGrpCounter=1&vl(freeText0)=gentrification&vid=CUNY&frbg=&dum=true&showPnx=true

View MARC Record in Aleph

https://libsearch.cuny.edu/F?func=direct&doc_library=CUN01&format=001&doc_number=000478563

View Dublin Core Record in CUNY Academic Works

http://academicworks.cuny.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai:academicworks.cuny.edu:gc_etds_legacy-1056

OneSearch Show RecordIDs

http://onesearch.cuny.edu/primo_library/libweb/action/search.do?fn=search&ct=search&initialSearch=true&mode=Basic&tab=default_tab&indx=1&dum=true&srt=rank&vid=CUNY&frbg=&vl%28freeText0%29=horses&scp.scps=scope%3A%28NC%29%2Cscope%3A%28HC%29%2Cscope%3A%28LG%29%2Cscope%3A%28QB%29%2Cscope%3A%28BX%29%2Cscope%3A%28CC%29%2Cscope%3A%28%22CEN%22%29%2Cscope%3A%28CUNY_BEPRESS%29%2Cscope%3A%28GC%29%2Cscope%3A%28JJ%29%2Cscope%3A%28KB%29%2Cscope%3A%28NY%29%2Cscope%3A%28QC%29%2Cscope%3A%28YC%29%2Cscope%3A%28BB%29%2Cscope%3A%28SI%29%2Cscope%3A%28CL%29%2Cscope%3A%28LE%29%2Cscope%3A%28HO%29%2Cscope%3A%28BM%29%2Cscope%3A%28BC%29%2Cscope%3A%28GJ%29%2Cscope%3A%28ME%29%2Cscope%3A%28AL%29%2Cprimo_central_multiple_fe