[OPEN-ILS-GENERAL] Widgets on web for searching evergreen catalog?
Jane Sandberg
sandbej at linnbenton.edu
Wed Jan 7 11:56:56 EST 2015
Hi Jennifer,
Here's a very basic HTML widget for searching our consortium's catalog.
You may need to add fields and style it according to your needs, but
perhaps this will get you started:
https://gist.github.com/sandbergja/a2c00edff534689bab36
You can also get a lot of this HTML from your Evergreen catalog itself.
For example, if you wanted to include a dropdown list of libraries in your
widget, you can simply copy the HTML that appears between lines 116-183 in
the source of your catalog's main page (
http://evergreen.asbury.edu/eg/opac/home/AU -- press Ctrl + U to get to the
HTML source in Firefox).
-Jane
On Wed, Jan 7, 2015 at 7:47 AM, Walz, Jennifer <jlwalz at asbury.edu> wrote:
> All –
>
>
>
> Has anyone created a “widget” or a separate mini search box for their
> catalog on any of their web pages? Is there standard widget code
> someplace? Could someone send me some examples?
>
>
>
> Something like this which we used on our Libguides for our old catalog:
>
>
>
>
>
>
>
> We used a search form with html for the above:
>
>
>
> <form action="
> http://libcat.asburyseminary.edu/uhtbin/cgisirsi/x/0/0/57/5/?user_id=ACWEB"
> method="post" name="searchform" target="_blank">
>
> <input name="user_id" type="hidden" value="userid" /> <input
> name="password" type="hidden" value="password" />
>
> <input name="library" type="hidden" value="ALL" />
>
> <input name="sort_by" type="hidden" value="ANY" />
>
> <input name="relevance" type="hidden" value="off" />
>
> <b><font size="3">Find Books:</font></b><br /> <label
> for="searchdata1">
>
> <input id="searchdata1" maxlength="255" name="searchdata1" size="15"
> type="text" /> </label>
>
> <label for="srchfield1"> <select id="srchfield1" name="srchfield1">
>
> <option value="GENERAL^SUBJECT^^^words or phrase">Keyword</option><option
> value="AU^AUTHOR^^Author Processing^author">Author</option>
>
> <option value="TI^TITLE^^Title Processing^title">Title</option>
>
> <option value="SU^SUBJECT^^^subject">Subject</option>
>
> <option value="SER^SERIES^^Title Processing^series">Series</option>
>
> <option value="PER^PERTITLE^^Title Processing^periodical title">Periodical
> Title</option> </select> </label>
>
> <input class="searchbutton" type="submit" value="Search" /><br />
>
> <b><font size="3">Library: </font></b> <select name="library">
>
> <option value="ALL">ALL</option><option selected="selected"
> value="AC">Kinlaw Library</option>
>
> <option value="KENTUCKY">KY Libraries</option><option value="ATS">Seminary
> Libraries</option>
>
> <option value="FLORIDA">FL Libraries</option> </select></form>
>
>
>
> Anyone have any ideas / suggestions / thoughts for how to make this work
> for Evergreen? Or is there code out there that is better / nicer /
> cleaner?
>
>
>
> Thanks!
>
>
>
> Jennifer
>
> --------------------------------------------------
> Jennifer Walz, MLS - Head ILS Guru
> Kinlaw Library - *Asbury University*
> One Macklem Drive, Wilmore, KY 40390
> 859-858-3511 ext. 2269
> jlwalz at asbury.edu
>
>
>
--
Jane Sandberg
Electronic Resources Librarian
Linn-Benton Community College
sandbej at linnbenton.edu / 541-917-4655
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20150107/e5b02b55/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 25719 bytes
Desc: not available
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20150107/e5b02b55/attachment-0001.jpg>
More information about the Open-ils-general
mailing list