[Web4lib] Re: How to feed today's library hours to home page?

Dennis G. Van Arsdale dvanarsd at uafortsmith.edu
Wed Apr 29 13:04:09 EDT 2009


I got a bit of JavaScript from someone on this list some time back, and it works well for us.
Try http://libcat.uafortsmith.edu/ <cid:part1.07070207.02010207 at uafortsmith.edu> and check the source code for the section in the "toplogo" called "data and open status script".  (toplogo is the standard header on all our catalog pages.)

We need to update the holidays annually, of course, and since we are an academic library that changes hours sometimes, we have alternative versions of the header with the variations to this script already set -- we just swap them out for the duration, and then swap back the standard one.

Feel free to grab it -- I grabbed it from elsewhere.

I hope this helps!

Date: Tue, 28 Apr 2009 15:48:00 -0400
From: "Ingrid Redman" <iredman at poly.edu>
Subject: [Web4lib] How to feed Today's Library Hours to home page?
To: <web4lib at webjunction.org>
Message-ID: <001901c9c83a$3db2dbc0$b9189340$@edu>
Content-Type: text/plain;	charset="us-ascii"

Hello,

 

I would like to display "Today's Open Hours" on our library home page in an
automatic fashion.  Currently our hours are available in a google calendar
(http://www.poly.edu/library/services/hours.php) and I was thinking I could
set up a  feed to the home page with just today's hours, but I'm not sure
how.

 

Does anyone have experience doing this kind of thing with Google calendars?
Or could you recommend another solution?  I'm not much of a coder.

 

Thanks for your help,

 

Ingrid

 

________________________________________

Ingrid Redman

Web Librarian | Bern Dibner Library of Science and Technology

Polytechnic Institute of NYU | 5 MetroTech Center | Brooklyn NY 11201

Tel: 718 260 3672 | Fax: 718 260 3756 | Web:  <http://www.poly.edu/library>
www.poly.edu/library

 

===============================
Dennis G. Van Arsdale
Technical Services Librarian
Boreham Library, University of Arkansas - Fort Smith
P.O. Box 3649  Fort Smith ARkansas 72913-3649
email: dvanarsd at uafortsmith.edu
phone: 479-788-7206 or 1-800-935-9341
http://www.uafortsmith.edu/Library/ 
http://computerhelpers.wordpress.com
http://overautomatedlibrarian.wordpress.com 



>   


More information about the Web4lib mailing list