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

Gair Helfrich ghelfrich at aclsys.org
Wed Apr 29 16:20:09 EDT 2009


Nice John. I like it a lot. My one concern is whether patrons will
actually choose their own library. They may not and if someone chooses
ZZZ when they're going to BBB or EEE it could become a problem because
those branches aren't open as long as the other locations.

Gair

-----Original Message-----
From: web4lib-bounces at webjunction.org
[mailto:web4lib-bounces at webjunction.org] On Behalf Of John King
Sent: Wednesday, April 29, 2009 2:56 PM
To: web4lib at webjunction.org
Subject: RE: [Web4lib] Re: How to feed today's library hours to home
page?

Sorry all -- I did strip too much from the javascript. I thought I
double copy/pasted and had 8 days listed by accident - and deleted one
and moved another. It works like a charm if you follow Dennis'
instructions in the code. ThANKS AGAIN.

John King
Computer and Network Services
Atlantic County Library System
40 Farragut Ave., Mays Landing, NJ 08330
(609) 625-2776 ext. 6352
http://www.atlanticlibrary.org 


-----Original Message-----
From: web4lib-bounces at webjunction.org
[mailto:web4lib-bounces at webjunction.org] On Behalf Of John King
Sent: Wednesday, April 29, 2009 2:39 PM
To: web4lib at webjunction.org
Subject: RE: [Web4lib] Re: How to feed today's library hours to home
page?

That's nice. But Dennis, when I add today's date, "April 29" into the
holidayarray it returns a page which reads undefined and then today's
date. This is what I stripped it down to:
http://www.atlanticlibrary.org/jk/concepts/lib_hours.asp without the
aforementioned change to the holidayarray. Did I strip too much? Thanks
for sharing.

John King
Computer and Network Services
Atlantic County Library System
40 Farragut Ave., Mays Landing, NJ 08330
(609) 625-2776 ext. 6352
http://www.atlanticlibrary.org 


-----Original Message-----
From: web4lib-bounces at webjunction.org
[mailto:web4lib-bounces at webjunction.org] On Behalf Of Dennis G. Van
Arsdale
Sent: Wednesday, April 29, 2009 1:04 PM
To: web4lib at webjunction.org; iredman at poly.edu
Subject: [Web4lib] Re: How to feed today's library hours to home page?

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 



>   


_______________________________________________
Web4lib mailing list
Web4lib at webjunction.org
http://lists.webjunction.org/web4lib/



_______________________________________________
Web4lib mailing list
Web4lib at webjunction.org
http://lists.webjunction.org/web4lib/





More information about the Web4lib mailing list