Facebook and your WebPAC Widgetbox.com Widgetbox
Transcript of Facebook and your WebPAC Widgetbox.com Widgetbox
1
Eastern Great Lakes IUGAnnual Conference
Friday September 19, 2008The Conference Center at OCLC
The User Catalog ExperienceMere bling or necessary
enhancement, you decide!
E.G.L. – I.U.G. OCLC Conference Center
• Facebook and your WebPAC• Gadgets/Widgets• SMS Message from Web OPAC (PHP Script)• Google Books• Social Bookmarking from within catalog• Open Worldcat Lookup• OCLC Cite This• Export to Refworks• Map IT! BGSU
Facebook and your WebPAC
Facebook and your WebPAC
Example taken from Canisius Libraryhttp://innovativeusers.org/cgi-bin/clearinghouse/view.pl?id=193
Beth BradleyDigital Services LibrarianCanisius College [email protected]
http://innovativeusers.org/cgi-bin/clearinghouse/view.pl?id=190
Graham McCarthyMultimedia Programmer
Ryerson University [email protected]
Facebook and your WebPAC
Facebook and your WebPAC Facebook and your WebPAC
2
Facebook and your WebPAC
Online resource for widgets
www.widgetbox.com
This example is from Facebook
Widgetbox.com Widgetbox.com
Widgetbox.com Widgetbox.com
Widgetbox.com Widgetbox.com
3
Widgetbox.com Widgetbox.com
Gadgets/Widgets:VistaOSX
iGoogleGoogle Desktop
http://trilogy.brynmawr.edu/trico/sys/widgets.html
Adam BrinTri-Colleges Systems Coordinator
Bryn Mawr | Haverford | [email protected]
Widgets by Adam Brin @ Tri-Colleges Widgets by Adam Brin @ Tri-Colleges
Widgets by Adam Brin @ Tri-Colleges Google Gadgets
Google Gadgets@ BGSU
Coded by:Woon Khang Tang
BGSU Computer Science Student
5
SMS Message from Web OPAC
SMS Message from Web OPAC (PHP script)
http://innovativeusers.org/cgi-bin/clearinghouse/view.pl?id=202
Joshua KielasWeb Technical Coordinator
University of Oregon [email protected]
http://janus.uoregon.edu/record=b3094094
SMS Message from Web OPAC
SMS Message from Web OPAC SMS Message from Web OPAC
SMS Message from Web OPAC Google Books
Google BooksDeschutes Public Library
bib_display.html page with javascripthttp://catalog.dpls.lib.or.us/record=b1022758
setup info: http://code.google.com/apis/books/getting-started.html
Wylie AckermaneServices Manager
Deschutes Public Librarywww.dpls.lib.or.us
Followed Google’s example closely and developed a javascriptwhich grabs the ISBN from the image link.
6
Google Books Google Books
Google Books Google Books
Google BooksKent State University
briefcit.html page with javascripthttp://kentlink.edu/search/X?SEARCH=harry+potter$SORT=D
Michael KreycheSystems Librarian/Associate Professor
Libraries and Media ServicesKent State [email protected]
Google Books Google Books
7
Social Bookmarking
Social Bookmarkingwww.addthis.com
http://innovativeusers.org/cgi-bin/clearinghous/view.pl?id=188
Adam BrinTri-Colleges Systems Coordinator
Bryn Mawr | Haverford | [email protected]
Social Bookmarking
Social Bookmarking Social Bookmarking
<!-- AddThis Bookmark Button BEGIN --><a href="http://www.addthis.com/bookmark.php" onclick="bookmarkThis();return false" target="_blank">
<img src="http://s5.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="AddThis Social Bookmark Button" /></a>
<script type="text/javascript" src="http://s5.addthis.com/js/widget.php?v=10"></script>
<script type="text/javascript">var addthis_pub = ''; // register at http://www.addthis.com/ to get a domain key (your username is your key if you want to keep statsvar short = "TRIPOD: "; // short title
function bookmarkThis() {addthis_url=document.getElementById("recordnum");
addthis_title=document.title;try { // try.s allow us to do something and fail
// without impacting the uservar debug =0;var tr = document.getElementsByTagName('TR'); // get the rows for every table on the page
for(i = 0; i < tr.length; i++) {var x=tr[i].getElementsByTagName('TD'); // for each row, get all of the cellsif (x.length == 2 && x[0].innerHTML == "Title") { // if I have 2 cells one with the title
addthis_title = short + x[1].innerHTML.replace(/(<([^>]+)>)/ig,""); // get the title and strip all tagsaddthis_title = addthis_title.replace(/[\n\t]/ig,"");
if (debug > 0) alert('found link: ' + addthis_title); // if debugging, show the title}
}} catch (e) {}
return addthis_click (this);}</script><!-- AddThis Bookmark Button END -->
code for bib_display.html page.
Worldcat Lookup
Open WordCat Lookup
Don Zhou,Head of Technical Services
William Mitchell College of [email protected]
Worldcat Lookup
8
Social Bookmarking Social Bookmarking
Worldcat Lookup
<!-- Start of check nearby libraries //-->
<a href="#" onclick="checkotherlibraries();return false" target="_blank" class="nearbylib"><border="0"><imgsrc="/screens/masthead_worldcat_beta_en.gif"></a>
<script type="text/javascript">function checkotherlibraries() {try {
var tr = document.getElementsByTagName('TR');for(i = 0; i < tr.length; i++) {
var x=tr[i].getElementsByTagName('TD');if (x.length == 2 && x[0].innerHTML == "OCLC No.") {
otherlib_title = x[1].innerHTML.replace(/(<([^>]+)>)/ig,""); //get oclcotherlib_title = otherlib_title.replace(/ /g,""); //take out spaces if any
otherlib_title = otherlib_title.replace(/[\n\t]/ig,""); //take out newline
}else if (x.length == 2 && x[0].innerHTML == "Title") {
otherlib_title = x[1].innerHTML.replace(/(<([^>]+)>)/ig,""); //no tagsotherlib_title = otherlib_title.replace(/( \/ .+)/ig,""); //take out the author part
otherlib_title = otherlib_title.replace(/: /,""); //take out the colonotherlib_title = otherlib_title.replace(/ (\[.+\])/,""); //take out gmdotherlib_title = otherlib_title.replace(/[,|\.]/g,""); //take out comma or period
otherlib_title = otherlib_title.replace(/&/g,"and"); //take out the &
otherlib_title = otherlib_title.replace(/(The |A |An )/im,""); //no beginning articles
otherlib_title = otherlib_title.replace(/[\n\t]/ig,""); //no newline or tabsotherlib_title = otherlib_title.replace(/ /ig,"+"); //convert to the right syntax
}}
} catch (e) {}
if(/^\d\d\d\d\d\d/.test(otherlib_title)){ //if it is oclc numberwindow.open("http://worldcat.org/oclc/"+ otherlib_title + "&loc=43402");}else{window.open("http://worldcat.org/search?q=ti%3A"+otherlib_title); //can not limit by keyword search}}</script><!-- End of check nearby libraries //--><br><br>
Code for bib_display.html
OCLC Cite This!
OCLC Cite This!
JavascriptBowling Green State University
Coded by:Eric Topp
BGSU Computer Science Student
OCLC Cite This! OCLC Cite This!
9
OCLC Cite This!
<!--OCLC Cite This. Start of check nearby libraries //-->
<a href="#" onclick="checkotherlibrariesoclc();return false" target="_blank" class="nearbylib"><border="0">Cite This (from OCLC)</a> <script type="text/javascript">
function checkotherlibrariesoclc() {try{
var tr = document.getElementsByTagName('TR');for(i = 0; i < tr.length; i++) {
var x=tr[i].getElementsByTagName('TD');if (x.length == 2 && x[0].innerHTML == "OCLC #") {
otherlib_title = x[1].innerHTML.replace(/(<([^>]+)>)/ig,""); //get oclcotherlib_title = otherlib_title.replace(/ /g,""); //take out spaces if anyotherlib_title = otherlib_title.replace(/[\n\t]/ig,""); //take out newline
}}
}catch(e) {}window.open("http://worldcat.org/wcpa/oclc/"+ otherlib_title + "?page=citation");
}</script>
OCLC Cite This!
Advice from the IUG listproc if it doesn’t work.You need to have your oclc number display your bibdisplay.html Release 2007 example set does not do this.
http://maurice.bgsu.edu/record=b2827755~S01) Need to add to bib_display.html file
<span class="style1"><!--{recordlink}-->
<!--{recordinfo:#}--></span>
To control what exact fields display in my full details section I use the following.<!--{recordinfo:crenwi}-->
<!--{recordinfo:asdbuxz}-->the letters after the recordinfo: stand for the tags of the data.
I don't have a way to tell what tag is used for your oclc number, but you'll need to get the oclc number to display.2) Try changing the webpub.def to the way mine is below.If your webpub.def tells system to display oclc # as follows
b|o|001|OCLC #|b|mine reads like:
b|o|001|&|OCLC #||b|
Refworks Export
RefWorks Export !
Original scripts from Birkin [email protected] Brown University
http://innovativeusers.org/cgi-bin/clearinghouse/view.pl?id=211
modified by Miami Universitybroke down and rebuilt it into the code which BGSU is using by:
Lee Davey, Assistant Web Developer,Wright State University Libraries.
Refworks Export
Refworks Export Refworks Export
10
BGSU Map IT!
Map IT!Bowling Green State University
http://catalog.dpls.lib.or.us/record=b1022758
LAMP server with algorithm for LC call numbersYou need LOC to be defined in woptions
Coded by:Dan Trophy
Jared ContrascereWoon Khang Tang
BGSU Computer Science Students
BGSU Map IT!
BGSU Map IT! BGSU Map IT!
BGSU Map IT! BGSU Map IT!
11
BGSU Map IT! BGSU Map IT!
BGSU Map IT! OCLC Find IT!
Questions?
Mark StrangData Systems Coordinator
Bowling Green State [email protected]