Download - Beth Juhl and Deborah Kulczak University of Arkansas Libraries Arkansas IUG June 18, 2010
Beth Juhl and Deborah KulczakUniversity of Arkansas Libraries
Arkansas IUGJune 18, 2010
Simple External Search Formson library web siteas widgetson other library sites
Code examples will be on
ArkIUG web site soon!
<form method=“get" action="http://your.iii.server/search/" name="search" id="search"><input type="hidden" value="X" name="searchtype" id="searchtype"> <input type="text" name="searcharg" size="40" maxlength="75" value="" /><input type="hidden" name="SORT" value="D" /><input type="submit" value="Search Now"/></form>
Sort Codes: D = default sort for that indexDX = DateAX = title
Sort Codes: D = default sort for that indexDX = DateAX = title
<form method=“get" action="http://your.iii.server/search/" name="search" id="search">
<input type="radio" value="X" name="searchtype" checked="checked“ />Keyword<input type="radio" value="a" name="searchtype" />Author <input type="radio" value="t" name="searchtype" /> Title <input type="radio" value="d" name="searchtype" /> Subject
<br /> <input type="text" name="searcharg" size="40" maxlength="75" value="" />
<input type="hidden" name="SORT" value="D" /><input type="submit" value="Search Now" onclick="this.form.target='blank';return true;" />
</form>
Fancier Implementations Require Javascriptopen search in new window / tabscontrol the size / behavior of new windows
add together search terms
Parse that Search URL!http://library.uark.edu/search/X?SEARCH=
%28arkansas%29%20and%20%28higher%20education%29&Da=1990&Db=2010&SORT=D&l=eng&m=a&s=m&b=main
http://library.uark.edu/search/ = search your III server
X? = it’s a keyword searchSEARCH= here comes the search%28 = ( %29 = ) %20 = [space]
(arkansas) and (higher education)
Parse that Search URL!http://library.uark.edu/search/X?SEARCH=
%28arkansas%29%20and%20%28higher%20education%29&Da=1990&Db=2010&SORT=D&l=eng&m=a&s=m&b=main
&Da=1990 date after 1990&Db=2010 date before 2010&SORT=D default sort &l=eng language is English&m=a material type is text&s=m monographs , not serials&b=main location is MAIN
Pseudo-ScopingUse Location Codes to Pre-limit Keyword
Searches
<script type="text/javascript" src="/ssi/infolinkslocsearch.js"></script>
<form action="" method="get" name="search" id="search" onsubmit="return false;" >
<p><input type="text" name="searcharg" id="searcharg" size="40" maxlength="75" value="" /></p>
<p>Location: <select name="b" id="b"> <option value="law" selected="selected">Law Library Only</option> <option value="">All Libraries</option></select>
<p> <input type="button" value="Search" onclick="searchinfolinks();" /> </p>
<p> <input type="reset" name="Reset" id="Reset" value="Clear Form and Try Another Search" /> </p> </form>
Part 1: The Search Form
// Search InfoLinks and Limit to Locations//<!--
function searchinfolinks() {var searchtext = document.getElementById('searcharg').value;var searchsort = document.getElementById('sort').value;var searchloc = document.getElementById('b').value;
var searchurl = "http://library.uark.edu/search/X?SEARCH=%28" + searchtext + "%29&SORT=" + searchsort + "&b=" + searchloc;
window.location.href = searchurl;}// -->
Part 2: The Javascript
Formats / Material Types
Adding Terms Behind the Sceneslocal subject terms (“faculty author”)format and location (“atlas and reference”)types of material (“feature film” or “dvd”)
“DVD” in 538 field
Film “genres” from the 650 field
<script type="text/javascript" src="/ssi/videosearch.js"></script><p>Test Video Search</p><form action="" method="get" name="search" id="search" onsubmit="return false;" > <input name="Sort" id="Sort" type="hidden" value="AX" /> <input name="MatType" id="MatType" type="hidden" value="g" /> <p>Keywords: <input type="text" name="Keywords" id="Keywords" size="40" maxlength="75" value="" /> </p> <p>Choose a Format: <input name="Format" type="radio" id="Format" value="DVD" checked="checked" /> DVD only <input type="radio" name="Format" id="Format" value="" /> DVD or VHS okay </p> <p> Choose a Genre: <select name="Genre" id="Genre"> <option selected value=" ">Select a Kind of Film (Optional)</option> <option value="%22Feature films%22">Feature films</option> <option value="%22Documentary films%22"> Documentary films</option> <option value="%22Adventure films%22"> Adventure films</option> <option value="%22Animated films%22"> Animated films</option>
Part 1: The form
// Search InfoLinks for videos//<!--
function videosearch() {var searchKeywords = document.getElementById('Keywords').value;var searchGenre = document.getElementById('Genre').value;var searchFormat = document.getElementById('Format').value;var searchMatType = document.getElementById('MatType').value;var searchSort = document.getElementById('Sort').value;
var searchurl = "http://library.uark.edu/search/X?SEARCH=%28" + searchKeywords + " " + searchGenre + " " + searchFormat + " " + "%29&SORT=" + searchSort + "&m=" + searchMatType;
window.location.href = searchurl;}// -->
Part 2: The script
Adding Record Elements to Enhance RetrievalArkansas Newspaper Project
Do you have any newspapers published in _______ from the years _________?
Arkansas Newspaper Project Part of the United States Newspaper
Program, funded by NEHBased at University of Arkansas, Fayetteville,
1988-1994Mission to catalog and microfilm newspapers
found throughout the state
Arkansas Newspaper Project Another component was OCLC Union ListingLDR (now LHR) created for each participant
for each holdings formatIssue-specific notationUSNP format <yyyy:mm:dd>
A “SULOP” tape load generated “Library Has” notes in our catalog
OCLC Union List Record
Newspaper Record in Our Catalog
“Lib Has”
MARC 752
752 FieldDefined as “Added Entry-Hierarchical Place
Name”Required in USNP records for
Place of publicationArea of coverage
Multiple 752s when place of publication changes or when several counties or towns included in coverage
We indexed in subjects and keywords
“Lib Has”
MARC fields 860 and 866Not indexedCould be used for data entry
We Needed a New Field!Local subject field 690
Already used for local collection names, local series, virtual bookplates, etc.
Indexed in subjects and keywordsFormat selected was 690 |y 1930
Didn’t want to confuse with LCSH-type chronological subdivisions (|y 1931-1940)
Easier for data entry (meaning fewer errors)
The Question—One or Multiple 690s?
New, Improved Record
Public DisplayMultiple 690s take up valuable “real estate” in
WebOPAC, and they might be confusing to users
The beauty of |y is that it’s not used in any other 690 fields
We decided to suppress decades by inserting a line in the webpub.def file
The ProjectUsed “Create Lists” to gather all the Arkansas
newspapers (about 1,050) into a review fileA library technician completed data entry of
690 fields in a 2-month period (November-December 2009)
We excludedNewspaper records in aggregator databasesLimited retention holdings
Proofreading and building the search form took a couple more months
http://libinfo.uark.edu/periodicals/arkansasnewspapersearch.asp
Actual search terms: su:newspapers su:"United States Arkansas Washington" 1880
Maintenance
Must remember to add decades whenNew titles are catalogedA new decade begins
Procedures in place for this!
Future Plans
Future Plans
Beth Juhl and Deborah KulczakUniversity of Arkansas Libraries
Arkansas IUGJune 18, 2010