Re: [CODE4LIB] Hours on Library Websites?

2016-07-13 Thread Brassell, Emily
Hi all,

After wrestling with the problem for a while, we wrote a Wordpress plugin to 
handle hours. The main display includes a map of locations:
http://library.unc.edu/hours/

And shortcodes are available to display abbreviated versions of today's or this 
week's hours elsewhere on the site. (There is also a consumable JSON view so 
that you can create your own display).

Categories can be assigned to events, which can be repeating or 24-hr (using 
standard ical and recurrence rules).

https://github.com/UNC-Libraries/Hours-of-Operation

We'd be glad to talk more with anyone who's interested!

Best,
Emily
___
Emily Brassell
UNC Libraries
[email protected] | 
[email protected] | 919.962.1356




-Original Message-
From: Code for Libraries [mailto:[email protected]] On Behalf Of Matt 
Sherman
Sent: Thursday, July 07, 2016 10:34 AM
To: [email protected]
Subject: [CODE4LIB] Hours on Library Websites?

Hi all,

We are working on a website migration/redesign into WordPress and I am trying 
to figure out an automated solution for posting and keeping up to date the 
hours on the home page.  I am wondering, how do other institutions manage this? 
 Are there any good tools I should be looking into?  Any insights or 
suggestions are appreciated.

Matt Sherman


Re: [CODE4LIB] Hours on Library Websites?

2016-07-11 Thread Ken Irwin
Matt,

For the last year or so I've been using a tool developed by a handful of 
Code4Libbers:
https://github.com/kenirwin/LibraryHoursManager 

There are two front-end pieces: 1) a "today's hours" report to put on the front 
page, 
http://www6.wittenberg.edu/lib/ 
and calendar of dates and hours: 
http://www6.wittenberg.edu/lib/about/hours/calendar.php 

The calendar-style front end was developed by Andrew Darby and Ron Gilmour at 
Ithaca College, based on work that Andrew did earlier and wrote about in the 
C4L journal: 
http://journal.code4lib.org/articles/46 
That tool's back-end is a simple day-by-day XML file; I wrote a set of back-end 
scripts to generate the XML based on a variety of date settings, e.g.:
 * From January 7-May 15, here are the normal library hours...
 * but spring break hours are different, so use the override "break hours" 
setting...
 * and then there are one or two days we have special hours that don't conform 
to a routine like "break hours", so use these special hours...

Feel free to give it a try, and let me know if you need any help with it. 

Ken


-Original Message-
From: Code for Libraries [mailto:[email protected]] On Behalf Of Matt 
Sherman
Sent: Thursday, July 07, 2016 10:34 AM
To: [email protected]
Subject: [CODE4LIB] Hours on Library Websites?

Hi all,

We are working on a website migration/redesign into WordPress and I am trying 
to figure out an automated solution for posting and keeping up to date the 
hours on the home page.  I am wondering, how do other institutions manage this? 
 Are there any good tools I should be looking into?  Any insights or 
suggestions are appreciated.

Matt Sherman


Re: [CODE4LIB] Hours on Library Websites?

2016-07-11 Thread Mark Vega
Here at UC Irvine Libraries, we use a home-grown Hours system built on 
MSSQL/PHP.  Each year, we load a new calendar year into our Hours database 
using data from three sources: a perpetual calendar database, a database of 
local academic calendar dates obtained from the Registrar, and a database of 
default hours for each of our libraries and service points.  Once loaded, 
select staff from each library and service point are able to customize the 
hours data for their particular locations using a simple webform-based admin 
system.  We typically load the default data a year in advance and previous 
years' data is retained and fully accessible as well.  We find this set-up 
gives us maximum flexibility in feeding this data out in various formats for 
display in a variety of ways, including a daily hours display on our home page 
(http://www.lib.uci.edu/) and a full calendar display 
(http://www.lib.uci.edu/hours) as well as in widgets used by staff in various 
ways.  The full database is also accessible via simple RESTful queries.  The 
same database is used by various other in-house applications, including our 
catalog,  that need to know hours of operation as part of their functional 
requirements.

--
Mark F. Vega
Programmer/Analyst
UC Irvine Libraries - Web Services
[email protected]
949.824.9872
--


Re: [CODE4LIB] Hours on Library Websites?

2016-07-11 Thread Fitchett, Deborah
Hi all,

Our hours page has some history! We originally used Andrew Darby's code using 
Google Calendar. Then Google Calendar went belly up and a former colleague 
rewrote the code as https://github.com/LincolnUniLTL/calibr

This required regularly uploading a file with new hours, and our hours vary 
according to time of year, day of week, and possibly phase of moon so I kept 
making mistakes and having to fix them. Also separately we have to keep the 
hours correct in Alma anyway, and I was already using the Alma API to pull out 
other things, so I mashed up various bits of code and now it pulls from there 
instead. 

But it is quite a messy hybrid of calibr plus our  
https://github.com/LincolnUniLTL/LTLstats (library dashboard) code to create 
the whole (bilingual) hours module at https://library2.lincoln.ac.nz/hours/ and 
also custom widgets on our (Wordpress-based) website https://ltl.lincoln.ac.nz/ 
which use cURL to GET a couple of mini-pages we've created in php on our own 
server, for hours of the day (for the home page) and hours of the week (for our 
About LTL tab).

So it'd be a mess to share - I mean I'd be happy to, but I can't imagine anyone 
willingly wanting to implement it from scratch. Instead for people using Alma 
I'd recommend something like 
https://developers.exlibrisgroup.com/blog/Alma-Hours-API-Widget 

Deborah

-Original Message-
From: Code for Libraries [mailto:[email protected]] On Behalf Of Matt 
Sherman
Sent: Friday, 8 July 2016 2:34 a.m.
To: [email protected]
Subject: [CODE4LIB] Hours on Library Websites?

Hi all,

We are working on a website migration/redesign into WordPress and I am trying 
to figure out an automated solution for posting and keeping up to date the 
hours on the home page.  I am wondering, how do other institutions manage this? 
 Are there any good tools I should be looking into?  Any insights or 
suggestions are appreciated.

Matt Sherman


P Please consider the environment before you print this email.
"The contents of this e-mail (including any attachments) may be confidential 
and/or subject to copyright. Any unauthorised use, distribution, or copying of 
the contents is expressly prohibited. If you have received this e-mail in 
error, please advise the sender by return e-mail or telephone and then delete 
this e-mail together with all attachments from your system."


Re: [CODE4LIB] Hours on Library Websites?

2016-07-11 Thread Cynthia Ng
Not mine, but SFU built their own API so that they could pull hours and
many other things easily in various sites and what not:
http://api.lib.sfu.ca/

Which I thought was really cool

On Thu, Jul 7, 2016 at 10:29 AM, Valerie Forrestal <
[email protected]> wrote:

> I feel very low tech right now, but we are using the Business Hours
> Wordpress plugin: www.library.csi.cuny.edu (it doesn't show up on mobile
> because media queries so you have to view the site on a regular computer to
> see what it looks like.)
>
> It's super easy to update and you can edit the CSS to customize the
> display.
>
> -Val
>
> > On Jul 7, 2016, at 1:13 PM, Erin White  wrote:
> >
> > I've had my eye on Google My Business [1] recently.
> >
> > You can claim your library's location with a snail-mail postcard
> > verification process, then set regular hours AND exceptions using the My
> > Business site. This way your library's hours show up correctly in Google
> > search.
> >
> > And (this is the part we haven't tested, would be interested to hear from
> > others if you have): the Google Places API [2] should allow you to fetch
> > today's hours based on that data. We're hoping to test and migrate from
> our
> > current Google Calendar API setup in the next few months.
> >
> > Now that google search results for the library location display open
> hours,
> > though, I'm not sure how many folks are actually clicking through to
> verify
> > our hours anyway. The horror!
> >
> >
> > [1] https://www.google.com/business/
> > [2] https://developers.google.com/places/
> >
> > --
> > Erin White
> > Web Systems Librarian, VCU Libraries
> > (804) 827-3552 | [email protected] | www.library.vcu.edu
> >
> >> On Thu, Jul 7, 2016 at 1:02 PM, Heather Rayl <[email protected]> wrote:
> >>
> >> We use a custom javascript with a giant array. The script first tests to
> >> determine the month and date, and it also tests for the day of the
> week. We
> >> have two lines that have the "regular" hours -- one set for fall and
> spring
> >> semester and one set for summer, and then we write "exceptions" for each
> >> day that is different. if it's not one of the exceptions, then it lists
> the
> >> regular hours. Although it sounds cumbersome, it doesn't really take
> that
> >> long to update it, and you only have to update it twice -- once at the
> >> beginning of summer to comment out the regular fall/spring hours, and
> once
> >> at the end of the summer to comment out the regular summer hours. Around
> >> this time, we also update the exceptions for the upcoming year.
> >>
> >> I'd be happy to share the code with anyone who would like it.
> >>
> >> On Thu, Jul 7, 2016 at 12:42 PM, Ketner, Kenny 
> >> wrote:
> >>
> >>> At Texas Tech University Libraries, our solution for over 12 years has
> >>> been Google Calendar along with a custom PHP script with MySQL database
> >>> backend. Every summer our circ staff creates the next calendar year's
> >> hours
> >>> in a spreadsheet; this is imported into Google Calendar and also
> ingested
> >>> into our MySQL database. The purpose of the PHP script is to provide
> >> quick
> >>> information to web pages about the current day's hours, and the Google
> >>> Calendar gives a look-ahead for future hours and library events.
> >>>
> >>>
> >>> Kenny Ketner
> >>> Software Development Manager
> >>> Texas Tech University Libraries
> >>> [email protected]
> >>> 806-773-5323
> >>> Strategic - Ideation - Connectedness - Relator - Learner
> >>>
> >>> 
> >>> From: Code for Libraries [[email protected]] on behalf of
> >>> Katherine N. Deibel [[email protected]]
> >>> Sent: Thursday, July 07, 2016 11:20 AM
> >>> To: [email protected]
> >>> Subject: Re: [CODE4LIB] Hours on Library Websites?
> >>>
> >>> Hi Matt,
> >>>
> >>> Coincidentally enough, UW is currently looking at how to easily and
> >>> centrally distribute hours information to our website (and potentially
> >> some
> >>> other campus web apps). We're looking at LibCal but also considering
> >>> rolling our own with some harvesting through the Alma Hours API.
> 

Re: [CODE4LIB] Hours on Library Websites?

2016-07-11 Thread Mark Vega
Here at UC Irvine Libraries, we use a home-grown Hours system built on MS 
SQL/PHP.  Each year, we load a new calendar year into our Hours database using 
data from three sources: a perpetual calendar database, a database of local 
academic calendar dates obtained from the Registrar, and a database of default 
hours for each of our libraries and service points.  Once loaded, select staff 
from each library and service point are able to customize the hours data for 
their particular locations using a simple webform-based admin system.  We 
typically load the default data a year in advance and previous years' data is 
retained and fully accessible as well.  We find this set-up gives us maximum 
flexibility in feeding this data out in various formats for display in a 
variety of ways, including a daily hours display on our home page 
(http://www.lib.uci.edu/) and a full calendar display 
(http://www.lib.uci.edu/hours) as well as in widgets used by staff in various 
ways.  The full database is accessible via simple RESTful queries.  The same 
database is used by various other in-house applications that need to know hours 
of operation as part of their functional requirements.

--
Mark F. Vega
Programmer/Analyst
UC Irvine Libraries - Web Services
[email protected]
949.824.9872
--


Re: [CODE4LIB] Hours on Library Websites?

2016-07-07 Thread Valerie Forrestal
I feel very low tech right now, but we are using the Business Hours Wordpress 
plugin: www.library.csi.cuny.edu (it doesn't show up on mobile because media 
queries so you have to view the site on a regular computer to see what it looks 
like.)

It's super easy to update and you can edit the CSS to customize the display.

-Val

> On Jul 7, 2016, at 1:13 PM, Erin White  wrote:
>
> I've had my eye on Google My Business [1] recently.
>
> You can claim your library's location with a snail-mail postcard
> verification process, then set regular hours AND exceptions using the My
> Business site. This way your library's hours show up correctly in Google
> search.
>
> And (this is the part we haven't tested, would be interested to hear from
> others if you have): the Google Places API [2] should allow you to fetch
> today's hours based on that data. We're hoping to test and migrate from our
> current Google Calendar API setup in the next few months.
>
> Now that google search results for the library location display open hours,
> though, I'm not sure how many folks are actually clicking through to verify
> our hours anyway. The horror!
>
>
> [1] https://www.google.com/business/
> [2] https://developers.google.com/places/
>
> --
> Erin White
> Web Systems Librarian, VCU Libraries
> (804) 827-3552 | [email protected] | www.library.vcu.edu
>
>> On Thu, Jul 7, 2016 at 1:02 PM, Heather Rayl <[email protected]> wrote:
>>
>> We use a custom javascript with a giant array. The script first tests to
>> determine the month and date, and it also tests for the day of the week. We
>> have two lines that have the "regular" hours -- one set for fall and spring
>> semester and one set for summer, and then we write "exceptions" for each
>> day that is different. if it's not one of the exceptions, then it lists the
>> regular hours. Although it sounds cumbersome, it doesn't really take that
>> long to update it, and you only have to update it twice -- once at the
>> beginning of summer to comment out the regular fall/spring hours, and once
>> at the end of the summer to comment out the regular summer hours. Around
>> this time, we also update the exceptions for the upcoming year.
>>
>> I'd be happy to share the code with anyone who would like it.
>>
>> On Thu, Jul 7, 2016 at 12:42 PM, Ketner, Kenny 
>> wrote:
>>
>>> At Texas Tech University Libraries, our solution for over 12 years has
>>> been Google Calendar along with a custom PHP script with MySQL database
>>> backend. Every summer our circ staff creates the next calendar year's
>> hours
>>> in a spreadsheet; this is imported into Google Calendar and also ingested
>>> into our MySQL database. The purpose of the PHP script is to provide
>> quick
>>> information to web pages about the current day's hours, and the Google
>>> Calendar gives a look-ahead for future hours and library events.
>>>
>>>
>>> Kenny Ketner
>>> Software Development Manager
>>> Texas Tech University Libraries
>>> [email protected]
>>> 806-773-5323
>>> Strategic - Ideation - Connectedness - Relator - Learner
>>>
>>> 
>>> From: Code for Libraries [[email protected]] on behalf of
>>> Katherine N. Deibel [[email protected]]
>>> Sent: Thursday, July 07, 2016 11:20 AM
>>> To: [email protected]
>>> Subject: Re: [CODE4LIB] Hours on Library Websites?
>>>
>>> Hi Matt,
>>>
>>> Coincidentally enough, UW is currently looking at how to easily and
>>> centrally distribute hours information to our website (and potentially
>> some
>>> other campus web apps). We're looking at LibCal but also considering
>>> rolling our own with some harvesting through the Alma Hours API. LibCal's
>>> REST API is still in development and has a limitations that we've
>> noticed:
>>>
>>> * Can only request times from today to the future. We'd have to cache
>>> older results if we wanted to display them
>>>
>>> * Can only show up to one year in advance (we sometimes need to show a
>>> full schedule fro 15 months)
>>>
>>> * Identifiers for locations and sublocations is an ID number, so you'd
>>> have to write a mapping if you want others to use it easily.
>>>
>>> * Given our large number of libraries and sublocations within them, we'd
>>> really like to be able to set hours relative to the &quo

Re: [CODE4LIB] Hours on Library Websites?

2016-07-07 Thread Erin White
I've had my eye on Google My Business [1] recently.

You can claim your library's location with a snail-mail postcard
verification process, then set regular hours AND exceptions using the My
Business site. This way your library's hours show up correctly in Google
search.

And (this is the part we haven't tested, would be interested to hear from
others if you have): the Google Places API [2] should allow you to fetch
today's hours based on that data. We're hoping to test and migrate from our
current Google Calendar API setup in the next few months.

Now that google search results for the library location display open hours,
though, I'm not sure how many folks are actually clicking through to verify
our hours anyway. The horror!


[1] https://www.google.com/business/
[2] https://developers.google.com/places/

--
Erin White
Web Systems Librarian, VCU Libraries
(804) 827-3552 | [email protected] | www.library.vcu.edu

On Thu, Jul 7, 2016 at 1:02 PM, Heather Rayl <[email protected]> wrote:

> We use a custom javascript with a giant array. The script first tests to
> determine the month and date, and it also tests for the day of the week. We
> have two lines that have the "regular" hours -- one set for fall and spring
> semester and one set for summer, and then we write "exceptions" for each
> day that is different. if it's not one of the exceptions, then it lists the
> regular hours. Although it sounds cumbersome, it doesn't really take that
> long to update it, and you only have to update it twice -- once at the
> beginning of summer to comment out the regular fall/spring hours, and once
> at the end of the summer to comment out the regular summer hours. Around
> this time, we also update the exceptions for the upcoming year.
>
> I'd be happy to share the code with anyone who would like it.
>
> On Thu, Jul 7, 2016 at 12:42 PM, Ketner, Kenny 
> wrote:
>
> > At Texas Tech University Libraries, our solution for over 12 years has
> > been Google Calendar along with a custom PHP script with MySQL database
> > backend. Every summer our circ staff creates the next calendar year's
> hours
> > in a spreadsheet; this is imported into Google Calendar and also ingested
> > into our MySQL database. The purpose of the PHP script is to provide
> quick
> > information to web pages about the current day's hours, and the Google
> > Calendar gives a look-ahead for future hours and library events.
> >
> >
> > Kenny Ketner
> > Software Development Manager
> > Texas Tech University Libraries
> > [email protected]
> > 806-773-5323
> > Strategic - Ideation - Connectedness - Relator - Learner
> >
> > ________________
> > From: Code for Libraries [[email protected]] on behalf of
> > Katherine N. Deibel [[email protected]]
> > Sent: Thursday, July 07, 2016 11:20 AM
> > To: [email protected]
> > Subject: Re: [CODE4LIB] Hours on Library Websites?
> >
> > Hi Matt,
> >
> > Coincidentally enough, UW is currently looking at how to easily and
> > centrally distribute hours information to our website (and potentially
> some
> > other campus web apps). We're looking at LibCal but also considering
> > rolling our own with some harvesting through the Alma Hours API. LibCal's
> > REST API is still in development and has a limitations that we've
> noticed:
> >
> > * Can only request times from today to the future. We'd have to cache
> > older results if we wanted to display them
> >
> > * Can only show up to one year in advance (we sometimes need to show a
> > full schedule fro 15 months)
> >
> > * Identifiers for locations and sublocations is an ID number, so you'd
> > have to write a mapping if you want others to use it easily.
> >
> > * Given our large number of libraries and sublocations within them, we'd
> > really like to be able to set hours relative to the "containing" library.
> >
> > We're still debating as you can guess, but the basic gist I've gotten is
> > that if you want to use LibCal, you're going to probably write some
> > intermediary JavaScript to make your life easier.
> >
> > --
> >
> > Kate Deibel, PhD | Web Applications Specialist
> > Information Technology Services
> > University of Washington Libraries
> > http://staff.washington.edu/deibel
> >
> > --
> >
> > "When Thor shows up, it's always deus ex machina."
> >
> > -Original Message-
> > From: Code for Libraries [mailto:[email protected]] On Behalf Of
> > Matt Sherman
> > Sent: Thursday, July 7, 2016 7:34 AM
> > To: [email protected]
> > Subject: [CODE4LIB] Hours on Library Websites?
> >
> > Hi all,
> >
> > We are working on a website migration/redesign into WordPress and I am
> > trying to figure out an automated solution for posting and keeping up to
> > date the hours on the home page.  I am wondering, how do other
> institutions
> > manage this?  Are there any good tools I should be looking into?  Any
> > insights or suggestions are appreciated.
> >
> > Matt Sherman
> >
>


Re: [CODE4LIB] Hours on Library Websites?

2016-07-07 Thread Heather Rayl
We use a custom javascript with a giant array. The script first tests to
determine the month and date, and it also tests for the day of the week. We
have two lines that have the "regular" hours -- one set for fall and spring
semester and one set for summer, and then we write "exceptions" for each
day that is different. if it's not one of the exceptions, then it lists the
regular hours. Although it sounds cumbersome, it doesn't really take that
long to update it, and you only have to update it twice -- once at the
beginning of summer to comment out the regular fall/spring hours, and once
at the end of the summer to comment out the regular summer hours. Around
this time, we also update the exceptions for the upcoming year.

I'd be happy to share the code with anyone who would like it.

On Thu, Jul 7, 2016 at 12:42 PM, Ketner, Kenny  wrote:

> At Texas Tech University Libraries, our solution for over 12 years has
> been Google Calendar along with a custom PHP script with MySQL database
> backend. Every summer our circ staff creates the next calendar year's hours
> in a spreadsheet; this is imported into Google Calendar and also ingested
> into our MySQL database. The purpose of the PHP script is to provide quick
> information to web pages about the current day's hours, and the Google
> Calendar gives a look-ahead for future hours and library events.
>
>
> Kenny Ketner
> Software Development Manager
> Texas Tech University Libraries
> [email protected]
> 806-773-5323
> Strategic - Ideation - Connectedness - Relator - Learner
>
> 
> From: Code for Libraries [[email protected]] on behalf of
> Katherine N. Deibel [[email protected]]
> Sent: Thursday, July 07, 2016 11:20 AM
> To: [email protected]
> Subject: Re: [CODE4LIB] Hours on Library Websites?
>
> Hi Matt,
>
> Coincidentally enough, UW is currently looking at how to easily and
> centrally distribute hours information to our website (and potentially some
> other campus web apps). We're looking at LibCal but also considering
> rolling our own with some harvesting through the Alma Hours API. LibCal's
> REST API is still in development and has a limitations that we've noticed:
>
> * Can only request times from today to the future. We'd have to cache
> older results if we wanted to display them
>
> * Can only show up to one year in advance (we sometimes need to show a
> full schedule fro 15 months)
>
> * Identifiers for locations and sublocations is an ID number, so you'd
> have to write a mapping if you want others to use it easily.
>
> * Given our large number of libraries and sublocations within them, we'd
> really like to be able to set hours relative to the "containing" library.
>
> We're still debating as you can guess, but the basic gist I've gotten is
> that if you want to use LibCal, you're going to probably write some
> intermediary JavaScript to make your life easier.
>
> --
>
> Kate Deibel, PhD | Web Applications Specialist
> Information Technology Services
> University of Washington Libraries
> http://staff.washington.edu/deibel
>
> --
>
> "When Thor shows up, it's always deus ex machina."
>
> -Original Message-
> From: Code for Libraries [mailto:[email protected]] On Behalf Of
> Matt Sherman
> Sent: Thursday, July 7, 2016 7:34 AM
> To: [email protected]
> Subject: [CODE4LIB] Hours on Library Websites?
>
> Hi all,
>
> We are working on a website migration/redesign into WordPress and I am
> trying to figure out an automated solution for posting and keeping up to
> date the hours on the home page.  I am wondering, how do other institutions
> manage this?  Are there any good tools I should be looking into?  Any
> insights or suggestions are appreciated.
>
> Matt Sherman
>


Re: [CODE4LIB] Hours on Library Websites?

2016-07-07 Thread Ketner, Kenny
At Texas Tech University Libraries, our solution for over 12 years has been 
Google Calendar along with a custom PHP script with MySQL database backend. 
Every summer our circ staff creates the next calendar year's hours in a 
spreadsheet; this is imported into Google Calendar and also ingested into our 
MySQL database. The purpose of the PHP script is to provide quick information 
to web pages about the current day's hours, and the Google Calendar gives a 
look-ahead for future hours and library events.


Kenny Ketner
Software Development Manager
Texas Tech University Libraries
[email protected]
806-773-5323
Strategic - Ideation - Connectedness - Relator - Learner


From: Code for Libraries [[email protected]] on behalf of Katherine N. 
Deibel [[email protected]]
Sent: Thursday, July 07, 2016 11:20 AM
To: [email protected]
Subject: Re: [CODE4LIB] Hours on Library Websites?

Hi Matt,

Coincidentally enough, UW is currently looking at how to easily and centrally 
distribute hours information to our website (and potentially some other campus 
web apps). We're looking at LibCal but also considering rolling our own with 
some harvesting through the Alma Hours API. LibCal's REST API is still in 
development and has a limitations that we've noticed:

* Can only request times from today to the future. We'd have to cache older 
results if we wanted to display them

* Can only show up to one year in advance (we sometimes need to show a full 
schedule fro 15 months)

* Identifiers for locations and sublocations is an ID number, so you'd have to 
write a mapping if you want others to use it easily.

* Given our large number of libraries and sublocations within them, we'd really 
like to be able to set hours relative to the "containing" library.

We're still debating as you can guess, but the basic gist I've gotten is that 
if you want to use LibCal, you're going to probably write some intermediary 
JavaScript to make your life easier.

--

Kate Deibel, PhD | Web Applications Specialist
Information Technology Services
University of Washington Libraries
http://staff.washington.edu/deibel

--

"When Thor shows up, it's always deus ex machina."

-Original Message-
From: Code for Libraries [mailto:[email protected]] On Behalf Of Matt 
Sherman
Sent: Thursday, July 7, 2016 7:34 AM
To: [email protected]
Subject: [CODE4LIB] Hours on Library Websites?

Hi all,

We are working on a website migration/redesign into WordPress and I am trying 
to figure out an automated solution for posting and keeping up to date the 
hours on the home page.  I am wondering, how do other institutions manage this? 
 Are there any good tools I should be looking into?  Any insights or 
suggestions are appreciated.

Matt Sherman


Re: [CODE4LIB] Hours on Library Websites?

2016-07-07 Thread Katherine N. Deibel
Hi Matt,

Coincidentally enough, UW is currently looking at how to easily and centrally 
distribute hours information to our website (and potentially some other campus 
web apps). We're looking at LibCal but also considering rolling our own with 
some harvesting through the Alma Hours API. LibCal's REST API is still in 
development and has a limitations that we've noticed:

* Can only request times from today to the future. We'd have to cache older 
results if we wanted to display them

* Can only show up to one year in advance (we sometimes need to show a full 
schedule fro 15 months)

* Identifiers for locations and sublocations is an ID number, so you'd have to 
write a mapping if you want others to use it easily. 

* Given our large number of libraries and sublocations within them, we'd really 
like to be able to set hours relative to the "containing" library.

We're still debating as you can guess, but the basic gist I've gotten is that 
if you want to use LibCal, you're going to probably write some intermediary 
JavaScript to make your life easier.

-- 

Kate Deibel, PhD | Web Applications Specialist
Information Technology Services 
University of Washington Libraries 
http://staff.washington.edu/deibel

--

"When Thor shows up, it's always deus ex machina."

-Original Message-
From: Code for Libraries [mailto:[email protected]] On Behalf Of Matt 
Sherman
Sent: Thursday, July 7, 2016 7:34 AM
To: [email protected]
Subject: [CODE4LIB] Hours on Library Websites?

Hi all,

We are working on a website migration/redesign into WordPress and I am trying 
to figure out an automated solution for posting and keeping up to date the 
hours on the home page.  I am wondering, how do other institutions manage this? 
 Are there any good tools I should be looking into?  Any insights or 
suggestions are appreciated.

Matt Sherman


Re: [CODE4LIB] Hours on Library Websites?

2016-07-07 Thread Jesse Martinez
We also use LibCal to manage our library hours. We embed the calendar
widget in the main hours page: http://libguides.bc.edu/hours

I also created a small script that pulls from the LibCal API to create a
daily hours block for our page footer.

On Thu, Jul 7, 2016 at 10:46 AM, Tom Keays  wrote:

> We use LibCal's hours module to create calendars for our locations (just
> the one actually, but we use a sub-location to track when patrons need to
> swipe their card for evening entry). LibCal hours has a module that can be
> embedded to display a rolling monthly calendar.
>
> http://resources.library.lemoyne.edu/about/hours
>
> Because there isn't a similar module to display a weekly calendar, I had to
> roll my own using the JSONP output from the LibCal API. Here's a version of
> the code I wrote.
>
> http://codepen.io/tomkeays/pen/MYewYN?editors=001
>
>
>
> On Thu, Jul 7, 2016 at 10:33 AM, Matt Sherman 
> wrote:
>
> > Hi all,
> >
> > We are working on a website migration/redesign into WordPress and I am
> > trying to figure out an automated solution for posting and keeping up
> > to date the hours on the home page.  I am wondering, how do other
> > institutions manage this?  Are there any good tools I should be
> > looking into?  Any insights or suggestions are appreciated.
> >
> > Matt Sherman
> >
>



-- 
Jesse Martinez
Library Applications Developer
O'Neill Library, Boston College
[email protected]
617-552-2509


Re: [CODE4LIB] Hours on Library Websites?

2016-07-07 Thread Tom Keays
We use LibCal's hours module to create calendars for our locations (just
the one actually, but we use a sub-location to track when patrons need to
swipe their card for evening entry). LibCal hours has a module that can be
embedded to display a rolling monthly calendar.

http://resources.library.lemoyne.edu/about/hours

Because there isn't a similar module to display a weekly calendar, I had to
roll my own using the JSONP output from the LibCal API. Here's a version of
the code I wrote.

http://codepen.io/tomkeays/pen/MYewYN?editors=001



On Thu, Jul 7, 2016 at 10:33 AM, Matt Sherman 
wrote:

> Hi all,
>
> We are working on a website migration/redesign into WordPress and I am
> trying to figure out an automated solution for posting and keeping up
> to date the hours on the home page.  I am wondering, how do other
> institutions manage this?  Are there any good tools I should be
> looking into?  Any insights or suggestions are appreciated.
>
> Matt Sherman
>


Re: [CODE4LIB] Hours on Library Websites?

2016-07-07 Thread Cheryl Kohen
We use LibCal from SpringShare and used some CSS to customize the
look/feel:

Daily hours: http://library.daytonastate.edu/index
All hours: http://library.daytonastate.edu/about/hours

On Thu, Jul 7, 2016 at 10:33 AM, Matt Sherman 
wrote:

> Hi all,
>
> We are working on a website migration/redesign into WordPress and I am
> trying to figure out an automated solution for posting and keeping up
> to date the hours on the home page.  I am wondering, how do other
> institutions manage this?  Are there any good tools I should be
> looking into?  Any insights or suggestions are appreciated.
>
> Matt Sherman
>



-- 
Cheryl Kohen | Emerging Technology Librarian | Daytona State College