[Web4lib] How to feed Today's Library Hours to home page?

Andrew Darby darby.lists at gmail.com
Tue Apr 28 16:13:54 EDT 2009


We do this at my college, except the Google Calendar just functions as
an administrative back-end.  I wrote up the technique here:

http://journal.code4lib.org/articles/46

We then run a cron job every night against the database to get today's
hours for our home page.  I also use the Google Calendar data to
generate a "Who's on the Desk Now (and When's Their Next Shift)" page:

http://www.ithacalibrary.com/info/ref_hours.php


On Tue, Apr 28, 2009 at 4:05 PM, John Fereira <jaf30 at cornell.edu> wrote:
> Ingrid Redman wrote:
>>
>> 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.
>
> I am going to start working on this myself pretty soon.  In my case, we want
> to be able set the "default hours" and then layer a number of difference
> exceptions such as hours for weekends, spring/fall breaks, summer hours,
> etc.  We also want to maintain a separate hours calendar for our reference
> desk, and the cafe that is located in the building. to complicate things
> further we not only want to be able to display hours on the main web site,
> but also on a couple of display kiosks, AND it needs to be callable as a
> service so that an equipment/room reservation system that is being developed
> will be ablt to determine if an item is reservable during a certain time
> period.  We have a bunch of of reservable classroom and student study rooms
> that obviously can't be reserved for a period when the library is closed.
>>
>>
>> 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
>>
>>
>> _______________________________________________
>> Web4lib mailing list
>> Web4lib at webjunction.org
>> http://lists.webjunction.org/web4lib/
>>
>>
>
>
>
>
> _______________________________________________
> Web4lib mailing list
> Web4lib at webjunction.org
> http://lists.webjunction.org/web4lib/
>
>



-- 
Andrew Darby
Web Services Librarian
Ithaca College Library
http://www.ithaca.edu/library/
adarby at ithaca.edu




More information about the Web4lib mailing list