[OPEN-ILS-GENERAL] ***SPAM*** Re: Widgets on web for searching evergreen catalog?
Benjamin Kalish
bkalish at forbeslibrary.org
Wed Jan 7 16:18:32 EST 2015
If you decide to have the toggle between searching the website and the
catalog, just remember that not all users will have javascript enabled. For
users without javascript you will have to redirect their request to the
catalog on the server when the catalog option is selected. We are using
Wordpress, so we do this with a plugin that hooks into the 'parse_query'
action.
Benjamin Kalish
Forbes Library / 413-587-1012 / bkalish at forbeslibrary.org
Currently reading: *The Riddle of the Sands* by Erskine Childers and *1Q84 *by
Haruki Murakami
Just Finished: *2001: A Space Odyssey *by Arthur C. Clarke
On Wed, Jan 7, 2015 at 3:35 PM, Walz, Jennifer <jlwalz at asbury.edu> wrote:
> Ben,
>
>
>
> Thanks! That is what I am looking for. I’ll try to adapt what you have
> done.
>
>
>
> Jennifer
>
> --------------------------------------------------
> Jennifer Walz, MLS - Head of Research & Distance Services
> Kinlaw Library - *Asbury University*
> One Macklem Drive, Wilmore, KY 40390
> 859-858-3511 ext. 2269
> jlwalz at asbury.edu
>
>
>
> *From:* open-ils-general-bounces at list.georgialibraries.org [mailto:
> open-ils-general-bounces at list.georgialibraries.org] *On Behalf Of *Benjamin
> Kalish
> *Sent:* Wednesday, January 07, 2015 12:05 PM
> *To:* Evergreen Discussion Group
> *Subject:* [OPEN-ILS-GENERAL] ***SPAM*** Re: Widgets on web for searching
> evergreen catalog?
>
>
>
> We have one that lets the user choose between searching our website or the
> library catalog. It was pretty easy to set up, and would be easier if you
> didn't give folks the choice to search the website. We made it very simple
> by making it always do a keyword search and always search our scope. We
> then provided a link called "advanced search" for folks that wanted more
> options. You can see it at http://forbeslibrary.org/
>
>
>
>
>
> Benjamin Kalish
> Forbes Library / 413-587-1012 / bkalish at forbeslibrary.org
>
>
>
> On Wed, Jan 7, 2015 at 10: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
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20150107/05a08ea1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 25719 bytes
Desc: not available
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20150107/05a08ea1/attachment-0001.jpg>
More information about the Open-ils-general
mailing list