Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Jason Bengtson
Hi Ken,

I haven't done anything with a Google Places account, but your question
sort of ties together two projects of mine; one very old and one brand new.
A few years back I built a javascript open checker to display the rather
byzantine hours of the library I was working for at the time (hours I had
no hand in determining).  The javascript to get the job done has a number
of funneling algorithms that have to be edited with updated info. But,
that's where project number two comes in. I just recent built a tool (PHP
based) for the TMC Library which allows reference librarians to edit a
libguide by adding content and some settings which then automagically
populate as announcements in our EZProxy login page (so we reach basically
all of our users). This allows folks with no web coding knowledge to build
the announcements, as well as allowing them to set things like background
color and announcement position on the page, using an interface they're
already comfortable with. The announcements are expressed as javascript
files loaded into the EZProxy page with the usual script tag. The same
thing could certainly be done with some variation of my open checker,
vastly simplifying the process of modifying hours, holidays, etc.

If anyone is interested in project number two, we;ll be presenting a paper
on it at the next SCC/MLA annual conference and looking to publish it soon
after. So far the tool is working out pretty well.

Best regards,
*Jason Bengtson, MLIS, MA*
Innovation Architect


*Houston Academy of MedicineThe Texas Medical Center Library*
1133 John Freeman Blvd
Houston, TX   77030
http://library.tmc.edu/
www.jasonbengtson.com

On Wed, Jul 1, 2015 at 8:01 AM, Ken Irwin kir...@wittenberg.edu wrote:

 Hi folks,

 I'm hoping to find some sort of web-based app that can manage the
 library's hours of operations, including:

 * Displaying today's hours

 * Displaying an upcoming schedule of hours

 * Updatable though a GUI interface by non-techy library staff

 * Able to update our Google Places account hours (which, I note,
 currently lists our school-year hours as our open hours today), perhaps on
 a daily basis

 * Preferably a stand-alone thing that can provide data on an ad
 hoc basis (as opposed to a CMS-specific thing like a WP plugin or a Drupal
 module)

 * PHP preferred but not necessary

 * OSS / free preferred but not necessary

 I feel certain that someone else has already wanted this enough to create
 it. Anyone have a solution they're happy with?

 Thanks
 Ken



Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Joel Marchesoni
It's not free or open source and it won't update your Google Places account but 
we've just started using LibCal and are pretty happy with it so far. It's easy 
to update, has the capability for hours, events, and room scheduling, and a 
decent API. 

Joel Marchesoni
Tech Support Analyst
Hunter Library, Western Carolina University
http://library.wcu.edu/
828-227-2860



-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Ken 
Irwin
Sent: Wednesday, July 01, 2015 09:01
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] Hours of Operation on Website - management tool

Hi folks,

I'm hoping to find some sort of web-based app that can manage the library's 
hours of operations, including:

* Displaying today's hours

* Displaying an upcoming schedule of hours

* Updatable though a GUI interface by non-techy library staff

* Able to update our Google Places account hours (which, I note, 
currently lists our school-year hours as our open hours today), perhaps on a 
daily basis

* Preferably a stand-alone thing that can provide data on an ad hoc 
basis (as opposed to a CMS-specific thing like a WP plugin or a Drupal module)

* PHP preferred but not necessary

* OSS / free preferred but not necessary

I feel certain that someone else has already wanted this enough to create it. 
Anyone have a solution they're happy with?

Thanks
Ken


Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Ron Gilmour
Hi Ken,

The solution that we're using at Ithaca College Library meets some, but not
all, of your criteria. You can see the end result here
https://ithacalibrary.com/services/hours.php.

The ugly part is the back end, which is a hand-authored XML file that I
create a couple times a year based on what our circulation manager tells
me. I guess with a little instruction he could do it himself, but I haven't
gone there. I'm attaching a sample XML file in case you're interested. (PHP
fills in default values, so hours are only listed for days on which the
hours deviate from normal.)

We used to use a solution backed by Google Calendar, but that got all weird
when we started staying open overnight.

Let me know if you'd like more info.

Ron Gilmour
Web Services Librarian
Ithaca College Library


On Wed, Jul 1, 2015 at 9:01 AM, Ken Irwin kir...@wittenberg.edu wrote:

 Hi folks,

 I'm hoping to find some sort of web-based app that can manage the
 library's hours of operations, including:

 * Displaying today's hours

 * Displaying an upcoming schedule of hours

 * Updatable though a GUI interface by non-techy library staff

 * Able to update our Google Places account hours (which, I note,
 currently lists our school-year hours as our open hours today), perhaps on
 a daily basis

 * Preferably a stand-alone thing that can provide data on an ad
 hoc basis (as opposed to a CMS-specific thing like a WP plugin or a Drupal
 module)

 * PHP preferred but not necessary

 * OSS / free preferred but not necessary

 I feel certain that someone else has already wanted this enough to create
 it. Anyone have a solution they're happy with?

 Thanks
 Ken

?xml version=1.0?
hours xsi:noNamespaceSchemaLocation=libraryHours.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
	!-- July 2014 --
	day date=2014-07-017:30am - 9pm/day
	day date=2014-07-027:30am - 9pm/day
	day date=2014-07-037:30am - 9pm/day
	day date=2014-07-04Closed/day
	day date=2014-07-0510am - 6pm/day
	day date=2014-07-0610am - 6pm/day
	day date=2014-07-077:30am - 9pm/day
	day date=2014-07-087:30am - 9pm/day
	day date=2014-07-097:30am - 9pm/day
	day date=2014-07-107:30am - 9pm/day
	day date=2014-07-117:30am - 3pm/day
	day date=2014-07-1210am - 6pm/day
	day date=2014-07-1310am - 6pm/day
	day date=2014-07-147:30am - 9pm/day
	day date=2014-07-157:30am - 9pm/day
	day date=2014-07-167:30am - 9pm/day
	day date=2014-07-177:30am - 9pm/day
	day date=2014-07-187:30am - 3pm/day
	day date=2014-07-1910am - 6pm/day
	day date=2014-07-2010am - 6pm/day
	day date=2014-07-217:30am - 9pm/day
	day date=2014-07-227:30am - 9pm/day
	day date=2014-07-237:30am - 9pm/day
	day date=2014-07-247:30am - 9pm/day
	day date=2014-07-257:30am - 3pm/day
	day date=2014-07-2610am - 6pm/day
	day date=2014-07-2710am - 6pm/day
	day date=2014-07-287:30am - 9pm/day
	day date=2014-07-297:30am - 9pm/day
	day date=2014-07-307:30am - 9pm/day
	day date=2014-07-317:30am - 9pm/day
	!-- August 2014 --
	day date=2014-08-017:30am - 3pm/day
	day date=2014-08-0210am - 6pm/day
	day date=2014-08-0310am - 6pm/day
	day date=2014-08-047:30am - 9pm/day
	day date=2014-08-057:30am - 9pm/day
	day date=2014-08-067:30am - 9pm/day
	day date=2014-08-077:30am - 9pm/day
	day date=2014-08-087:30am - 3pm/day
	day date=2014-08-09Closed/day
	day date=2014-08-10Closed/day
	day date=2014-08-117:30am - 5pm/day
	day date=2014-08-127:30am - 5pm/day
	day date=2014-08-137:30am - 5pm/day
	day date=2014-08-147:30am - 5pm/day
	day date=2014-08-157:30am - 5pm/day
	day date=2014-08-16Closed/day
	day date=2014-08-17Closed/day
	day date=2014-08-187:30am - 5pm/day
	day date=2014-08-197:30am - 5pm/day
	day date=2014-08-207:30am - 5pm/day
	day date=2014-08-217:30am - 5pm/day
	day date=2014-08-227:30am - 5pm/day
	day date=2014-08-23Closed/day
	day date=2014-08-24Closed/day
	day date=2014-08-257:30am - 5pm/day
	day date=2014-08-267:30am - 5pm/day
	day date=2014-08-27/
	day date=2014-08-28/
	day date=2014-08-29/
	day date=2014-08-30/
	day date=2014-08-3110am - midnight/day
	!-- September 2014 --
	day date=2014-09-01Closed/day
	day date=2014-09-02/
	day date=2014-09-03/
	day date=2014-09-04/
	day date=2014-09-05/
	day date=2014-09-06/
	day date=2014-09-07/
	day date=2014-09-08/
	day date=2014-09-09/
	day date=2014-09-10/
	day date=2014-09-11/
	day date=2014-09-12/
	day date=2014-09-13/
	day date=2014-09-14/
	day date=2014-09-15/
	day date=2014-09-16/
	day date=2014-09-17/
	day date=2014-09-18/
	day date=2014-09-19/
	day date=2014-09-20/
	day date=2014-09-21/
	day date=2014-09-22/
	day date=2014-09-23/
	day date=2014-09-24/
	day date=2014-09-25/
	day date=2014-09-26/
	day date=2014-09-27/
	day date=2014-09-28/
	day date=2014-09-29/
	day date=2014-09-30/
	!-- October 2014 --
	day date=2014-10-01/
	day date=2014-10-02/
	day date=2014-10-03/
	day date=2014-10-04/
	day date=2014-10-05/
	day date=2014-10-06/
	day date=2014-10-07/
	day date=2014-10-08/
	day date=2014-10-09/
	day date=2014-10-10/
	day 

Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Laura Robbins
There is a free version of LibCal that we use at Dowling that allows
room scheduling and multiple calendars.  It's limited to 3 rooms, and
it may be limited to three calendars as well.  But, the interface is
pretty easy to use, and it will output the calendars as RSS feeds that
can can be customized for events or closings, etc.  We've been very
happy with it.

Laura Pope Robbins
Professor/Reference Librarian
Dowling College


 On Jul 1, 2015, at 9:42 AM, Joel Marchesoni jma...@email.wcu.edu wrote:

 It's not free or open source and it won't update your Google Places account 
 but we've just started using LibCal and are pretty happy with it so far. It's 
 easy to update, has the capability for hours, events, and room scheduling, 
 and a decent API.

 Joel Marchesoni
 Tech Support Analyst
 Hunter Library, Western Carolina University
 http://library.wcu.edu/
 828-227-2860



 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Ken 
 Irwin
 Sent: Wednesday, July 01, 2015 09:01
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: [CODE4LIB] Hours of Operation on Website - management tool

 Hi folks,

 I'm hoping to find some sort of web-based app that can manage the library's 
 hours of operations, including:

 * Displaying today's hours

 * Displaying an upcoming schedule of hours

 * Updatable though a GUI interface by non-techy library staff

 * Able to update our Google Places account hours (which, I note, 
 currently lists our school-year hours as our open hours today), perhaps on a 
 daily basis

 * Preferably a stand-alone thing that can provide data on an ad hoc 
 basis (as opposed to a CMS-specific thing like a WP plugin or a Drupal module)

 * PHP preferred but not necessary

 * OSS / free preferred but not necessary

 I feel certain that someone else has already wanted this enough to create it. 
 Anyone have a solution they're happy with?

 Thanks
 Ken


Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Joel Marchesoni
It's actually limited to one location, which is what the calendars and hours 
are tied to. But, it's free!

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Laura 
Robbins
Sent: Wednesday, July 01, 2015 10:11
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Hours of Operation on Website - management tool

There is a free version of LibCal that we use at Dowling that allows room 
scheduling and multiple calendars.  It's limited to 3 rooms, and it may be 
limited to three calendars as well.  But, the interface is pretty easy to use, 
and it will output the calendars as RSS feeds that can can be customized for 
events or closings, etc.  We've been very happy with it.

Laura Pope Robbins
Professor/Reference Librarian
Dowling College


 On Jul 1, 2015, at 9:42 AM, Joel Marchesoni jma...@email.wcu.edu wrote:

 It's not free or open source and it won't update your Google Places account 
 but we've just started using LibCal and are pretty happy with it so far. It's 
 easy to update, has the capability for hours, events, and room scheduling, 
 and a decent API.

 Joel Marchesoni
 Tech Support Analyst
 Hunter Library, Western Carolina University http://library.wcu.edu/
 828-227-2860



 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Ken 
 Irwin
 Sent: Wednesday, July 01, 2015 09:01
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: [CODE4LIB] Hours of Operation on Website - management tool

 Hi folks,

 I'm hoping to find some sort of web-based app that can manage the library's 
 hours of operations, including:

 * Displaying today's hours

 * Displaying an upcoming schedule of hours

 * Updatable though a GUI interface by non-techy library staff

 * Able to update our Google Places account hours (which, I note, 
 currently lists our school-year hours as our open hours today), perhaps on a 
 daily basis

 * Preferably a stand-alone thing that can provide data on an ad hoc 
 basis (as opposed to a CMS-specific thing like a WP plugin or a Drupal module)

 * PHP preferred but not necessary

 * OSS / free preferred but not necessary

 I feel certain that someone else has already wanted this enough to create it. 
 Anyone have a solution they're happy with?

 Thanks
 Ken


Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Jon Stroop

Most of the rough edges are around some of the one-time administrative actions 
like setting up new libraries, locations, and term schedules, although there’s 
also some UI improvements in our near future.


FWIW, we just just 'finished' a first pass at little Rails engine around 
managing location data:


https://github.com/pulibrary/locations

It, too, is a little rough around the edges (esp wrt views) and has some 
site-specific stuff, like a gazillion 'location codes' to make it work 
with existing systems...but that's sorta why we built it.


-Jon

--
Jon Stroop
Application Development Manager
Princeton University Library
jstr...@princeton.edu



On 07/01/2015 11:35 AM, Chris Beer wrote:

Hi Ken,

We’ve recently been working on rebuilding an application for managing our 
hours. It’s Ruby on Rails, not-yet-in-production, full of rough edges, and has 
some Stanford-specific business logic, but it’s relatively simple and 
(probably) works for us:

https://github.com/sul-dlss/library_hours_rails/releases/tag/v0.0.1 
https://github.com/sul-dlss/library_hours_rails/releases/tag/v0.0.1

Currently, it’s envisioned as a backend service for staff to add and manage 
hours, with downstream consumers using the API to present the hours as 
appropriate. Our initial consumers include the main library website, our 
library catalog, and some other business process applications. We’ve also 
started thinking about embeddable HTML views of the hours to replace some of 
the clunky processing we’re currently doing in Drupal, but haven’t pursued that 
yet.

Interesting features include:

- JSON-API view of a location’s hours; (what I assume is a bespoke..) Drupal 
calendar feed; import and export for spreadsheets of hours;
- multiple library (and location-within-a-library) support;
- granular access control for updating hours; we have the notion of global 
hours administrators, but expect to also support library- and location-specific 
authorization, allowing library managers to set and update the hours for a 
subset of our locations [1];
- support for setting operating hours for a term and/or exceptions for 
particular days (e.g. holidays and the like) using an in-place editor;
- we have a notion of location-specific messages associated with exceptions to 
the normal schedule (e.g. the Art library is closed this week for Y), which can 
be reflected in applications that consume the library hours

Most of the rough edges are around some of the one-time administrative actions 
like setting up new libraries, locations, and term schedules, although there’s 
also some UI improvements in our near future.


Thanks,
Chris Beer
Digital Library Systems and Services
Stanford University Libraries


[1] Although I’m more interested in allowing any staff member to update the 
hours, and provide better notifications when a location’s hours change; that 
said, strong access control is much easier to reason about and codify..


On Jul 1, 2015, at 6:01 AM, Ken Irwin kir...@wittenberg.edu wrote:

Hi folks,

I'm hoping to find some sort of web-based app that can manage the library's 
hours of operations, including:

* Displaying today's hours

* Displaying an upcoming schedule of hours

* Updatable though a GUI interface by non-techy library staff

* Able to update our Google Places account hours (which, I note, 
currently lists our school-year hours as our open hours today), perhaps on a 
daily basis

* Preferably a stand-alone thing that can provide data on an ad hoc 
basis (as opposed to a CMS-specific thing like a WP plugin or a Drupal module)

* PHP preferred but not necessary

* OSS / free preferred but not necessary

I feel certain that someone else has already wanted this enough to create it. 
Anyone have a solution they're happy with?

Thanks
Ken


Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Chris Beer
Hi Ken,

We’ve recently been working on rebuilding an application for managing our 
hours. It’s Ruby on Rails, not-yet-in-production, full of rough edges, and has 
some Stanford-specific business logic, but it’s relatively simple and 
(probably) works for us:

https://github.com/sul-dlss/library_hours_rails/releases/tag/v0.0.1 
https://github.com/sul-dlss/library_hours_rails/releases/tag/v0.0.1

Currently, it’s envisioned as a backend service for staff to add and manage 
hours, with downstream consumers using the API to present the hours as 
appropriate. Our initial consumers include the main library website, our 
library catalog, and some other business process applications. We’ve also 
started thinking about embeddable HTML views of the hours to replace some of 
the clunky processing we’re currently doing in Drupal, but haven’t pursued that 
yet.

Interesting features include:

- JSON-API view of a location’s hours; (what I assume is a bespoke..) Drupal 
calendar feed; import and export for spreadsheets of hours;  
- multiple library (and location-within-a-library) support;
- granular access control for updating hours; we have the notion of global 
hours administrators, but expect to also support library- and location-specific 
authorization, allowing library managers to set and update the hours for a 
subset of our locations [1];
- support for setting operating hours for a term and/or exceptions for 
particular days (e.g. holidays and the like) using an in-place editor;
- we have a notion of location-specific messages associated with exceptions to 
the normal schedule (e.g. the Art library is closed this week for Y), which can 
be reflected in applications that consume the library hours

Most of the rough edges are around some of the one-time administrative actions 
like setting up new libraries, locations, and term schedules, although there’s 
also some UI improvements in our near future. 


Thanks,
Chris Beer
Digital Library Systems and Services
Stanford University Libraries


[1] Although I’m more interested in allowing any staff member to update the 
hours, and provide better notifications when a location’s hours change; that 
said, strong access control is much easier to reason about and codify.. 

 On Jul 1, 2015, at 6:01 AM, Ken Irwin kir...@wittenberg.edu wrote:
 
 Hi folks,
 
 I'm hoping to find some sort of web-based app that can manage the library's 
 hours of operations, including:
 
 * Displaying today's hours
 
 * Displaying an upcoming schedule of hours
 
 * Updatable though a GUI interface by non-techy library staff
 
 * Able to update our Google Places account hours (which, I note, 
 currently lists our school-year hours as our open hours today), perhaps on a 
 daily basis
 
 * Preferably a stand-alone thing that can provide data on an ad hoc 
 basis (as opposed to a CMS-specific thing like a WP plugin or a Drupal module)
 
 * PHP preferred but not necessary
 
 * OSS / free preferred but not necessary
 
 I feel certain that someone else has already wanted this enough to create it. 
 Anyone have a solution they're happy with?
 
 Thanks
 Ken


Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Steve Segedy

Hi Ken,

We've recently completed a project to manage the hours of operation for 
the UNC Chapel Hill libraries. It's a Wordpress plugin because that 
suits our environment, but if that doesn't work for you, you might still 
be able to use the code. You can find it here:


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

You can see the public side of it in action here:

http://library.unc.edu/hours/

The map display is modeled on the UBC libraries Hours project, which we 
were using previously.


I'd be happy to answer any questions you might have about it.

Steve Segedy
Core Applications Development
UNC Chapel Hill Libraries

On 07/01/2015 04:16 PM, Ken Irwin wrote:

Thanks Ron,

Ithaca was actually already on my radar -- we're looking at moving to 
SubjectPlus to manage some of our library website, and some of our librarians 
have particularly looking at Ithaca's site for ideas.

So far, none of the suggestions folks have had quite match what I'm looking 
for, but your solution may have the advantage of being simpler than many of the 
others -- and written in a language I use.

Do you have some code you'd be willing to share for the hours tool?

Thanks
Ken

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Ron 
Gilmour
Sent: Wednesday, July 01, 2015 9:13 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Hours of Operation on Website - management tool

Hi Ken,

The solution that we're using at Ithaca College Library meets some, but not all, of 
your criteria. You can see the end result here 
https://ithacalibrary.com/services/hours.php.

The ugly part is the back end, which is a hand-authored XML file that I create 
a couple times a year based on what our circulation manager tells me. I guess 
with a little instruction he could do it himself, but I haven't gone there. I'm 
attaching a sample XML file in case you're interested. (PHP fills in default 
values, so hours are only listed for days on which the hours deviate from 
normal.)

We used to use a solution backed by Google Calendar, but that got all weird 
when we started staying open overnight.

Let me know if you'd like more info.

Ron Gilmour
Web Services Librarian
Ithaca College Library


On Wed, Jul 1, 2015 at 9:01 AM, Ken Irwin kir...@wittenberg.edu wrote:


Hi folks,

I'm hoping to find some sort of web-based app that can manage the
library's hours of operations, including:

* Displaying today's hours

* Displaying an upcoming schedule of hours

* Updatable though a GUI interface by non-techy library staff

* Able to update our Google Places account hours (which, I note,
currently lists our school-year hours as our open hours today),
perhaps on a daily basis

* Preferably a stand-alone thing that can provide data on an ad
hoc basis (as opposed to a CMS-specific thing like a WP plugin or a
Drupal
module)

* PHP preferred but not necessary

* OSS / free preferred but not necessary

I feel certain that someone else has already wanted this enough to
create it. Anyone have a solution they're happy with?

Thanks
Ken



Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Ken Irwin
Thanks Ron,

Ithaca was actually already on my radar -- we're looking at moving to 
SubjectPlus to manage some of our library website, and some of our librarians 
have particularly looking at Ithaca's site for ideas. 

So far, none of the suggestions folks have had quite match what I'm looking 
for, but your solution may have the advantage of being simpler than many of the 
others -- and written in a language I use. 

Do you have some code you'd be willing to share for the hours tool? 

Thanks
Ken

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Ron 
Gilmour
Sent: Wednesday, July 01, 2015 9:13 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Hours of Operation on Website - management tool

Hi Ken,

The solution that we're using at Ithaca College Library meets some, but not 
all, of your criteria. You can see the end result here 
https://ithacalibrary.com/services/hours.php.

The ugly part is the back end, which is a hand-authored XML file that I create 
a couple times a year based on what our circulation manager tells me. I guess 
with a little instruction he could do it himself, but I haven't gone there. I'm 
attaching a sample XML file in case you're interested. (PHP fills in default 
values, so hours are only listed for days on which the hours deviate from 
normal.)

We used to use a solution backed by Google Calendar, but that got all weird 
when we started staying open overnight.

Let me know if you'd like more info.

Ron Gilmour
Web Services Librarian
Ithaca College Library


On Wed, Jul 1, 2015 at 9:01 AM, Ken Irwin kir...@wittenberg.edu wrote:

 Hi folks,

 I'm hoping to find some sort of web-based app that can manage the 
 library's hours of operations, including:

 * Displaying today's hours

 * Displaying an upcoming schedule of hours

 * Updatable though a GUI interface by non-techy library staff

 * Able to update our Google Places account hours (which, I note,
 currently lists our school-year hours as our open hours today), 
 perhaps on a daily basis

 * Preferably a stand-alone thing that can provide data on an ad
 hoc basis (as opposed to a CMS-specific thing like a WP plugin or a 
 Drupal
 module)

 * PHP preferred but not necessary

 * OSS / free preferred but not necessary

 I feel certain that someone else has already wanted this enough to 
 create it. Anyone have a solution they're happy with?

 Thanks
 Ken



Re: [CODE4LIB] Hours of Operation on Website - management tool

2015-07-01 Thread Ian Walls
This sounds remarkably similar in feature-set to the Hours module I 
wrote for our CMS (Silverstripe) for our recent website upgrade.  We 
defined Academic Terms first (name, startdate, enddate), and then could 
associate Regular Hours (start time, end time and optional textual 
description for each of Sunday - Saturday) and Hours Exceptions with 
each term on a per-Location basis.  Locations can be nested within 
others, inheriting hours as needed.  iCal feeds are available for 
integration into the campus mobile portal, and clever use of the URL 
structure can get hours for all kinds of different time periods.


I'm currently reworking this a little, as Locations had originally been 
tied to Pages in the CMS, but this began to break as the website page 
hierarchy no longer matched the Location hours hierarchy.  Better to 
keep Locations as a separate data object, and just associate a Page with it.


Cheers,


-Ian

On 07/01/2015 11:35 AM, Chris Beer wrote:

Hi Ken,

We’ve recently been working on rebuilding an application for managing our 
hours. It’s Ruby on Rails, not-yet-in-production, full of rough edges, and has 
some Stanford-specific business logic, but it’s relatively simple and 
(probably) works for us:

https://github.com/sul-dlss/library_hours_rails/releases/tag/v0.0.1 
https://github.com/sul-dlss/library_hours_rails/releases/tag/v0.0.1

Currently, it’s envisioned as a backend service for staff to add and manage 
hours, with downstream consumers using the API to present the hours as 
appropriate. Our initial consumers include the main library website, our 
library catalog, and some other business process applications. We’ve also 
started thinking about embeddable HTML views of the hours to replace some of 
the clunky processing we’re currently doing in Drupal, but haven’t pursued that 
yet.

Interesting features include:

- JSON-API view of a location’s hours; (what I assume is a bespoke..) Drupal 
calendar feed; import and export for spreadsheets of hours;
- multiple library (and location-within-a-library) support;
- granular access control for updating hours; we have the notion of global 
hours administrators, but expect to also support library- and location-specific 
authorization, allowing library managers to set and update the hours for a 
subset of our locations [1];
- support for setting operating hours for a term and/or exceptions for 
particular days (e.g. holidays and the like) using an in-place editor;
- we have a notion of location-specific messages associated with exceptions to 
the normal schedule (e.g. the Art library is closed this week for Y), which can 
be reflected in applications that consume the library hours

Most of the rough edges are around some of the one-time administrative actions 
like setting up new libraries, locations, and term schedules, although there’s 
also some UI improvements in our near future.


Thanks,
Chris Beer
Digital Library Systems and Services
Stanford University Libraries


[1] Although I’m more interested in allowing any staff member to update the 
hours, and provide better notifications when a location’s hours change; that 
said, strong access control is much easier to reason about and codify..


On Jul 1, 2015, at 6:01 AM, Ken Irwin kir...@wittenberg.edu wrote:

Hi folks,

I'm hoping to find some sort of web-based app that can manage the library's 
hours of operations, including:

* Displaying today's hours

* Displaying an upcoming schedule of hours

* Updatable though a GUI interface by non-techy library staff

* Able to update our Google Places account hours (which, I note, 
currently lists our school-year hours as our open hours today), perhaps on a 
daily basis

* Preferably a stand-alone thing that can provide data on an ad hoc 
basis (as opposed to a CMS-specific thing like a WP plugin or a Drupal module)

* PHP preferred but not necessary

* OSS / free preferred but not necessary

I feel certain that someone else has already wanted this enough to create it. 
Anyone have a solution they're happy with?

Thanks
Ken