aleph500 how we made it our own

15
Bill Drew SUNYLA 2003 d [email protected] ALEPH500: Making it yours!! Bill Drew - [email protected] What we did at Morrisville: –Modify the top frame of the web OPAC main screen. Objective: Make it look more like library web pages. –Remove the copyright notice which pops up when an external URL link is clicked (For example: 856 field in full record display).

Upload: bill-drew

Post on 07-Dec-2014

2.048 views

Category:

Technology


3 download

DESCRIPTION

This describes how we made ALEPH500 look like our webpages at Morrisville. Presented at SUNYLA 2003

TRANSCRIPT

Page 1: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

ALEPH500: Making it yours!!Bill Drew - [email protected]

What we did at Morrisville:–Modify the top frame of the web OPAC main screen. Objective: Make it look more like library web pages.–Remove the copyright notice which pops up when an external URL link is clicked (For example: 856 field in full record display).

Page 2: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Out of the Box:http://oswlib.library.oswego.edu:4600/ALEPH/-/start/mor01box

Page 3: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Current Version

Page 4: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Files Modified for top frame• Located in

/aleph/dev/mor/alephe/www_a_eng/

• start-1-nobor-mor01 for full OPAC.

• start-1-nobor-mor30 for Course Reserve.

• Still tinkering and testing modifications.

Page 5: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Changes made for top frame• Inserted URL of logo.• Added “Talk to a Librarian Live” coding.<a href="http://library.morrisville.edu">

<img src="http://library.morrisville.edu/library-logo.jpg"

alt="library logo and link back to library“ border="0" ></a>

<a href=“aim:goim?screenname=morrisvillelib

&message=Hi.%2BCan%2Byou%2Bhelp%2Bme%2B?”><b>Talk

to a Librarian LIVE!</b></a>&nbsp; Requires AOL IM

Page 6: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Changes made for top frame• Added pull down “select destination” menu.

• Takes you to other parts of the library website.

• Available on higher level library web pages.

Page 7: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Changes made for top frame• Commented out “Profile”, “Sign-in” and

“Change database” coding.

• Why Remove the Above?

1. Do not allow access to patron records yet. May implement in the future.

2. Provide more “real estate” for other links.

Page 8: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Changes made for top frame• Used direct links to Bases to replace “Change Database”.

• Could have been done with a pull down menu

Links to bases

Page 9: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Code for Bases[<a href=&server_opac/start/video target=_parent

class=yellow title="Go to Videos"> Videos </a>]

1. Substitute the name of your base in place of video.

2. To make it display in the same browser window, use target=_parent.

3. The title attribute causes the text in quotes to appear next to the mouse when moving the mouse over the link.

4. Bases linked to directly to replace “Change Database” link.

5. More on creating Bases from Karen Coombs.

Page 10: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Other Modifications

• Changed frameset rows in start-0-mor01– frameset rows=137,*,1.– Default is frameset rows=96,*,1.– This makes the top frame taller.

• Added <p>You are now searching &f-base catalog</p> to start-3-mor01 (main frame)– Displays name of Base you are in.

Page 11: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Removing copyright notice• Controlled by www-ext-copyrights in

/aleph/prod/mor/alephe/www_a_eng.• From Web PRB 151: “A copyright message is displayed when executing

the 856 external link through the WEB OPAC. If subfield $4 is added to the field, the message will not be displayed. (Note: The content of the subfield 4 doesn't matter; any text will do. It won't display unless you specify that it display)”

• Problem: would involve modifying over 1800 records at Morrisville.

Page 12: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Original File<html><!--filename: www-ext-copyrights--><head><META HTTP-EQUIV="Pragma" CONTENT="no-cache"><title>Copyrights Information</title><include>aleph-css</head><body onLoad="window.focus();"><div class=help2> <p align="center"> <em><b>Copyrights Information</b></em><br></p> Notice: Warning Concerning Copyright Restrictions<br> <TABLE width=100% border=0 cellspacing=5> <tr><td align="center">I have read the above statement and agree to abide by its restrictions:</td></tr>javascript:close(); <tr><td align="center"><a href="javascript:close();">Go Back</a> &nbsp&nbsp <a href=$0100>Continue</a></td></tr>

</TABLE></body></html>

Page 13: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Modified Code<!--filename: www-ext-copyrights--><html><head><title>External Link</title></head><body onload="window.close();"><script> var w =

window.open("$0100","message","width=800,status=yes,height=600,toolbar=yes, menubar=yes,resizable,scrollbars","replace");

w.focus();</script><b>Loading external page</b></body></html>

Page 14: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

How it works1. opens a temporary window (which closes)

and then loads the external page in a new window. $0100 variable stores the URL of the external page. Based on a redirect script and scripts for pop ups.

2. can set the page width of the external window. 800 by 600 seems to be a good compromise.

3. Had to use www-ext-copyrights because www-ext-copyrights-mor01 will not work.

Page 15: Aleph500 How we made it our own

Bill Drew SUNYLA 2003 [email protected]

Conclusions

• Need no frames version ASAP.

• Save original files under another name before editing. Follow conventions suggested by OLIS when possible.

• Do all work on dev side before moving it to prod side.

• DO IT!!