Re: [CODE4LIB] Library Hours

2015-05-07 Thread davesgonechina
I contacted the group behind the Indiegogo campaign on Twitter:

https://twitter.com/davesgonechina/status/596148115465371649


   1.
  1.   *Caravan Studios* ‏@*caravanstudios*
  https://twitter.com/caravanstudios May 2
  https://twitter.com/caravanstudios/status/594226589631533056

  Help us raise $10K to put #*libraries*
  https://twitter.com/hashtag/libraries?src=hash locations  hours in
  #*Rangeapp* https://twitter.com/hashtag/Rangeapp?src=hash  help
  youth find free #*summermeals*
  https://twitter.com/hashtag/summermeals?src=hash  #*safeplaces*
  https://twitter.com/hashtag/safeplaces?src=hash http://
  bit.ly/rangecampaign  http://t.co/Pq9Nmi8nQT
 https://twitter.com/caravanstudios/status/594226589631533056  11
  retweets   8 favorites
 1.

*davesgonechina* ‏@*davesgonechina*
   https://twitter.com/davesgonechina

   @*caravanstudios* https://twitter.com/caravanstudios also, library
   hours change often, budgets get cut. Is $10K enuff 2 run regular scrapes
   for years, or is this a one-off?
 0 retweets   0 favorites
  11:02 AM - 7 May 2015
Tweet text
   Reply to @caravanstudios https://twitter.com/caravanstudios

  1.*Caravan Studios* ‏@*caravanstudios*
  https://twitter.com/caravanstudios 7h7 hours ago
  https://twitter.com/caravanstudios/status/596400357242077184

  .@*davesgonechina* https://twitter.com/davesgonechina this is a one
  time push for this summer. We'll open up the system so librarians can
  update their own data next year.
 https://twitter.com/caravanstudios/status/596400357242077184  1
  retweet   0 favorites
 2.

   3.   *davesgonechina* ‏@*davesgonechina*
   https://twitter.com/davesgonechina 3h3 hours ago
   https://twitter.com/davesgonechina/status/596461555710955520

   @*caravanstudios* https://twitter.com/caravanstudios that presumes
   librarians have the bandwidth/inclination to update ur $10K DB. Just sayin.
  https://twitter.com/davesgonechina/status/596461555710955520  0
   retweets   1 favorite



On Thu, May 7, 2015 at 1:33 AM, Dan Scott deni...@gmail.com wrote:

 On Wed, May 6, 2015 at 8:15 AM, Ethan Gruber ewg4x...@gmail.com wrote:

  +1 on the RDFa and schema.org. For those that don't know the library URL
  off-hand, it is much easier to find a library website by Googling than it
  is to go through the central university portal, and the hours will show
 up
  at the top of the page after having been harvested by search engines.


 Hi, so this is an area that I've done, and am doing, a fair bit of work.
 See http://stuff.coffeecode.net/2015/ola_white_hat_seo/#/1/10 for some fun
 slides from a presentation I gave in January at the Ontario Library
 Association SuperConference that show some ways data gets into
 Google/Yahoo/Bing and concludes that the OCLC Registry manually maintain
 yet another copy of your data elsewhere approach isn't working. (Hit s
 to get speaker notes).

 The rest of the presentation goes into depth on how to use RDFa to mark up
 a real library web page with location, contact info, opening hours, and
 event info. And I've posited that crawling library sites to pull
 single-sourced data (e.g. you update your website to provide updated hours
 to humans, and the machines automatically benefit) would be a much more
 effective, accurate, and usable approach than maintaining copies of the
 data in Google+, OCLC Registry, etc. We could produce results like
 http://cwrc.ca/rsc-src/ that stay accurate, rather than being one-off
 efforts that decay over time. (It would be great if the OCLC Registry had a
 crawl this URL option so that it could keep all of its data up-to-date
 and incentive libraries to publish the data in a machine-readable format
 such as RDFa + schema.org.)

 On the but that's technically challenging front, I tried pursuing some
 grant funding to produce templates for publishing that structured info in
 Drupal, Joomla, and other commonly used CMSs. Sadly, my application was
 recently denied, but that will only slow me down; I'm not going to give up
 on the goal. I have a paper in the works that will expand on the content of
 the presentation for those sites that have the ability (technical and
 administrative) to modify their own web pages.

 Sites running the Evergreen library system already generate a page for each
 of their libraries that contains this structured data (e.g.
 https://laurentian.concat.ca/eg/opac/library/OSUL), which is single
 sourced
 from the data that has to be maintained in the library system anyway.

 I'll happily acknowledge that getting search engines to harvest the right
 data is not easy, though: right now, for example, if you search for J.N.
 Desmarais Library it currently shows that the library is open 24 hours a
 day, which is completely false--probably maliciously
 submitted--information. *sigh* I've edited that info in the Google+ page 

Re: [CODE4LIB] Library Hours

2015-05-06 Thread Charlie Morris
  404-235-7138
  tmcca...@georgialibraries.org
 
 
  - Original Message -
  From: Peter Murray jes...@dltj.org
  To: CODE4LIB@LISTSERV.ND.EDU
  Sent: Tuesday, May 5, 2015 4:36:56 PM
  Subject: Re: [CODE4LIB] Library Hours
 
  OCLC has an institutional registry [1], which had (in part) library
  hours,
  addresses, and so forth.  It seems to be unavailable, though [2].  That
  is
  the only systematic collection of library hours data that I know about.
 
 
  Peter
 
  [1] https://www.oclc.org/worldcat-registry.en.html
  [2] https://www.worldcat.org/registry/institution/
 
   On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
 
  wrote:
 
  This looks like a decent group, but I find this statement hard to
 
  believe.
 
  Your tax-deductible donation supports adding the names, address and
 the
 
  hours of operation of all libraries to Range. The Institute of Museum
 and
  Library Services publishes an open data catalog which is the source
 we'll
  use for the names and the addresses of the nation's libraries. However,
  there isn't a listing of the days and hours of operation for all
  libraries
  in the US. We are going to track down the hours of operation for all
  17,000
  libraries and make that information available -- in Range and for other
  developers who may want to use it.
 
 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth
 
  Are the hours of public libraries really not available?
 
  Sincerely,
  David Bigwood
  dbigw...@gmail.commailto:dbigw...@gmail.com
  Lunar and Planetary Institute
  @LPI_Library
  https://www.flickr.com/photos/lunarandplanetaryinstitute/
 
 
 
 
  --
  Karen Coyle
  kco...@kcoyle.net http://kcoyle.net
  m: +1-510-435-8234
  skype: kcoylenet/+1-510-984-3600
 



Re: [CODE4LIB] Library Hours

2015-05-06 Thread Ethan Gruber
+1 on the RDFa and schema.org. For those that don't know the library URL
off-hand, it is much easier to find a library website by Googling than it
is to go through the central university portal, and the hours will show up
at the top of the page after having been harvested by search engines.

On Tue, May 5, 2015 at 6:54 PM, Karen Coyle li...@kcoyle.net wrote:

 Note that library hours is one of the possible bits of information that
 could be encoded as RDFa in the library web site, thus making it possible
 to derive library hours directly from the listing of hours on the web site
 rather than keeping a separate list. Schema.org does have the elements such
 that hours can be encoded. This would mean that hours could show in the
 display of the library's catalog entry on Google, Yahoo and Bing. Being
 available directly through the search engines might be sufficient, not
 necessitating creating yet-another-database for that data.

 Schema.org uses a restaurant as its opening hours example, but much of the
 data would be the same for a library:

 div vocab=http://schema.org/; typeof=Restaurant
   span property=nameGreatFood/span
   div property=aggregateRating  typeof=AggregateRating
 span property=ratingValue4/span stars -
 based on span property=reviewCount250/span reviews
   /div
   div property=address  typeof=PostalAddress
 span property=streetAddress1901 Lemur Ave/span
 span property=addressLocalitySunnyvale/span,
 span property=addressRegionCA/span span
 property=postalCode94086/span
   /div
   span property=telephone(408) 714-1489/span
   a property=url href=http://www.dishdash.com;www.greatfood.com/a
   Hours:
   meta property=openingHours content=Mo-Sa 11:00-14:30Mon-Sat 11am -
 2:30pm
   meta property=openingHours content=Mo-Th 17:00-21:30Mon-Thu 5pm -
 9:30pm
   meta property=openingHours content=Fr-Sa 17:00-22:00Fri-Sat 5pm -
 10:00pm
   Categories:
   span property=servesCuisine
 Middle Eastern
   /span,
   span property=servesCuisine
 Mediterranean
   /span
   Price Range: span property=priceRange$$/span
   Takes Reservations: Yes
 /div

 It seems to me that using schema.org would get more bang for the buck --
 it would get into the search engines and could also be aggregated into
 whatever database is needed. As we've seen with OCLC, having a separate
 listing is likely to mean that the data will be out of date.

 kc

 On 5/5/15 2:19 PM, nitin arora wrote:

 I can't see they distinguished between public libraries and other types on
 their campaign page.

 They say  all libraries as far as I can see.
 So I suppose then that this is true for all libraries:
 Libraries offer a space anyone can enter, where money isn't exchanged,
 and
 documentation doesn't have to be shown.
 Who knew fines and library/student-IDs were a thing of the past?

 The only data sets I can find where they got the 17,000 number is for
 public libraries:
 http://www.imls.gov/research/pls_data_files.aspx
 Maybe I missed something.
 There is an hours field on one of the CSVs I downloaded, etc for 2012 data
 (the most recent I could find).

 Asking 10k for something targeted for completion in June and without a
 grasp on what types of libraries there are and how volatile the hours
 information is (especially in crisis) ...
 Sounds naive at best, sketchy at worst.

 The flexible funding button says this campaign will receive all funds
 raised even if it does not reach its goals.

 The value of these places for youth cannot be underestimated.
 So is the value of a quick buck ...

 On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
 tmcca...@georgialibraries.org wrote:

  I'm not at all surprised that this doesn't already exist, and even if
 OCLC's was available, I'd be willing to bet it was out of date.

 Public library hours, especially in underfunded areas, may fluctuate
 depending on funding cycles, seasons (whether school is in or out), etc.,
 not to mention closing/reopening/moving because of old buildings that
 need
 to be updated. We have around 280 locations in our consortium and we have
 to rely on self-reporting to find out if their hours change. We certainly
 don't have staff time to check every one of their web sites on regular
 basis, I can't imagine keeping track of 17,000!


 Terran McCanna
 PINES Program Manager
 Georgia Public Library Service
 1800 Century Place, Suite 150
 Atlanta, GA 30345
 404-235-7138
 tmcca...@georgialibraries.org


 - Original Message -
 From: Peter Murray jes...@dltj.org
 To: CODE4LIB@LISTSERV.ND.EDU
 Sent: Tuesday, May 5, 2015 4:36:56 PM
 Subject: Re: [CODE4LIB] Library Hours

 OCLC has an institutional registry [1], which had (in part) library
 hours,
 addresses, and so forth.  It seems to be unavailable, though [2].  That
 is
 the only systematic collection of library hours data that I know about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

  On May 5, 2015, at 4:16 PM, Bigwood

Re: [CODE4LIB] Library Hours

2015-05-06 Thread Karen Coyle
information is (especially in crisis) ...
Sounds naive at best, sketchy at worst.

The flexible funding button says this campaign will receive all funds
raised even if it does not reach its goals.

The value of these places for youth cannot be underestimated.
So is the value of a quick buck ...

On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
tmcca...@georgialibraries.org wrote:

  I'm not at all surprised that this doesn't already exist, and even if

OCLC's was available, I'd be willing to bet it was out of date.

Public library hours, especially in underfunded areas, may fluctuate
depending on funding cycles, seasons (whether school is in or out),

etc.,

not to mention closing/reopening/moving because of old buildings that
need
to be updated. We have around 280 locations in our consortium and we

have

to rely on self-reporting to find out if their hours change. We

certainly

don't have staff time to check every one of their web sites on regular
basis, I can't imagine keeping track of 17,000!


Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


- Original Message -
From: Peter Murray jes...@dltj.org
To: CODE4LIB@LISTSERV.ND.EDU
Sent: Tuesday, May 5, 2015 4:36:56 PM
Subject: Re: [CODE4LIB] Library Hours

OCLC has an institutional registry [1], which had (in part) library
hours,
addresses, and so forth.  It seems to be unavailable, though [2].  That
is
the only systematic collection of library hours data that I know about.


Peter

[1] https://www.oclc.org/worldcat-registry.en.html
[2] https://www.worldcat.org/registry/institution/

  On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
wrote:


This looks like a decent group, but I find this statement hard to


believe.


Your tax-deductible donation supports adding the names, address and

the

hours of operation of all libraries to Range. The Institute of Museum

and

Library Services publishes an open data catalog which is the source

we'll

use for the names and the addresses of the nation's libraries. However,
there isn't a listing of the days and hours of operation for all
libraries
in the US. We are going to track down the hours of operation for all
17,000
libraries and make that information available -- in Range and for other
developers who may want to use it.


https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth

Are the hours of public libraries really not available?

Sincerely,
David Bigwood
dbigw...@gmail.commailto:dbigw...@gmail.com
Lunar and Planetary Institute
@LPI_Library
https://www.flickr.com/photos/lunarandplanetaryinstitute/




--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600



--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600


Re: [CODE4LIB] Library Hours

2015-05-06 Thread Tajoli Zeno

Hi

Open today · 9:00 am – 8:00 pm javascript:void(0)
 but I have no idea where that comes from.


probably because the web page http://sfpl.org/index.php?pg=010101
insert library hours inside

div id=library-hours /div

Bye
Zeno Tajoli

--
Dr. Zeno Tajoli
Servizi Innovativi -- Automazione Biblioteche
z.taj...@cineca.it
fax +39 02 2135520
CINECA - Sede operativa di Segrate


Re: [CODE4LIB] Library Hours

2015-05-06 Thread Karen Coyle
 it was out of date.

Public library hours, especially in underfunded areas, may fluctuate
depending on funding cycles, seasons (whether school is in or out),

etc.,

not to mention closing/reopening/moving because of old buildings that
need
to be updated. We have around 280 locations in our consortium and we

have

to rely on self-reporting to find out if their hours change. We

certainly

don't have staff time to check every one of their web sites on

regular

basis, I can't imagine keeping track of 17,000!


Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


- Original Message -
From: Peter Murray jes...@dltj.org
To: CODE4LIB@LISTSERV.ND.EDU
Sent: Tuesday, May 5, 2015 4:36:56 PM
Subject: Re: [CODE4LIB] Library Hours

OCLC has an institutional registry [1], which had (in part) library
hours,
addresses, and so forth.  It seems to be unavailable, though [2].

That

is
the only systematic collection of library hours data that I know

about.


Peter

[1] https://www.oclc.org/worldcat-registry.en.html
[2] https://www.worldcat.org/registry/institution/

  On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
wrote:


This looks like a decent group, but I find this statement hard to


believe.


Your tax-deductible donation supports adding the names, address and

the

hours of operation of all libraries to Range. The Institute of Museum

and

Library Services publishes an open data catalog which is the source

we'll

use for the names and the addresses of the nation's libraries.

However,

there isn't a listing of the days and hours of operation for all
libraries
in the US. We are going to track down the hours of operation for all
17,000
libraries and make that information available -- in Range and for

other

developers who may want to use it.


https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth

Are the hours of public libraries really not available?

Sincerely,
David Bigwood
dbigw...@gmail.commailto:dbigw...@gmail.com
Lunar and Planetary Institute
@LPI_Library
https://www.flickr.com/photos/lunarandplanetaryinstitute/




--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600






--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600


Re: [CODE4LIB] Library Hours

2015-05-06 Thread nitin arora
 was available, I'd be willing to bet it was out of date.
  
   Public library hours, especially in underfunded areas, may fluctuate
   depending on funding cycles, seasons (whether school is in or out),
  etc.,
   not to mention closing/reopening/moving because of old buildings that
   need
   to be updated. We have around 280 locations in our consortium and we
  have
   to rely on self-reporting to find out if their hours change. We
  certainly
   don't have staff time to check every one of their web sites on
 regular
   basis, I can't imagine keeping track of 17,000!
  
  
   Terran McCanna
   PINES Program Manager
   Georgia Public Library Service
   1800 Century Place, Suite 150
   Atlanta, GA 30345
   404-235-7138
   tmcca...@georgialibraries.org
  
  
   - Original Message -
   From: Peter Murray jes...@dltj.org
   To: CODE4LIB@LISTSERV.ND.EDU
   Sent: Tuesday, May 5, 2015 4:36:56 PM
   Subject: Re: [CODE4LIB] Library Hours
  
   OCLC has an institutional registry [1], which had (in part) library
   hours,
   addresses, and so forth.  It seems to be unavailable, though [2].
 That
   is
   the only systematic collection of library hours data that I know
 about.
  
  
   Peter
  
   [1] https://www.oclc.org/worldcat-registry.en.html
   [2] https://www.worldcat.org/registry/institution/
  
On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
  
   wrote:
  
   This looks like a decent group, but I find this statement hard to
  
   believe.
  
   Your tax-deductible donation supports adding the names, address and
  the
  
   hours of operation of all libraries to Range. The Institute of Museum
  and
   Library Services publishes an open data catalog which is the source
  we'll
   use for the names and the addresses of the nation's libraries.
 However,
   there isn't a listing of the days and hours of operation for all
   libraries
   in the US. We are going to track down the hours of operation for all
   17,000
   libraries and make that information available -- in Range and for
 other
   developers who may want to use it.
  
  https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth
  
   Are the hours of public libraries really not available?
  
   Sincerely,
   David Bigwood
   dbigw...@gmail.commailto:dbigw...@gmail.com
   Lunar and Planetary Institute
   @LPI_Library
   https://www.flickr.com/photos/lunarandplanetaryinstitute/
  
  
  
  
   --
   Karen Coyle
   kco...@kcoyle.net http://kcoyle.net
   m: +1-510-435-8234
   skype: kcoylenet/+1-510-984-3600
  
 




-- 
Nitin Arora
nitaro74 (at) gmail (dot) com
Hope always, expect never.

humaneguitarist.org
blog.humaneguitarist.org


Re: [CODE4LIB] Library Hours

2015-05-06 Thread Tom Keays
 that using schema.org would get more bang for the buck
 --
 it would get into the search engines and could also be aggregated into
 whatever database is needed. As we've seen with OCLC, having a separate
 listing is likely to mean that the data will be out of date.

 kc

 On 5/5/15 2:19 PM, nitin arora wrote:

  I can't see they distinguished between public libraries and other types

 on

 their campaign page.

 They say  all libraries as far as I can see.
 So I suppose then that this is true for all libraries:
 Libraries offer a space anyone can enter, where money isn't exchanged,
 and
 documentation doesn't have to be shown.
 Who knew fines and library/student-IDs were a thing of the past?

 The only data sets I can find where they got the 17,000 number is for
 public libraries:
 http://www.imls.gov/research/pls_data_files.aspx
 Maybe I missed something.
 There is an hours field on one of the CSVs I downloaded, etc for 2012

 data

 (the most recent I could find).

 Asking 10k for something targeted for completion in June and without a
 grasp on what types of libraries there are and how volatile the hours
 information is (especially in crisis) ...
 Sounds naive at best, sketchy at worst.

 The flexible funding button says this campaign will receive all
 funds
 raised even if it does not reach its goals.

 The value of these places for youth cannot be underestimated.
 So is the value of a quick buck ...

 On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
 tmcca...@georgialibraries.org wrote:

   I'm not at all surprised that this doesn't already exist, and even if

 OCLC's was available, I'd be willing to bet it was out of date.

 Public library hours, especially in underfunded areas, may fluctuate
 depending on funding cycles, seasons (whether school is in or out),

 etc.,

 not to mention closing/reopening/moving because of old buildings that
 need
 to be updated. We have around 280 locations in our consortium and we

 have

 to rely on self-reporting to find out if their hours change. We

 certainly

 don't have staff time to check every one of their web sites on regular
 basis, I can't imagine keeping track of 17,000!


 Terran McCanna
 PINES Program Manager
 Georgia Public Library Service
 1800 Century Place, Suite 150
 Atlanta, GA 30345
 404-235-7138
 tmcca...@georgialibraries.org


 - Original Message -
 From: Peter Murray jes...@dltj.org
 To: CODE4LIB@LISTSERV.ND.EDU
 Sent: Tuesday, May 5, 2015 4:36:56 PM
 Subject: Re: [CODE4LIB] Library Hours

 OCLC has an institutional registry [1], which had (in part) library
 hours,
 addresses, and so forth.  It seems to be unavailable, though [2].
 That
 is
 the only systematic collection of library hours data that I know
 about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

   On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
 wrote:

  This looks like a decent group, but I find this statement hard to

  believe.

  Your tax-deductible donation supports adding the names, address and

 the

 hours of operation of all libraries to Range. The Institute of Museum

 and

 Library Services publishes an open data catalog which is the source

 we'll

 use for the names and the addresses of the nation's libraries. However,
 there isn't a listing of the days and hours of operation for all
 libraries
 in the US. We are going to track down the hours of operation for all
 17,000
 libraries and make that information available -- in Range and for
 other
 developers who may want to use it.


 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth

 Are the hours of public libraries really not available?

 Sincerely,
 David Bigwood
 dbigw...@gmail.commailto:dbigw...@gmail.com
 Lunar and Planetary Institute
 @LPI_Library
 https://www.flickr.com/photos/lunarandplanetaryinstitute/


  --
 Karen Coyle
 kco...@kcoyle.net http://kcoyle.net
 m: +1-510-435-8234
 skype: kcoylenet/+1-510-984-3600


 --
 Karen Coyle
 kco...@kcoyle.net http://kcoyle.net
 m: +1-510-435-8234
 skype: kcoylenet/+1-510-984-3600



Re: [CODE4LIB] Library Hours

2015-05-06 Thread Karen Coyle
Right, but I don't think that meets any particular standard, which means 
that Google is doing a lot of text analysis when it indexes pages, 
looking for a pattern that looks like opening hours. That takes more 
cycles than having it all neatly wrapped in some known RDFa.


kc

On 5/6/15 6:54 AM, Tajoli Zeno wrote:

Hi

Open today · 9:00 am – 8:00 pm javascript:void(0)
 but I have no idea where that comes from.


probably because the web page http://sfpl.org/index.php?pg=010101
insert library hours inside

div id=library-hours /div

Bye
Zeno Tajoli



--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600


Re: [CODE4LIB] Library Hours

2015-05-06 Thread Richard Wallis
 doesn't have to be shown.
 Who knew fines and library/student-IDs were a thing of the past?

 The only data sets I can find where they got the 17,000 number is for
 public libraries:
 http://www.imls.gov/research/pls_data_files.aspx
 Maybe I missed something.
 There is an hours field on one of the CSVs I downloaded, etc for 2012

 data

 (the most recent I could find).

 Asking 10k for something targeted for completion in June and without a
 grasp on what types of libraries there are and how volatile the hours
 information is (especially in crisis) ...
 Sounds naive at best, sketchy at worst.

 The flexible funding button says this campaign will receive all

 funds

 raised even if it does not reach its goals.

 The value of these places for youth cannot be underestimated.
 So is the value of a quick buck ...

 On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
 tmcca...@georgialibraries.org wrote:

   I'm not at all surprised that this doesn't already exist, and even
 if

 OCLC's was available, I'd be willing to bet it was out of date.

 Public library hours, especially in underfunded areas, may fluctuate
 depending on funding cycles, seasons (whether school is in or out),

 etc.,

 not to mention closing/reopening/moving because of old buildings that
 need
 to be updated. We have around 280 locations in our consortium and we

 have

 to rely on self-reporting to find out if their hours change. We

 certainly

 don't have staff time to check every one of their web sites on

 regular

 basis, I can't imagine keeping track of 17,000!


 Terran McCanna
 PINES Program Manager
 Georgia Public Library Service
 1800 Century Place, Suite 150
 Atlanta, GA 30345
 404-235-7138
 tmcca...@georgialibraries.org


 - Original Message -
 From: Peter Murray jes...@dltj.org
 To: CODE4LIB@LISTSERV.ND.EDU
 Sent: Tuesday, May 5, 2015 4:36:56 PM
 Subject: Re: [CODE4LIB] Library Hours

 OCLC has an institutional registry [1], which had (in part) library
 hours,
 addresses, and so forth.  It seems to be unavailable, though [2].

 That

 is
 the only systematic collection of library hours data that I know

 about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

   On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
 wrote:

  This looks like a decent group, but I find this statement hard to

  believe.

  Your tax-deductible donation supports adding the names, address and

 the

 hours of operation of all libraries to Range. The Institute of Museum

 and

 Library Services publishes an open data catalog which is the source

 we'll

 use for the names and the addresses of the nation's libraries.

 However,

 there isn't a listing of the days and hours of operation for all
 libraries
 in the US. We are going to track down the hours of operation for all
 17,000
 libraries and make that information available -- in Range and for

 other

 developers who may want to use it.


 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth

 Are the hours of public libraries really not available?

 Sincerely,
 David Bigwood
 dbigw...@gmail.commailto:dbigw...@gmail.com
 Lunar and Planetary Institute
 @LPI_Library
 https://www.flickr.com/photos/lunarandplanetaryinstitute/


  --
 Karen Coyle
 kco...@kcoyle.net http://kcoyle.net
 m: +1-510-435-8234
 skype: kcoylenet/+1-510-984-3600




 --
 Karen Coyle
 kco...@kcoyle.net http://kcoyle.net
 m: +1-510-435-8234
 skype: kcoylenet/+1-510-984-3600




-- 
Richard Wallis
Founder, Data Liberate
http://dataliberate.com
Tel: +44 (0)7767 886 005

Linkedin: http://www.linkedin.com/in/richardwallis
Skype: richard.wallis1
Twitter: @rjw


Re: [CODE4LIB] Library Hours

2015-05-06 Thread Megan O'Neill Kudzia
 entry on Google, Yahoo and Bing.
 Being
 available directly through the search engines might be sufficient, not
 necessitating creating yet-another-database for that data.

 Schema.org uses a restaurant as its opening hours example, but much of

  the

  data would be the same for a library:

 div vocab=http://schema.org/; typeof=Restaurant
 span property=nameGreatFood/span
 div property=aggregateRating  typeof=AggregateRating
   span property=ratingValue4/span stars -
   based on span property=reviewCount250/span reviews
 /div
 div property=address  typeof=PostalAddress
   span property=streetAddress1901 Lemur Ave/span
   span property=addressLocalitySunnyvale/span,
   span property=addressRegionCA/span span
 property=postalCode94086/span
 /div
 span property=telephone(408) 714-1489/span
 a property=url href=http://www.dishdash.com;
 www.greatfood.com
 /a
 Hours:
 meta property=openingHours content=Mo-Sa 11:00-14:30Mon-Sat
 11am

  -

  2:30pm
 meta property=openingHours content=Mo-Th 17:00-21:30Mon-Thu
 5pm -
 9:30pm
 meta property=openingHours content=Fr-Sa 17:00-22:00Fri-Sat
 5pm -
 10:00pm
 Categories:
 span property=servesCuisine
   Middle Eastern
 /span,
 span property=servesCuisine
   Mediterranean
 /span
 Price Range: span property=priceRange$$/span
 Takes Reservations: Yes
 /div

 It seems to me that using schema.org would get more bang for the buck
 --
 it would get into the search engines and could also be aggregated into
 whatever database is needed. As we've seen with OCLC, having a
 separate
 listing is likely to mean that the data will be out of date.

 kc

 On 5/5/15 2:19 PM, nitin arora wrote:

   I can't see they distinguished between public libraries and other
 types
 on
 their campaign page.

 They say  all libraries as far as I can see.
 So I suppose then that this is true for all libraries:
 Libraries offer a space anyone can enter, where money isn't
 exchanged,
 and
 documentation doesn't have to be shown.
 Who knew fines and library/student-IDs were a thing of the past?

 The only data sets I can find where they got the 17,000 number is for
 public libraries:
 http://www.imls.gov/research/pls_data_files.aspx
 Maybe I missed something.
 There is an hours field on one of the CSVs I downloaded, etc for 2012

  data
 (the most recent I could find).

 Asking 10k for something targeted for completion in June and without
 a
 grasp on what types of libraries there are and how volatile the hours
 information is (especially in crisis) ...
 Sounds naive at best, sketchy at worst.

 The flexible funding button says this campaign will receive all
 funds
 raised even if it does not reach its goals.

 The value of these places for youth cannot be underestimated.
 So is the value of a quick buck ...

 On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
 tmcca...@georgialibraries.org wrote:

I'm not at all surprised that this doesn't already exist, and
 even if

  OCLC's was available, I'd be willing to bet it was out of date.

 Public library hours, especially in underfunded areas, may fluctuate
 depending on funding cycles, seasons (whether school is in or out),

  etc.,

 not to mention closing/reopening/moving because of old buildings that

 need
 to be updated. We have around 280 locations in our consortium and we

  have

 to rely on self-reporting to find out if their hours change. We

 certainly

 don't have staff time to check every one of their web sites on regular

 basis, I can't imagine keeping track of 17,000!


 Terran McCanna
 PINES Program Manager
 Georgia Public Library Service
 1800 Century Place, Suite 150
 Atlanta, GA 30345
 404-235-7138
 tmcca...@georgialibraries.org


 - Original Message -
 From: Peter Murray jes...@dltj.org
 To: CODE4LIB@LISTSERV.ND.EDU
 Sent: Tuesday, May 5, 2015 4:36:56 PM
 Subject: Re: [CODE4LIB] Library Hours

 OCLC has an institutional registry [1], which had (in part) library
 hours,
 addresses, and so forth.  It seems to be unavailable, though [2].
 That
 is
 the only systematic collection of library hours data that I know
 about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

On May 5, 2015, at 4:16 PM, Bigwood, David 
 dbigw...@hou.usra.edu
 wrote:

   This looks like a decent group, but I find this statement hard to

   believe.

   Your tax-deductible donation supports adding the names, address
 and
 the

 hours of operation of all libraries to Range. The Institute of Museum

 and

 Library Services publishes an open data catalog which is the source

 we'll

 use for the names and the addresses of the nation's libraries.
 However,

 there isn't a listing of the days and hours of operation for all
 libraries
 in the US. We are going to track down the hours of operation for all
 17,000
 libraries and make that information available -- in Range and for
 other
 developers who

Re: [CODE4LIB] Library Hours

2015-05-06 Thread Jason Bengtson
 for completion in June and without a
 grasp on what types of libraries there are and how volatile the hours
 information is (especially in crisis) ...
 Sounds naive at best, sketchy at worst.

 The flexible funding button says this campaign will receive all

 funds

 raised even if it does not reach its goals.

 The value of these places for youth cannot be underestimated.
 So is the value of a quick buck ...

 On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
 tmcca...@georgialibraries.org wrote:

   I'm not at all surprised that this doesn't already exist, and even
 if

 OCLC's was available, I'd be willing to bet it was out of date.

 Public library hours, especially in underfunded areas, may fluctuate
 depending on funding cycles, seasons (whether school is in or out),

 etc.,

 not to mention closing/reopening/moving because of old buildings that
 need
 to be updated. We have around 280 locations in our consortium and we

 have

 to rely on self-reporting to find out if their hours change. We

 certainly

 don't have staff time to check every one of their web sites on

 regular

 basis, I can't imagine keeping track of 17,000!


 Terran McCanna
 PINES Program Manager
 Georgia Public Library Service
 1800 Century Place, Suite 150
 Atlanta, GA 30345
 404-235-7138
 tmcca...@georgialibraries.org


 - Original Message -
 From: Peter Murray jes...@dltj.org
 To: CODE4LIB@LISTSERV.ND.EDU
 Sent: Tuesday, May 5, 2015 4:36:56 PM
 Subject: Re: [CODE4LIB] Library Hours

 OCLC has an institutional registry [1], which had (in part) library
 hours,
 addresses, and so forth.  It seems to be unavailable, though [2].

 That

 is
 the only systematic collection of library hours data that I know

 about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

   On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
 wrote:

  This looks like a decent group, but I find this statement hard to

  believe.

  Your tax-deductible donation supports adding the names, address and

 the

 hours of operation of all libraries to Range. The Institute of Museum

 and

 Library Services publishes an open data catalog which is the source

 we'll

 use for the names and the addresses of the nation's libraries.

 However,

 there isn't a listing of the days and hours of operation for all
 libraries
 in the US. We are going to track down the hours of operation for all
 17,000
 libraries and make that information available -- in Range and for

 other

 developers who may want to use it.


 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth

 Are the hours of public libraries really not available?

 Sincerely,
 David Bigwood
 dbigw...@gmail.commailto:dbigw...@gmail.com
 Lunar and Planetary Institute
 @LPI_Library
 https://www.flickr.com/photos/lunarandplanetaryinstitute/


  --
 Karen Coyle
 kco...@kcoyle.net http://kcoyle.net
 m: +1-510-435-8234
 skype: kcoylenet/+1-510-984-3600




 --
 Karen Coyle
 kco...@kcoyle.net http://kcoyle.net
 m: +1-510-435-8234
 skype: kcoylenet/+1-510-984-3600



Re: [CODE4LIB] Library Hours

2015-05-06 Thread Karen Coyle
 href=http://www.dishdash.com;www.greatfood.com
/a
Hours:
meta property=openingHours content=Mo-Sa 11:00-14:30Mon-Sat
11am


-


2:30pm
meta property=openingHours content=Mo-Th 17:00-21:30Mon-Thu
5pm -
9:30pm
meta property=openingHours content=Fr-Sa 17:00-22:00Fri-Sat
5pm -
10:00pm
Categories:
span property=servesCuisine
  Middle Eastern
/span,
span property=servesCuisine
  Mediterranean
/span
Price Range: span property=priceRange$$/span
Takes Reservations: Yes
/div

It seems to me that using schema.org would get more bang for the buck
--
it would get into the search engines and could also be aggregated into
whatever database is needed. As we've seen with OCLC, having a separate
listing is likely to mean that the data will be out of date.

kc

On 5/5/15 2:19 PM, nitin arora wrote:

  I can't see they distinguished between public libraries and other types
on
their campaign page.

They say  all libraries as far as I can see.
So I suppose then that this is true for all libraries:
Libraries offer a space anyone can enter, where money isn't exchanged,
and
documentation doesn't have to be shown.
Who knew fines and library/student-IDs were a thing of the past?

The only data sets I can find where they got the 17,000 number is for
public libraries:
http://www.imls.gov/research/pls_data_files.aspx
Maybe I missed something.
There is an hours field on one of the CSVs I downloaded, etc for 2012


data
(the most recent I could find).

Asking 10k for something targeted for completion in June and without a
grasp on what types of libraries there are and how volatile the hours
information is (especially in crisis) ...
Sounds naive at best, sketchy at worst.

The flexible funding button says this campaign will receive all
funds
raised even if it does not reach its goals.

The value of these places for youth cannot be underestimated.
So is the value of a quick buck ...

On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
tmcca...@georgialibraries.org wrote:

   I'm not at all surprised that this doesn't already exist, and even if


OCLC's was available, I'd be willing to bet it was out of date.

Public library hours, especially in underfunded areas, may fluctuate
depending on funding cycles, seasons (whether school is in or out),


etc.,

not to mention closing/reopening/moving because of old buildings that

need
to be updated. We have around 280 locations in our consortium and we


have

to rely on self-reporting to find out if their hours change. We

certainly

don't have staff time to check every one of their web sites on regular

basis, I can't imagine keeping track of 17,000!


Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


- Original Message -
From: Peter Murray jes...@dltj.org
To: CODE4LIB@LISTSERV.ND.EDU
Sent: Tuesday, May 5, 2015 4:36:56 PM
Subject: Re: [CODE4LIB] Library Hours

OCLC has an institutional registry [1], which had (in part) library
hours,
addresses, and so forth.  It seems to be unavailable, though [2].
That
is
the only systematic collection of library hours data that I know
about.


Peter

[1] https://www.oclc.org/worldcat-registry.en.html
[2] https://www.worldcat.org/registry/institution/

   On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
wrote:

  This looks like a decent group, but I find this statement hard to

  believe.

  Your tax-deductible donation supports adding the names, address and
the

hours of operation of all libraries to Range. The Institute of Museum

and

Library Services publishes an open data catalog which is the source

we'll

use for the names and the addresses of the nation's libraries. However,

there isn't a listing of the days and hours of operation for all
libraries
in the US. We are going to track down the hours of operation for all
17,000
libraries and make that information available -- in Range and for
other
developers who may want to use it.



https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth


Are the hours of public libraries really not available?

Sincerely,
David Bigwood
dbigw...@gmail.commailto:dbigw...@gmail.com
Lunar and Planetary Institute
@LPI_Library
https://www.flickr.com/photos/lunarandplanetaryinstitute/



  --

Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600



--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600



--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600


Re: [CODE4LIB] Library Hours

2015-05-06 Thread Dan Scott
On Wed, May 6, 2015 at 8:15 AM, Ethan Gruber ewg4x...@gmail.com wrote:

 +1 on the RDFa and schema.org. For those that don't know the library URL
 off-hand, it is much easier to find a library website by Googling than it
 is to go through the central university portal, and the hours will show up
 at the top of the page after having been harvested by search engines.


Hi, so this is an area that I've done, and am doing, a fair bit of work.
See http://stuff.coffeecode.net/2015/ola_white_hat_seo/#/1/10 for some fun
slides from a presentation I gave in January at the Ontario Library
Association SuperConference that show some ways data gets into
Google/Yahoo/Bing and concludes that the OCLC Registry manually maintain
yet another copy of your data elsewhere approach isn't working. (Hit s
to get speaker notes).

The rest of the presentation goes into depth on how to use RDFa to mark up
a real library web page with location, contact info, opening hours, and
event info. And I've posited that crawling library sites to pull
single-sourced data (e.g. you update your website to provide updated hours
to humans, and the machines automatically benefit) would be a much more
effective, accurate, and usable approach than maintaining copies of the
data in Google+, OCLC Registry, etc. We could produce results like
http://cwrc.ca/rsc-src/ that stay accurate, rather than being one-off
efforts that decay over time. (It would be great if the OCLC Registry had a
crawl this URL option so that it could keep all of its data up-to-date
and incentive libraries to publish the data in a machine-readable format
such as RDFa + schema.org.)

On the but that's technically challenging front, I tried pursuing some
grant funding to produce templates for publishing that structured info in
Drupal, Joomla, and other commonly used CMSs. Sadly, my application was
recently denied, but that will only slow me down; I'm not going to give up
on the goal. I have a paper in the works that will expand on the content of
the presentation for those sites that have the ability (technical and
administrative) to modify their own web pages.

Sites running the Evergreen library system already generate a page for each
of their libraries that contains this structured data (e.g.
https://laurentian.concat.ca/eg/opac/library/OSUL), which is single sourced
from the data that has to be maintained in the library system anyway.

I'll happily acknowledge that getting search engines to harvest the right
data is not easy, though: right now, for example, if you search for J.N.
Desmarais Library it currently shows that the library is open 24 hours a
day, which is completely false--probably maliciously
submitted--information. *sigh* I've edited that info in the Google+ page at
https://plus.google.com/+JNDesmaraisLibraryGreaterSudbury but even though
it is a verified place and I am a manager of the G+ page, the edits still
go through approval by Googlers. There appears to be no good way to tell
Google Hey, *this* is the URL you are looking for!. Somewhat amusingly,
the entire reason I started working with schema.org dates back to an
presentation I attended about Google Places years ago, where I whined about
having to maintain yet another copy of data in yet another place, and the
response inferred that schema.org might be the solution to that problem.

Also, due to the structure of university web property ownership, we
currently don't have the ability to modify our actual library home page to
include any RDFa, which is a *wee* bit frustrating given my work in the
field. Heh.

Dan Scott
Laurentian University


Re: [CODE4LIB] Library Hours

2015-05-06 Thread BWS Johnson
Salvete!

Google often draws data from OpenStreetMap. If one wanted to, one could 
simply edit the Library information there and watch it get picked up rather 
quickly.


http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dlibrary


#justsayin
Brooke


Re: [CODE4LIB] Library Hours

2015-05-06 Thread Steven Pryor
 can't imagine keeping track of 17,000!


Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


- Original Message -
From: Peter Murray jes...@dltj.org
To: CODE4LIB@LISTSERV.ND.EDU
Sent: Tuesday, May 5, 2015 4:36:56 PM
Subject: Re: [CODE4LIB] Library Hours

OCLC has an institutional registry [1], which had (in part) library
hours,
addresses, and so forth.  It seems to be unavailable, though [2].
That
is
the only systematic collection of library hours data that I know
about.


Peter

[1] https://www.oclc.org/worldcat-registry.en.html
[2] https://www.worldcat.org/registry/institution/

On May 5, 2015, at 4:16 PM, Bigwood, David 
dbigw...@hou.usra.edu
wrote:

   This looks like a decent group, but I find this statement hard to


   believe.


   Your tax-deductible donation supports adding the names, address
and
the


hours of operation of all libraries to Range. The Institute of Museum
and


Library Services publishes an open data catalog which is the source


we'll


use for the names and the addresses of the nation's libraries.
However,


there isn't a listing of the days and hours of operation for all

libraries
in the US. We are going to track down the hours of operation for all
17,000
libraries and make that information available -- in Range and for
other
developers who may want to use it.




https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth

  Are the hours of public libraries really not available?

Sincerely,

David Bigwood
dbigw...@gmail.commailto:dbigw...@gmail.com
Lunar and Planetary Institute
@LPI_Library
https://www.flickr.com/photos/lunarandplanetaryinstitute/


--

Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600


  --

Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600



--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600






Re: [CODE4LIB] Library Hours

2015-05-06 Thread Karen Coyle
Yes, it definitely does. Which actually is a problem for Wikipedia 
because it encourages people/companies to try to get entries into WP for 
SEO purposes and so that the sidebox will show up. I spend a lot of time 
on the articles for deletion pages of WP trying to get these 
promotional pages out of the encyclopedia. A big success is when I see 
them disappear from search results. (BTW, the various ways that 
self-published authors of written crap game the system is truly 
astonishing. A+ for effort, and their skill in PR is way beyond their 
literary skills.)


kc

On 5/6/15 8:33 AM, Bigwood, David wrote:

I have heard that at least part of the sidebox is constructed using data from 
Wikipedia, especially the structured info in the infobox there.

Dave

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Karen 
Coyle
Sent: Wednesday, May 06, 2015 9:21 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Library Hours

Tom, Google will not tell you. The entirety of how Google search works is a 
trade secret. We don't know the algorithm for ranking, and we don't know what 
information they glean from web pages -- and they are unlikely to tell. It is a 
constant on the schema.org discussion list that developers want to know what 
Google/Bing/Yahoo/Yandex will do with specific information in the web pages, 
and it is a constant that the reps there reply: we cannot tell you that. The 
only way to find out is to code and observe.

kc


--
Karen Coyle
kco...@kcoyle.net http://kcoyle.net
m: +1-510-435-8234
skype: kcoylenet/+1-510-984-3600


Re: [CODE4LIB] Library Hours

2015-05-06 Thread Karen Coyle
. This would mean that hours could show in

the
display of the library's catalog entry on Google, Yahoo and Bing.
Being
available directly through the search engines might be sufficient, not
necessitating creating yet-another-database for that data.

Schema.org uses a restaurant as its opening hours example, but much of

  the

  data would be the same for a library:

div vocab=http://schema.org/; typeof=Restaurant
 span property=nameGreatFood/span
 div property=aggregateRating  typeof=AggregateRating
   span property=ratingValue4/span stars -
   based on span property=reviewCount250/span reviews
 /div
 div property=address  typeof=PostalAddress
   span property=streetAddress1901 Lemur Ave/span
   span property=addressLocalitySunnyvale/span,
   span property=addressRegionCA/span span
property=postalCode94086/span
 /div
 span property=telephone(408) 714-1489/span
 a property=url href=http://www.dishdash.com;
www.greatfood.com
/a
 Hours:
 meta property=openingHours content=Mo-Sa 11:00-14:30Mon-Sat
11am

  -

  2:30pm

 meta property=openingHours content=Mo-Th 17:00-21:30Mon-Thu
5pm -
9:30pm
 meta property=openingHours content=Fr-Sa 17:00-22:00Fri-Sat
5pm -
10:00pm
 Categories:
 span property=servesCuisine
   Middle Eastern
 /span,
 span property=servesCuisine
   Mediterranean
 /span
 Price Range: span property=priceRange$$/span
 Takes Reservations: Yes
/div

It seems to me that using schema.org would get more bang for the buck
--
it would get into the search engines and could also be aggregated into
whatever database is needed. As we've seen with OCLC, having a
separate
listing is likely to mean that the data will be out of date.

kc

On 5/5/15 2:19 PM, nitin arora wrote:

   I can't see they distinguished between public libraries and other
types
on
their campaign page.


They say  all libraries as far as I can see.
So I suppose then that this is true for all libraries:
Libraries offer a space anyone can enter, where money isn't
exchanged,
and
documentation doesn't have to be shown.
Who knew fines and library/student-IDs were a thing of the past?

The only data sets I can find where they got the 17,000 number is for
public libraries:
http://www.imls.gov/research/pls_data_files.aspx
Maybe I missed something.
There is an hours field on one of the CSVs I downloaded, etc for 2012

  data

(the most recent I could find).


Asking 10k for something targeted for completion in June and without
a
grasp on what types of libraries there are and how volatile the hours
information is (especially in crisis) ...
Sounds naive at best, sketchy at worst.

The flexible funding button says this campaign will receive all
funds
raised even if it does not reach its goals.

The value of these places for youth cannot be underestimated.
So is the value of a quick buck ...

On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
tmcca...@georgialibraries.org wrote:

I'm not at all surprised that this doesn't already exist, and
even if

  OCLC's was available, I'd be willing to bet it was out of date.

Public library hours, especially in underfunded areas, may fluctuate
depending on funding cycles, seasons (whether school is in or out),

  etc.,

not to mention closing/reopening/moving because of old buildings that


need

to be updated. We have around 280 locations in our consortium and we

  have

to rely on self-reporting to find out if their hours change. We


certainly


don't have staff time to check every one of their web sites on regular


basis, I can't imagine keeping track of 17,000!


Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


- Original Message -
From: Peter Murray jes...@dltj.org
To: CODE4LIB@LISTSERV.ND.EDU
Sent: Tuesday, May 5, 2015 4:36:56 PM
Subject: Re: [CODE4LIB] Library Hours

OCLC has an institutional registry [1], which had (in part) library
hours,
addresses, and so forth.  It seems to be unavailable, though [2].
That
is
the only systematic collection of library hours data that I know
about.


Peter

[1] https://www.oclc.org/worldcat-registry.en.html
[2] https://www.worldcat.org/registry/institution/

On May 5, 2015, at 4:16 PM, Bigwood, David 
dbigw...@hou.usra.edu
wrote:

   This looks like a decent group, but I find this statement hard to


   believe.


   Your tax-deductible donation supports adding the names, address
and
the


hours of operation of all libraries to Range. The Institute of Museum
and


Library Services publishes an open data catalog which is the source


we'll


use for the names and the addresses of the nation's libraries.
However,


there isn't a listing of the days and hours of operation for all

libraries
in the US. We are going to track down the hours of operation for all
17,000
libraries and make that information available -- in Range and for
other
developers who may want

Re: [CODE4LIB] Library Hours

2015-05-05 Thread Karen Coyle
Note that library hours is one of the possible bits of information that 
could be encoded as RDFa in the library web site, thus making it 
possible to derive library hours directly from the listing of hours on 
the web site rather than keeping a separate list. Schema.org does have 
the elements such that hours can be encoded. This would mean that hours 
could show in the display of the library's catalog entry on Google, 
Yahoo and Bing. Being available directly through the search engines 
might be sufficient, not necessitating creating yet-another-database for 
that data.


Schema.org uses a restaurant as its opening hours example, but much of 
the data would be the same for a library:


div vocab=http://schema.org/; typeof=Restaurant
  span property=nameGreatFood/span
  div property=aggregateRating  typeof=AggregateRating
span property=ratingValue4/span stars -
based on span property=reviewCount250/span reviews
  /div
  div property=address  typeof=PostalAddress
span property=streetAddress1901 Lemur Ave/span
span property=addressLocalitySunnyvale/span,
span property=addressRegionCA/span span 
property=postalCode94086/span

  /div
  span property=telephone(408) 714-1489/span
  a property=url href=http://www.dishdash.com;www.greatfood.com/a
  Hours:
  meta property=openingHours content=Mo-Sa 11:00-14:30Mon-Sat 
11am - 2:30pm
  meta property=openingHours content=Mo-Th 17:00-21:30Mon-Thu 5pm 
- 9:30pm
  meta property=openingHours content=Fr-Sa 17:00-22:00Fri-Sat 5pm 
- 10:00pm

  Categories:
  span property=servesCuisine
Middle Eastern
  /span,
  span property=servesCuisine
Mediterranean
  /span
  Price Range: span property=priceRange$$/span
  Takes Reservations: Yes
/div

It seems to me that using schema.org would get more bang for the buck -- 
it would get into the search engines and could also be aggregated into 
whatever database is needed. As we've seen with OCLC, having a separate 
listing is likely to mean that the data will be out of date.


kc

On 5/5/15 2:19 PM, nitin arora wrote:

I can't see they distinguished between public libraries and other types on
their campaign page.

They say  all libraries as far as I can see.
So I suppose then that this is true for all libraries:
Libraries offer a space anyone can enter, where money isn't exchanged, and
documentation doesn't have to be shown.
Who knew fines and library/student-IDs were a thing of the past?

The only data sets I can find where they got the 17,000 number is for
public libraries:
http://www.imls.gov/research/pls_data_files.aspx
Maybe I missed something.
There is an hours field on one of the CSVs I downloaded, etc for 2012 data
(the most recent I could find).

Asking 10k for something targeted for completion in June and without a
grasp on what types of libraries there are and how volatile the hours
information is (especially in crisis) ...
Sounds naive at best, sketchy at worst.

The flexible funding button says this campaign will receive all funds
raised even if it does not reach its goals.

The value of these places for youth cannot be underestimated.
So is the value of a quick buck ...

On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
tmcca...@georgialibraries.org wrote:


I'm not at all surprised that this doesn't already exist, and even if
OCLC's was available, I'd be willing to bet it was out of date.

Public library hours, especially in underfunded areas, may fluctuate
depending on funding cycles, seasons (whether school is in or out), etc.,
not to mention closing/reopening/moving because of old buildings that need
to be updated. We have around 280 locations in our consortium and we have
to rely on self-reporting to find out if their hours change. We certainly
don't have staff time to check every one of their web sites on regular
basis, I can't imagine keeping track of 17,000!


Terran McCanna
PINES Program Manager
Georgia Public Library Service
1800 Century Place, Suite 150
Atlanta, GA 30345
404-235-7138
tmcca...@georgialibraries.org


- Original Message -
From: Peter Murray jes...@dltj.org
To: CODE4LIB@LISTSERV.ND.EDU
Sent: Tuesday, May 5, 2015 4:36:56 PM
Subject: Re: [CODE4LIB] Library Hours

OCLC has an institutional registry [1], which had (in part) library hours,
addresses, and so forth.  It seems to be unavailable, though [2].  That is
the only systematic collection of library hours data that I know about.


Peter

[1] https://www.oclc.org/worldcat-registry.en.html
[2] https://www.worldcat.org/registry/institution/


On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu

wrote:

This looks like a decent group, but I find this statement hard to

believe.

Your tax-deductible donation supports adding the names, address and the

hours of operation of all libraries to Range. The Institute of Museum and
Library Services publishes an open data catalog which is the source we'll
use for the names and the addresses of the nation's libraries. However,
there isn't a listing of the days

[CODE4LIB] Library Hours

2015-05-05 Thread Bigwood, David
This looks like a decent group, but I find this statement hard to believe.

Your tax-deductible donation supports adding the names, address and the hours 
of operation of all libraries to Range. The Institute of Museum and Library 
Services publishes an open data catalog which is the source we'll use for the 
names and the addresses of the nation's libraries. However, there isn't a 
listing of the days and hours of operation for all libraries in the US. We are 
going to track down the hours of operation for all 17,000 libraries and make 
that information available -- in Range and for other developers who may want to 
use it. https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth

Are the hours of public libraries really not available?

Sincerely,
David Bigwood
dbigw...@gmail.commailto:dbigw...@gmail.com
Lunar and Planetary Institute
@LPI_Library
https://www.flickr.com/photos/lunarandplanetaryinstitute/


Re: [CODE4LIB] Library Hours

2015-05-05 Thread McCanna, Terran
I'm not at all surprised that this doesn't already exist, and even if OCLC's 
was available, I'd be willing to bet it was out of date.

Public library hours, especially in underfunded areas, may fluctuate depending 
on funding cycles, seasons (whether school is in or out), etc., not to mention 
closing/reopening/moving because of old buildings that need to be updated. We 
have around 280 locations in our consortium and we have to rely on 
self-reporting to find out if their hours change. We certainly don't have staff 
time to check every one of their web sites on regular basis, I can't imagine 
keeping track of 17,000! 


Terran McCanna 
PINES Program Manager 
Georgia Public Library Service 
1800 Century Place, Suite 150 
Atlanta, GA 30345 
404-235-7138 
tmcca...@georgialibraries.org 


- Original Message -
From: Peter Murray jes...@dltj.org
To: CODE4LIB@LISTSERV.ND.EDU
Sent: Tuesday, May 5, 2015 4:36:56 PM
Subject: Re: [CODE4LIB] Library Hours

OCLC has an institutional registry [1], which had (in part) library hours, 
addresses, and so forth.  It seems to be unavailable, though [2].  That is the 
only systematic collection of library hours data that I know about.


Peter

[1] https://www.oclc.org/worldcat-registry.en.html
[2] https://www.worldcat.org/registry/institution/

 On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu wrote:
 
 This looks like a decent group, but I find this statement hard to believe.
 
 Your tax-deductible donation supports adding the names, address and the 
 hours of operation of all libraries to Range. The Institute of Museum and 
 Library Services publishes an open data catalog which is the source we'll use 
 for the names and the addresses of the nation's libraries. However, there 
 isn't a listing of the days and hours of operation for all libraries in the 
 US. We are going to track down the hours of operation for all 17,000 
 libraries and make that information available -- in Range and for other 
 developers who may want to use it. 
 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth
 
 Are the hours of public libraries really not available?
 
 Sincerely,
 David Bigwood
 dbigw...@gmail.commailto:dbigw...@gmail.com
 Lunar and Planetary Institute
 @LPI_Library
 https://www.flickr.com/photos/lunarandplanetaryinstitute/


Re: [CODE4LIB] Library Hours

2015-05-05 Thread Peter Murray
OCLC has an institutional registry [1], which had (in part) library hours, 
addresses, and so forth.  It seems to be unavailable, though [2].  That is the 
only systematic collection of library hours data that I know about.


Peter

[1] https://www.oclc.org/worldcat-registry.en.html
[2] https://www.worldcat.org/registry/institution/

 On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu wrote:
 
 This looks like a decent group, but I find this statement hard to believe.
 
 Your tax-deductible donation supports adding the names, address and the 
 hours of operation of all libraries to Range. The Institute of Museum and 
 Library Services publishes an open data catalog which is the source we'll use 
 for the names and the addresses of the nation's libraries. However, there 
 isn't a listing of the days and hours of operation for all libraries in the 
 US. We are going to track down the hours of operation for all 17,000 
 libraries and make that information available -- in Range and for other 
 developers who may want to use it. 
 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth
 
 Are the hours of public libraries really not available?
 
 Sincerely,
 David Bigwood
 dbigw...@gmail.commailto:dbigw...@gmail.com
 Lunar and Planetary Institute
 @LPI_Library
 https://www.flickr.com/photos/lunarandplanetaryinstitute/


Re: [CODE4LIB] Library Hours

2015-05-05 Thread Lesli
Maybe you were looking for this?
http://www.worldcat.org/registry/Institutions

Lesli


On Tue, May 5, 2015 at 3:36 PM, Peter Murray jes...@dltj.org wrote:

 OCLC has an institutional registry [1], which had (in part) library hours,
 addresses, and so forth.  It seems to be unavailable, though [2].  That is
 the only systematic collection of library hours data that I know about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

  On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
 wrote:
 
  This looks like a decent group, but I find this statement hard to
 believe.
 
  Your tax-deductible donation supports adding the names, address and the
 hours of operation of all libraries to Range. The Institute of Museum and
 Library Services publishes an open data catalog which is the source we'll
 use for the names and the addresses of the nation's libraries. However,
 there isn't a listing of the days and hours of operation for all libraries
 in the US. We are going to track down the hours of operation for all 17,000
 libraries and make that information available -- in Range and for other
 developers who may want to use it.
 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth
 
  Are the hours of public libraries really not available?
 
  Sincerely,
  David Bigwood
  dbigw...@gmail.commailto:dbigw...@gmail.com
  Lunar and Planetary Institute
  @LPI_Library
  https://www.flickr.com/photos/lunarandplanetaryinstitute/



Re: [CODE4LIB] Library Hours

2015-05-05 Thread Ken Varnum
Data in the OCLC Registry is maintained by the library. I have that on my
long list of things to attend to, and only check it rarely.

The Registry is a great idea -- and would be better if library vendors
pointed at it for such basic things as link resolver address (as an
example). But as far as I know, essentially nobody consumes the data, so
there's not much of an impetus to keep it updated.


--
Ken Varnum | Web Systems Manager | University of Michigan Library
var...@umich.edu | @varnum | 734-615-3287
http://www.lib.umich.edu/users/varnum

On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
tmcca...@georgialibraries.org wrote:

 I'm not at all surprised that this doesn't already exist, and even if
 OCLC's was available, I'd be willing to bet it was out of date.

 Public library hours, especially in underfunded areas, may fluctuate
 depending on funding cycles, seasons (whether school is in or out), etc.,
 not to mention closing/reopening/moving because of old buildings that need
 to be updated. We have around 280 locations in our consortium and we have
 to rely on self-reporting to find out if their hours change. We certainly
 don't have staff time to check every one of their web sites on regular
 basis, I can't imagine keeping track of 17,000!


 Terran McCanna
 PINES Program Manager
 Georgia Public Library Service
 1800 Century Place, Suite 150
 Atlanta, GA 30345
 404-235-7138
 tmcca...@georgialibraries.org


 - Original Message -
 From: Peter Murray jes...@dltj.org
 To: CODE4LIB@LISTSERV.ND.EDU
 Sent: Tuesday, May 5, 2015 4:36:56 PM
 Subject: Re: [CODE4LIB] Library Hours

 OCLC has an institutional registry [1], which had (in part) library hours,
 addresses, and so forth.  It seems to be unavailable, though [2].  That is
 the only systematic collection of library hours data that I know about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

  On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
 wrote:
 
  This looks like a decent group, but I find this statement hard to
 believe.
 
  Your tax-deductible donation supports adding the names, address and the
 hours of operation of all libraries to Range. The Institute of Museum and
 Library Services publishes an open data catalog which is the source we'll
 use for the names and the addresses of the nation's libraries. However,
 there isn't a listing of the days and hours of operation for all libraries
 in the US. We are going to track down the hours of operation for all 17,000
 libraries and make that information available -- in Range and for other
 developers who may want to use it.
 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth
 
  Are the hours of public libraries really not available?
 
  Sincerely,
  David Bigwood
  dbigw...@gmail.commailto:dbigw...@gmail.com
  Lunar and Planetary Institute
  @LPI_Library
  https://www.flickr.com/photos/lunarandplanetaryinstitute/



Re: [CODE4LIB] Library Hours

2015-05-05 Thread McCanna, Terran
Does the OCLC Registry even allow libraries to post their hours if they want 
to? I'm looking at the published library listings in WorldCat, and I don't see 
hours on any of them (so far). 


Terran McCanna 
PINES Program Manager 
Georgia Public Library Service 
1800 Century Place, Suite 150 
Atlanta, GA 30345 
404-235-7138 
tmcca...@georgialibraries.org 

- Original Message -
From: Ken Varnum var...@umich.edu
To: CODE4LIB@LISTSERV.ND.EDU
Sent: Tuesday, May 5, 2015 4:58:45 PM
Subject: Re: [CODE4LIB] Library Hours

Data in the OCLC Registry is maintained by the library. I have that on my
long list of things to attend to, and only check it rarely.

The Registry is a great idea -- and would be better if library vendors
pointed at it for such basic things as link resolver address (as an
example). But as far as I know, essentially nobody consumes the data, so
there's not much of an impetus to keep it updated.


--
Ken Varnum | Web Systems Manager | University of Michigan Library
var...@umich.edu | @varnum | 734-615-3287
http://www.lib.umich.edu/users/varnum


Re: [CODE4LIB] Library Hours

2015-05-05 Thread nitin arora
My bad: apparently June 15 is the date thank-you gifts are sent.

On Tue, May 5, 2015 at 5:19 PM, nitin arora nitar...@gmail.com wrote:

 I can't see they distinguished between public libraries and other types on
 their campaign page.

 They say  all libraries as far as I can see.
 So I suppose then that this is true for all libraries:
 Libraries offer a space anyone can enter, where money isn't exchanged,
 and documentation doesn't have to be shown.
 Who knew fines and library/student-IDs were a thing of the past?

 The only data sets I can find where they got the 17,000 number is for
 public libraries:
 http://www.imls.gov/research/pls_data_files.aspx
 Maybe I missed something.
 There is an hours field on one of the CSVs I downloaded, etc for 2012 data
 (the most recent I could find).

 Asking 10k for something targeted for completion in June and without a
 grasp on what types of libraries there are and how volatile the hours
 information is (especially in crisis) ...
 Sounds naive at best, sketchy at worst.

 The flexible funding button says this campaign will receive all funds
 raised even if it does not reach its goals.

 The value of these places for youth cannot be underestimated.
 So is the value of a quick buck ...

 On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
 tmcca...@georgialibraries.org wrote:

 I'm not at all surprised that this doesn't already exist, and even if
 OCLC's was available, I'd be willing to bet it was out of date.

 Public library hours, especially in underfunded areas, may fluctuate
 depending on funding cycles, seasons (whether school is in or out), etc.,
 not to mention closing/reopening/moving because of old buildings that need
 to be updated. We have around 280 locations in our consortium and we have
 to rely on self-reporting to find out if their hours change. We certainly
 don't have staff time to check every one of their web sites on regular
 basis, I can't imagine keeping track of 17,000!


 Terran McCanna
 PINES Program Manager
 Georgia Public Library Service
 1800 Century Place, Suite 150
 Atlanta, GA 30345
 404-235-7138
 tmcca...@georgialibraries.org


 - Original Message -
 From: Peter Murray jes...@dltj.org
 To: CODE4LIB@LISTSERV.ND.EDU
 Sent: Tuesday, May 5, 2015 4:36:56 PM
 Subject: Re: [CODE4LIB] Library Hours

 OCLC has an institutional registry [1], which had (in part) library
 hours, addresses, and so forth.  It seems to be unavailable, though [2].
 That is the only systematic collection of library hours data that I know
 about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

  On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
 wrote:
 
  This looks like a decent group, but I find this statement hard to
 believe.
 
  Your tax-deductible donation supports adding the names, address and
 the hours of operation of all libraries to Range. The Institute of Museum
 and Library Services publishes an open data catalog which is the source
 we'll use for the names and the addresses of the nation's libraries.
 However, there isn't a listing of the days and hours of operation for all
 libraries in the US. We are going to track down the hours of operation for
 all 17,000 libraries and make that information available -- in Range and
 for other developers who may want to use it.
 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth
 
  Are the hours of public libraries really not available?
 
  Sincerely,
  David Bigwood
  dbigw...@gmail.commailto:dbigw...@gmail.com
  Lunar and Planetary Institute
  @LPI_Library
  https://www.flickr.com/photos/lunarandplanetaryinstitute/




 --
 Nitin Arora
 nitaro74 (at) gmail (dot) com
 Hope always, expect never.

 humaneguitarist.org
 blog.humaneguitarist.org




-- 
Nitin Arora
nitaro74 (at) gmail (dot) com
Hope always, expect never.

humaneguitarist.org
blog.humaneguitarist.org


Re: [CODE4LIB] Library Hours

2015-05-05 Thread nitin arora
I can't see they distinguished between public libraries and other types on
their campaign page.

They say  all libraries as far as I can see.
So I suppose then that this is true for all libraries:
Libraries offer a space anyone can enter, where money isn't exchanged, and
documentation doesn't have to be shown.
Who knew fines and library/student-IDs were a thing of the past?

The only data sets I can find where they got the 17,000 number is for
public libraries:
http://www.imls.gov/research/pls_data_files.aspx
Maybe I missed something.
There is an hours field on one of the CSVs I downloaded, etc for 2012 data
(the most recent I could find).

Asking 10k for something targeted for completion in June and without a
grasp on what types of libraries there are and how volatile the hours
information is (especially in crisis) ...
Sounds naive at best, sketchy at worst.

The flexible funding button says this campaign will receive all funds
raised even if it does not reach its goals.

The value of these places for youth cannot be underestimated.
So is the value of a quick buck ...

On Tue, May 5, 2015 at 4:53 PM, McCanna, Terran 
tmcca...@georgialibraries.org wrote:

 I'm not at all surprised that this doesn't already exist, and even if
 OCLC's was available, I'd be willing to bet it was out of date.

 Public library hours, especially in underfunded areas, may fluctuate
 depending on funding cycles, seasons (whether school is in or out), etc.,
 not to mention closing/reopening/moving because of old buildings that need
 to be updated. We have around 280 locations in our consortium and we have
 to rely on self-reporting to find out if their hours change. We certainly
 don't have staff time to check every one of their web sites on regular
 basis, I can't imagine keeping track of 17,000!


 Terran McCanna
 PINES Program Manager
 Georgia Public Library Service
 1800 Century Place, Suite 150
 Atlanta, GA 30345
 404-235-7138
 tmcca...@georgialibraries.org


 - Original Message -
 From: Peter Murray jes...@dltj.org
 To: CODE4LIB@LISTSERV.ND.EDU
 Sent: Tuesday, May 5, 2015 4:36:56 PM
 Subject: Re: [CODE4LIB] Library Hours

 OCLC has an institutional registry [1], which had (in part) library hours,
 addresses, and so forth.  It seems to be unavailable, though [2].  That is
 the only systematic collection of library hours data that I know about.


 Peter

 [1] https://www.oclc.org/worldcat-registry.en.html
 [2] https://www.worldcat.org/registry/institution/

  On May 5, 2015, at 4:16 PM, Bigwood, David dbigw...@hou.usra.edu
 wrote:
 
  This looks like a decent group, but I find this statement hard to
 believe.
 
  Your tax-deductible donation supports adding the names, address and the
 hours of operation of all libraries to Range. The Institute of Museum and
 Library Services publishes an open data catalog which is the source we'll
 use for the names and the addresses of the nation's libraries. However,
 there isn't a listing of the days and hours of operation for all libraries
 in the US. We are going to track down the hours of operation for all 17,000
 libraries and make that information available -- in Range and for other
 developers who may want to use it.
 https://www.indiegogo.com/projects/range-food-and-safe-places-for-youth
 
  Are the hours of public libraries really not available?
 
  Sincerely,
  David Bigwood
  dbigw...@gmail.commailto:dbigw...@gmail.com
  Lunar and Planetary Institute
  @LPI_Library
  https://www.flickr.com/photos/lunarandplanetaryinstitute/




-- 
Nitin Arora
nitaro74 (at) gmail (dot) com
Hope always, expect never.

humaneguitarist.org
blog.humaneguitarist.org


Re: [CODE4LIB] Library Hours Fail

2015-01-13 Thread Tom Keays
Here's a status update on how I am using the LibCal Hours API to display
hours on my library's homepage.  For MPOW, the API gave me a URL for JSON
as:

https://api3.libcal.com/api_hours_grid.php?iid=567format=jsonweeks=1

The problem I had was that the LibCal v2 documentation didn't say how to
obtain JSONP rather than JSON in order to avoid the CORS problem. I
resigned myself to writing my own custom PHP script to turn the LibCal JSON
into JSONP, but Emily King pointed me in the right direction and a
programmer at SpringShare advised me that all I had to do was to add the
string callback=? at the end of the URL to generate JSONP directly.
E.G.,

https://api3.libcal.com/api_hours_grid.php?iid=567format=jsonweeks=1callback=
?

After playing around with several other APIs to gain experience working
with JSON, I have come to realize this is a common practice (adding the
callback attribute) and that it is often undocumented. I guess you are just
supposed to know.

Here's a codepen displaying the current week's hours. If the currently_open
attribute for a given day is set to true -- i.e., is it today and are we
currently open -- a CSS class is added to highlight that day in the list.

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

Our situation is that we have extended hours from 9 pm - 2 am from Sunday -
Thursday, when patrons have to use their ID cards as keycards to swipe and
gain entrance to the building. LibCal let me set this up quite easily. In
the pen, if you change the offset from 0 to 1 (from current week to next
week), you can see what that looks like.

Tom



On Mon, Dec 15, 2014 at 4:11 PM, Tom Keays tomke...@gmail.com wrote:

 I've been playing with the hours options in LibCal. I especially like
 being able to pull out today's hours so easily. LibCal gives you options to
 do this using HTML (iframe), JavaScript, JSON, or RSS.

 HTML and JavaScript both format the output in a table, which is probably
 desirable if you have multiple locations, but maybe less good if you have
 one location only. That made me want to look into rolling my own solution
 using the JSON option.

 The problem is that to avoid XSS vulnerabilities, you can't use plain
 JSON, but must instead use JSONP, which is NOT an option being offered by
 LibCal (if anybody knows otherwise, I'd appreciate the information).

 So, my solution was to write a meatball PHP script that wraps the JSON in
 a JSONP callback. I wish I didn't have to do the extra server hop, but it
 works. Here's my demo.

 http://codepen.io/tomkeays/pen/EaKrgg/?editors=101

 Now, I wish there was a JSON option to display a week's worth of hours for
 a given location instead of just the one day's worth.


 On Tue, Nov 18, 2014 at 4:17 PM, Heidi Steiner Burkhardt 
 hmstei...@gmail.com wrote:

 Hi Mary,

 You mentioned LibCal and I do not think anyone else has addressed this
 yet...you can use the Hours module for one location with the free version
 http://www.springshare.com/free.html. The one location piece is the
 only
 limitation...so it should work for you if you just need it for one
 library's hours. It is what we use on our website
 http://academics.norwich.edu/library/about/hours/. You can set the
 hours
 for the whole year (using templates and exceptions) and then do not have
 to
 worry about it. There are a few different widget/API options
 http://help.springshare.com/usinghourslc/widgetapi.

 All best,
 Heidi

 --
 Heidi Steiner Burkhardt
 Head of Digital Services
 Kreitzberg Library, Norwich University
 158 Harmon Dr. Northfield, Vermont
 802.485.2171




 On Tue, Nov 18, 2014 at 9:18 AM, Mary E. Hanlin mhan...@reynolds.edu
 wrote:

  Hi All,
 
  I know this has been covered a bit here, but I have a rather exigent
  conundrum, and I'm hoping to figure out the best/easiest solution.
  Yesterday, the script to hour library hours (on our front page) which
 pulls
  from Google calendar stopped working (Error at line undefined in
  undefined[!] - the exclamation point is mine; it seemed like it needed
  one.)
 
  Basically, the code came from a site that walked one through how to call
  daily hours (javascript) using Google's V2 API, but the V2 is fully
  deprecated (as I abruptly discovered), and I need to figure out another
  solution.  (I haven't been able to find similar documentation for V3's
 API.)
 
  Some constraints: 1. Our IT will not support php.We are an .NET shop
  with IIS servers.  2. We may not have the dough to pay for something
 like
  LibCal which seems to me the easiest solution.  3.  I'm semi-new to this
  Internets/webmaster thing, and really only know front-end coding, so a
  solution involving something like .NET, Python, etc. would have to have,
  How to make a peanut butter sandwich, kind of documentation.
 
  Right now, I've just manually coded our hours, which is fine until
  Saturday when our hours change, and I'm not here (hopefully).  I will be
  super grateful for insight or knowledge.
 
  Mary.
 
  Mary Hanlin
  

Re: [CODE4LIB] Library Hours Fail

2014-12-15 Thread Tom Keays
I've been playing with the hours options in LibCal. I especially like being
able to pull out today's hours so easily. LibCal gives you options to do
this using HTML (iframe), JavaScript, JSON, or RSS.

HTML and JavaScript both format the output in a table, which is probably
desirable if you have multiple locations, but maybe less good if you have
one location only. That made me want to look into rolling my own solution
using the JSON option.

The problem is that to avoid XSS vulnerabilities, you can't use plain JSON,
but must instead use JSONP, which is NOT an option being offered by LibCal
(if anybody knows otherwise, I'd appreciate the information).

So, my solution was to write a meatball PHP script that wraps the JSON in a
JSONP callback. I wish I didn't have to do the extra server hop, but it
works. Here's my demo.

http://codepen.io/tomkeays/pen/EaKrgg/?editors=101

Now, I wish there was a JSON option to display a week's worth of hours for
a given location instead of just the one day's worth.


On Tue, Nov 18, 2014 at 4:17 PM, Heidi Steiner Burkhardt 
hmstei...@gmail.com wrote:

 Hi Mary,

 You mentioned LibCal and I do not think anyone else has addressed this
 yet...you can use the Hours module for one location with the free version
 http://www.springshare.com/free.html. The one location piece is the only
 limitation...so it should work for you if you just need it for one
 library's hours. It is what we use on our website
 http://academics.norwich.edu/library/about/hours/. You can set the hours
 for the whole year (using templates and exceptions) and then do not have to
 worry about it. There are a few different widget/API options
 http://help.springshare.com/usinghourslc/widgetapi.

 All best,
 Heidi

 --
 Heidi Steiner Burkhardt
 Head of Digital Services
 Kreitzberg Library, Norwich University
 158 Harmon Dr. Northfield, Vermont
 802.485.2171




 On Tue, Nov 18, 2014 at 9:18 AM, Mary E. Hanlin mhan...@reynolds.edu
 wrote:

  Hi All,
 
  I know this has been covered a bit here, but I have a rather exigent
  conundrum, and I'm hoping to figure out the best/easiest solution.
  Yesterday, the script to hour library hours (on our front page) which
 pulls
  from Google calendar stopped working (Error at line undefined in
  undefined[!] - the exclamation point is mine; it seemed like it needed
  one.)
 
  Basically, the code came from a site that walked one through how to call
  daily hours (javascript) using Google's V2 API, but the V2 is fully
  deprecated (as I abruptly discovered), and I need to figure out another
  solution.  (I haven't been able to find similar documentation for V3's
 API.)
 
  Some constraints: 1. Our IT will not support php.We are an .NET shop
  with IIS servers.  2. We may not have the dough to pay for something like
  LibCal which seems to me the easiest solution.  3.  I'm semi-new to this
  Internets/webmaster thing, and really only know front-end coding, so a
  solution involving something like .NET, Python, etc. would have to have,
  How to make a peanut butter sandwich, kind of documentation.
 
  Right now, I've just manually coded our hours, which is fine until
  Saturday when our hours change, and I'm not here (hopefully).  I will be
  super grateful for insight or knowledge.
 
  Mary.
 
  Mary Hanlin
  Electronic Resources and Web Librarian
  J. Sargeant Reynolds Community College
  Phone:804.523.5323
  Email: mhan...@reynolds.edu
 



Re: [CODE4LIB] Library Hours Fail

2014-11-23 Thread Fitchett, Deborah
We'd been using Andrew Darby's method and ran into this problem earlier this 
year. A (now ex-)colleague coded Calibr 
(https://github.com/LincolnUniLTL/calibr ) when we ran into this problem, and 
we've been running it since. Does depend on tidy csv though.

Deborah

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Heller, 
Margaret
Sent: Wednesday, 19 November 2014 11:51 a.m.
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Library Hours Fail

Wish I had checked the list this morning, as I just discovered we had the same 
problem. We have been using Andrew Darby's method outlined here: 
http://journal.code4lib.org/articles/46.

Is there by any chance someone using this method who happened to know the V2 
API was being deprecated who already updated their app to V3?

If not anyone who wants to work on getting this to work tomorrow?

Margaret Heller
Digital Services Librarian
Loyola University Chicago
773-508-2686

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Mary E. 
Hanlin
Sent: Tuesday, November 18, 2014 8:19 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] Library Hours Fail

Hi All,

I know this has been covered a bit here, but I have a rather exigent conundrum, 
and I'm hoping to figure out the best/easiest solution.  Yesterday, the script 
to hour library hours (on our front page) which pulls from Google calendar 
stopped working (Error at line undefined in undefined[!] - the exclamation 
point is mine; it seemed like it needed one.)

Basically, the code came from a site that walked one through how to call daily 
hours (javascript) using Google's V2 API, but the V2 is fully deprecated (as I 
abruptly discovered), and I need to figure out another solution.  (I haven't 
been able to find similar documentation for V3's API.)

Some constraints: 1. Our IT will not support php.We are an .NET shop with 
IIS servers.  2. We may not have the dough to pay for something like LibCal 
which seems to me the easiest solution.  3.  I'm semi-new to this 
Internets/webmaster thing, and really only know front-end coding, so a 
solution involving something like .NET, Python, etc. would have to have, How 
to make a peanut butter sandwich, kind of documentation.

Right now, I've just manually coded our hours, which is fine until Saturday 
when our hours change, and I'm not here (hopefully).  I will be super grateful 
for insight or knowledge.

Mary.

Mary Hanlin
Electronic Resources and Web Librarian
J. Sargeant Reynolds Community College
Phone:804.523.5323
Email: mhan...@reynolds.edu


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] Library Hours Fail

2014-11-19 Thread Joshua Welker
I have a solution running that is compatible with API V3 but it is pretty
specific to Ruby on Rails. The idea is to use Google's iCal interface rather
than the API. iCal is going to stay the same no matter how many iterations
the API goes through. You basically just need to find an iCal parsing
library for whatever language you are using. The only problem is that Google
does a bad job with exceptions to recurrence rules (rrules). Instead of
editing a single event in a repeating series, you have to delete that event
and re-add it as a separate event.

https://gist.github.com/jswelker/04997f378d9bc02311d2

In this example, I have a MySQL table listing several Google Calendars and
the URL given for their iCal files in the calendar settings page. It loops
through each calendar, fetches the iCal, parses it, and saves the resulting
hours to a separate Events table. This might be more complicated than people
are wanting.

Josh Welker


-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
Heller, Margaret
Sent: Tuesday, November 18, 2014 4:51 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Library Hours Fail

Wish I had checked the list this morning, as I just discovered we had the
same problem. We have been using Andrew Darby's method outlined here:
http://journal.code4lib.org/articles/46.

Is there by any chance someone using this method who happened to know the V2
API was being deprecated who already updated their app to V3?

If not anyone who wants to work on getting this to work tomorrow?

Margaret Heller
Digital Services Librarian
Loyola University Chicago
773-508-2686

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Mary
E. Hanlin
Sent: Tuesday, November 18, 2014 8:19 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] Library Hours Fail

Hi All,

I know this has been covered a bit here, but I have a rather exigent
conundrum, and I'm hoping to figure out the best/easiest solution.
Yesterday, the script to hour library hours (on our front page) which pulls
from Google calendar stopped working (Error at line undefined in
undefined[!] - the exclamation point is mine; it seemed like it needed
one.)

Basically, the code came from a site that walked one through how to call
daily hours (javascript) using Google's V2 API, but the V2 is fully
deprecated (as I abruptly discovered), and I need to figure out another
solution.  (I haven't been able to find similar documentation for V3's API.)

Some constraints: 1. Our IT will not support php.We are an .NET shop
with IIS servers.  2. We may not have the dough to pay for something like
LibCal which seems to me the easiest solution.  3.  I'm semi-new to this
Internets/webmaster thing, and really only know front-end coding, so a
solution involving something like .NET, Python, etc. would have to have,
How to make a peanut butter sandwich, kind of documentation.

Right now, I've just manually coded our hours, which is fine until Saturday
when our hours change, and I'm not here (hopefully).  I will be super
grateful for insight or knowledge.

Mary.

Mary Hanlin
Electronic Resources and Web Librarian
J. Sargeant Reynolds Community College
Phone:804.523.5323
Email: mhan...@reynolds.edu


Re: [CODE4LIB] Library Hours Fail

2014-11-19 Thread Sarah Park
Josh, 

A nice job. I like how you integrated the hours in your homepage, too. 
For people who did not see it: https://library.ucmo.edu/

I helped a friend upgrading a hours calendar to API v3 from API v2 last night. 
The major difference between v2 and. v3 is the returned data is changed from 
Atom feed to JSon, in addition to the requirement of OAuth authorization. I 
added OAuth code (following the Google's example) first. Then, I changed a few 
lines and property names in the listEvents function to parse the data 
correctly. 

This is what I came up with. The source code is written in JavaScript.
http://bit.ly/nwlivecalendar (see the libhours.js file in the source code)

Sarah Park

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Joshua 
Welker
Sent: Wednesday, November 19, 2014 8:39 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Library Hours Fail

I have a solution running that is compatible with API V3 but it is pretty 
specific to Ruby on Rails. The idea is to use Google's iCal interface rather 
than the API. iCal is going to stay the same no matter how many iterations the 
API goes through. You basically just need to find an iCal parsing library for 
whatever language you are using. The only problem is that Google does a bad job 
with exceptions to recurrence rules (rrules). Instead of editing a single event 
in a repeating series, you have to delete that event and re-add it as a 
separate event.

https://gist.github.com/jswelker/04997f378d9bc02311d2

In this example, I have a MySQL table listing several Google Calendars and the 
URL given for their iCal files in the calendar settings page. It loops through 
each calendar, fetches the iCal, parses it, and saves the resulting hours to a 
separate Events table. This might be more complicated than people are wanting.

Josh Welker


-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Heller, 
Margaret
Sent: Tuesday, November 18, 2014 4:51 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Library Hours Fail

Wish I had checked the list this morning, as I just discovered we had the same 
problem. We have been using Andrew Darby's method outlined here:
http://journal.code4lib.org/articles/46.

Is there by any chance someone using this method who happened to know the V2 
API was being deprecated who already updated their app to V3?

If not anyone who wants to work on getting this to work tomorrow?

Margaret Heller
Digital Services Librarian
Loyola University Chicago
773-508-2686

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Mary E. 
Hanlin
Sent: Tuesday, November 18, 2014 8:19 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] Library Hours Fail

Hi All,

I know this has been covered a bit here, but I have a rather exigent conundrum, 
and I'm hoping to figure out the best/easiest solution.
Yesterday, the script to hour library hours (on our front page) which pulls 
from Google calendar stopped working (Error at line undefined in undefined[!] 
- the exclamation point is mine; it seemed like it needed
one.)

Basically, the code came from a site that walked one through how to call daily 
hours (javascript) using Google's V2 API, but the V2 is fully deprecated (as I 
abruptly discovered), and I need to figure out another solution.  (I haven't 
been able to find similar documentation for V3's API.)

Some constraints: 1. Our IT will not support php.We are an .NET shop
with IIS servers.  2. We may not have the dough to pay for something like 
LibCal which seems to me the easiest solution.  3.  I'm semi-new to this 
Internets/webmaster thing, and really only know front-end coding, so a 
solution involving something like .NET, Python, etc. would have to have, How 
to make a peanut butter sandwich, kind of documentation.

Right now, I've just manually coded our hours, which is fine until Saturday 
when our hours change, and I'm not here (hopefully).  I will be super grateful 
for insight or knowledge.

Mary.

Mary Hanlin
Electronic Resources and Web Librarian
J. Sargeant Reynolds Community College
Phone:804.523.5323
Email: mhan...@reynolds.edu


Re: [CODE4LIB] Library Hours Fail

2014-11-19 Thread Brad Coffield
Heidi: You just made my day. I hadn't realized we could run that through
libcal. We have a couple calendars through them but have never used them. I
have the weekly javascript option (like Nick mentioned) running our Today's
Hours now and I'm so excited that I'll be able to set it and forget it for
the whole year (instead of changing every time there's a schedule deviation
- and then changing back.)

woohoo!

On Wed, Nov 19, 2014 at 11:07 AM, Sarah Park gp...@siue.edu wrote:

 Josh,

 A nice job. I like how you integrated the hours in your homepage, too.
 For people who did not see it: https://library.ucmo.edu/

 I helped a friend upgrading a hours calendar to API v3 from API v2 last
 night. The major difference between v2 and. v3 is the returned data is
 changed from Atom feed to JSon, in addition to the requirement of OAuth
 authorization. I added OAuth code (following the Google's example) first.
 Then, I changed a few lines and property names in the listEvents function
 to parse the data correctly.

 This is what I came up with. The source code is written in JavaScript.
 http://bit.ly/nwlivecalendar (see the libhours.js file in the source code)

 Sarah Park

 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Joshua Welker
 Sent: Wednesday, November 19, 2014 8:39 AM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] Library Hours Fail

 I have a solution running that is compatible with API V3 but it is pretty
 specific to Ruby on Rails. The idea is to use Google's iCal interface
 rather than the API. iCal is going to stay the same no matter how many
 iterations the API goes through. You basically just need to find an iCal
 parsing library for whatever language you are using. The only problem is
 that Google does a bad job with exceptions to recurrence rules (rrules).
 Instead of editing a single event in a repeating series, you have to delete
 that event and re-add it as a separate event.

 https://gist.github.com/jswelker/04997f378d9bc02311d2

 In this example, I have a MySQL table listing several Google Calendars and
 the URL given for their iCal files in the calendar settings page. It loops
 through each calendar, fetches the iCal, parses it, and saves the resulting
 hours to a separate Events table. This might be more complicated than
 people are wanting.

 Josh Welker


 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Heller, Margaret
 Sent: Tuesday, November 18, 2014 4:51 PM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] Library Hours Fail

 Wish I had checked the list this morning, as I just discovered we had the
 same problem. We have been using Andrew Darby's method outlined here:
 http://journal.code4lib.org/articles/46.

 Is there by any chance someone using this method who happened to know the
 V2 API was being deprecated who already updated their app to V3?

 If not anyone who wants to work on getting this to work tomorrow?

 Margaret Heller
 Digital Services Librarian
 Loyola University Chicago
 773-508-2686

 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Mary E. Hanlin
 Sent: Tuesday, November 18, 2014 8:19 AM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: [CODE4LIB] Library Hours Fail

 Hi All,

 I know this has been covered a bit here, but I have a rather exigent
 conundrum, and I'm hoping to figure out the best/easiest solution.
 Yesterday, the script to hour library hours (on our front page) which
 pulls from Google calendar stopped working (Error at line undefined in
 undefined[!] - the exclamation point is mine; it seemed like it needed
 one.)

 Basically, the code came from a site that walked one through how to call
 daily hours (javascript) using Google's V2 API, but the V2 is fully
 deprecated (as I abruptly discovered), and I need to figure out another
 solution.  (I haven't been able to find similar documentation for V3's API.)

 Some constraints: 1. Our IT will not support php.We are an .NET shop
 with IIS servers.  2. We may not have the dough to pay for something like
 LibCal which seems to me the easiest solution.  3.  I'm semi-new to this
 Internets/webmaster thing, and really only know front-end coding, so a
 solution involving something like .NET, Python, etc. would have to have,
 How to make a peanut butter sandwich, kind of documentation.

 Right now, I've just manually coded our hours, which is fine until
 Saturday when our hours change, and I'm not here (hopefully).  I will be
 super grateful for insight or knowledge.

 Mary.

 Mary Hanlin
 Electronic Resources and Web Librarian
 J. Sargeant Reynolds Community College
 Phone:804.523.5323
 Email: mhan...@reynolds.edu




-- 
Brad Coffield, MLIS
Assistant Information and Web Services Librarian
Saint Francis University
814-472-3315
bcoffi...@francis.edu


[CODE4LIB] Library Hours Fail

2014-11-18 Thread Mary E. Hanlin
Hi All,

I know this has been covered a bit here, but I have a rather exigent conundrum, 
and I'm hoping to figure out the best/easiest solution.  Yesterday, the script 
to hour library hours (on our front page) which pulls from Google calendar 
stopped working (Error at line undefined in undefined[!] - the exclamation 
point is mine; it seemed like it needed one.)  

Basically, the code came from a site that walked one through how to call daily 
hours (javascript) using Google's V2 API, but the V2 is fully deprecated (as I 
abruptly discovered), and I need to figure out another solution.  (I haven't 
been able to find similar documentation for V3's API.) 

Some constraints: 1. Our IT will not support php.We are an .NET shop with 
IIS servers.  2. We may not have the dough to pay for something like LibCal 
which seems to me the easiest solution.  3.  I'm semi-new to this 
Internets/webmaster thing, and really only know front-end coding, so a 
solution involving something like .NET, Python, etc. would have to have, How 
to make a peanut butter sandwich, kind of documentation.  

Right now, I've just manually coded our hours, which is fine until Saturday 
when our hours change, and I'm not here (hopefully).  I will be super grateful 
for insight or knowledge.  

Mary.

Mary Hanlin
Electronic Resources and Web Librarian
J. Sargeant Reynolds Community College
Phone:804.523.5323
Email: mhan...@reynolds.edu


Re: [CODE4LIB] Library Hours Fail

2014-11-18 Thread Nick Szydlowski
Hi Mary,

This is probably not the best solution, but it is easy.  The javascript
below gives you a week of hours and displays only the current day, so you
only have to update it when the weekly hours change.  This is what we use
on our site (http://www.bc.edu/schools/law/library.html).

p
Today's Library Hours:br

script type=text/javascript
var Sunday='10AM - 11:45PM';
var Monday = '7:30AM - 11:45PM';
var Tuesday = '7:30AM - 11:45PM';
var Wednesday = '7:30AM - 11:45PM';
var Thursday = '7:30AM - 11:45PM';
var Friday = '7:30AM - 10PM';
var Saturday = '9AM - 10PM';

 function Hours (n) {
   this.length = n;
   for (var i =1; i = n; i++) {
 this[i] = ' '
   }
 }
hours = new Array(7);
hours[0] = Sunday
hours[1] = Monday
hours[2] = Tuesday
hours[3] = Wednesday
hours[4] = Thursday
hours[5] = Friday
hours[6] = Saturday
var currentdate = new Date();
var daynumber = currentdate.getDay();
document.write(hours[daynumber]);
/script
br
a
href=/content/dam/files/schools/law_sites/library/pdf/Hours.pdfDetailed
Listing of Hours/a/p

I hope that helps, even if its just a short-term solution.

Best,
Nick


Nick Szydlowski
Digital Initiatives and Scholarly Communication Librarian
Boston College Law School
617 552-4474

On Tue, Nov 18, 2014 at 9:18 AM, Mary E. Hanlin mhan...@reynolds.edu
wrote:

 Hi All,

 I know this has been covered a bit here, but I have a rather exigent
 conundrum, and I'm hoping to figure out the best/easiest solution.
 Yesterday, the script to hour library hours (on our front page) which pulls
 from Google calendar stopped working (Error at line undefined in
 undefined[!] - the exclamation point is mine; it seemed like it needed
 one.)

 Basically, the code came from a site that walked one through how to call
 daily hours (javascript) using Google's V2 API, but the V2 is fully
 deprecated (as I abruptly discovered), and I need to figure out another
 solution.  (I haven't been able to find similar documentation for V3's API.)

 Some constraints: 1. Our IT will not support php.We are an .NET shop
 with IIS servers.  2. We may not have the dough to pay for something like
 LibCal which seems to me the easiest solution.  3.  I'm semi-new to this
 Internets/webmaster thing, and really only know front-end coding, so a
 solution involving something like .NET, Python, etc. would have to have,
 How to make a peanut butter sandwich, kind of documentation.

 Right now, I've just manually coded our hours, which is fine until
 Saturday when our hours change, and I'm not here (hopefully).  I will be
 super grateful for insight or knowledge.

 Mary.

 Mary Hanlin
 Electronic Resources and Web Librarian
 J. Sargeant Reynolds Community College
 Phone:804.523.5323
 Email: mhan...@reynolds.edu



Re: [CODE4LIB] Library Hours Fail

2014-11-18 Thread Laura Robbins
Hi Mary,

Here's an asp script that I used to use to display our hours (
http://library.dowling.edu).  It has a feature to allow for predefined
closures.  It just needs to be called via javascript from the page you wish
to use it on.  We used to have a IIS server, but have recently changed over
to a linux one.  So, I had to rewrite it as php, but this always worked
reliably.

Take care,

Laura Pope Robbins
Dowling College


On Tue, Nov 18, 2014 at 9:18 AM, Mary E. Hanlin mhan...@reynolds.edu
wrote:

 Hi All,

 I know this has been covered a bit here, but I have a rather exigent
 conundrum, and I'm hoping to figure out the best/easiest solution.
 Yesterday, the script to hour library hours (on our front page) which pulls
 from Google calendar stopped working (Error at line undefined in
 undefined[!] - the exclamation point is mine; it seemed like it needed
 one.)

 Basically, the code came from a site that walked one through how to call
 daily hours (javascript) using Google's V2 API, but the V2 is fully
 deprecated (as I abruptly discovered), and I need to figure out another
 solution.  (I haven't been able to find similar documentation for V3's API.)

 Some constraints: 1. Our IT will not support php.We are an .NET shop
 with IIS servers.  2. We may not have the dough to pay for something like
 LibCal which seems to me the easiest solution.  3.  I'm semi-new to this
 Internets/webmaster thing, and really only know front-end coding, so a
 solution involving something like .NET, Python, etc. would have to have,
 How to make a peanut butter sandwich, kind of documentation.

 Right now, I've just manually coded our hours, which is fine until
 Saturday when our hours change, and I'm not here (hopefully).  I will be
 super grateful for insight or knowledge.

 Mary.

 Mary Hanlin
 Electronic Resources and Web Librarian
 J. Sargeant Reynolds Community College
 Phone:804.523.5323
 Email: mhan...@reynolds.edu



hours2.asp
Description: Binary data


Re: [CODE4LIB] Library Hours Fail

2014-11-18 Thread Doug Chestnut
Hi Mary,
I'm working up a web component that will do hours from a Google Cal.  It's
a bit alpha (and bleeding edge) given it's a web component and I haven't
gotten around to using it in production.  Feel free to ignore the rest of
this email.

example:
https://github.com/uvalib-components/uvalib-hours-ui/blob/master/uvalib-hours-ui.html
repo: https://github.com/uvalib-components/uvalib-hours-ui

Cheers,
--Doug

On Tue, Nov 18, 2014 at 9:42 AM, Laura Robbins pope...@gmail.com wrote:

 Hi Mary,

 Here's an asp script that I used to use to display our hours (
 http://library.dowling.edu).  It has a feature to allow for predefined
 closures.  It just needs to be called via javascript from the page you wish
 to use it on.  We used to have a IIS server, but have recently changed over
 to a linux one.  So, I had to rewrite it as php, but this always worked
 reliably.

 Take care,

 Laura Pope Robbins
 Dowling College


 On Tue, Nov 18, 2014 at 9:18 AM, Mary E. Hanlin mhan...@reynolds.edu
 wrote:

  Hi All,
 
  I know this has been covered a bit here, but I have a rather exigent
  conundrum, and I'm hoping to figure out the best/easiest solution.
  Yesterday, the script to hour library hours (on our front page) which
 pulls
  from Google calendar stopped working (Error at line undefined in
  undefined[!] - the exclamation point is mine; it seemed like it needed
  one.)
 
  Basically, the code came from a site that walked one through how to call
  daily hours (javascript) using Google's V2 API, but the V2 is fully
  deprecated (as I abruptly discovered), and I need to figure out another
  solution.  (I haven't been able to find similar documentation for V3's
 API.)
 
  Some constraints: 1. Our IT will not support php.We are an .NET shop
  with IIS servers.  2. We may not have the dough to pay for something like
  LibCal which seems to me the easiest solution.  3.  I'm semi-new to this
  Internets/webmaster thing, and really only know front-end coding, so a
  solution involving something like .NET, Python, etc. would have to have,
  How to make a peanut butter sandwich, kind of documentation.
 
  Right now, I've just manually coded our hours, which is fine until
  Saturday when our hours change, and I'm not here (hopefully).  I will be
  super grateful for insight or knowledge.
 
  Mary.
 
  Mary Hanlin
  Electronic Resources and Web Librarian
  J. Sargeant Reynolds Community College
  Phone:804.523.5323
  Email: mhan...@reynolds.edu
 



Re: [CODE4LIB] Library Hours Fail

2014-11-18 Thread Doug Chestnut
Sorry, fixed example link as my clipboard is acting up today:
http://uvalib-components.github.io/uvalib-hours-ui/components/uvalib-hours-ui/demo.html


On Tue, Nov 18, 2014 at 10:55 AM, Doug Chestnut dougchest...@gmail.com
wrote:

 Hi Mary,
 I'm working up a web component that will do hours from a Google Cal.  It's
 a bit alpha (and bleeding edge) given it's a web component and I haven't
 gotten around to using it in production.  Feel free to ignore the rest of
 this email.

 example:
 https://github.com/uvalib-components/uvalib-hours-ui/blob/master/uvalib-hours-ui.html
 repo: https://github.com/uvalib-components/uvalib-hours-ui

 Cheers,
 --Doug

 On Tue, Nov 18, 2014 at 9:42 AM, Laura Robbins pope...@gmail.com wrote:

 Hi Mary,

 Here's an asp script that I used to use to display our hours (
 http://library.dowling.edu).  It has a feature to allow for predefined
 closures.  It just needs to be called via javascript from the page you
 wish
 to use it on.  We used to have a IIS server, but have recently changed
 over
 to a linux one.  So, I had to rewrite it as php, but this always worked
 reliably.

 Take care,

 Laura Pope Robbins
 Dowling College


 On Tue, Nov 18, 2014 at 9:18 AM, Mary E. Hanlin mhan...@reynolds.edu
 wrote:

  Hi All,
 
  I know this has been covered a bit here, but I have a rather exigent
  conundrum, and I'm hoping to figure out the best/easiest solution.
  Yesterday, the script to hour library hours (on our front page) which
 pulls
  from Google calendar stopped working (Error at line undefined in
  undefined[!] - the exclamation point is mine; it seemed like it needed
  one.)
 
  Basically, the code came from a site that walked one through how to call
  daily hours (javascript) using Google's V2 API, but the V2 is fully
  deprecated (as I abruptly discovered), and I need to figure out another
  solution.  (I haven't been able to find similar documentation for V3's
 API.)
 
  Some constraints: 1. Our IT will not support php.We are an .NET shop
  with IIS servers.  2. We may not have the dough to pay for something
 like
  LibCal which seems to me the easiest solution.  3.  I'm semi-new to this
  Internets/webmaster thing, and really only know front-end coding, so a
  solution involving something like .NET, Python, etc. would have to have,
  How to make a peanut butter sandwich, kind of documentation.
 
  Right now, I've just manually coded our hours, which is fine until
  Saturday when our hours change, and I'm not here (hopefully).  I will be
  super grateful for insight or knowledge.
 
  Mary.
 
  Mary Hanlin
  Electronic Resources and Web Librarian
  J. Sargeant Reynolds Community College
  Phone:804.523.5323
  Email: mhan...@reynolds.edu
 





Re: [CODE4LIB] Library Hours Fail

2014-11-18 Thread Heller, Margaret
Wish I had checked the list this morning, as I just discovered we had the same 
problem. We have been using Andrew Darby's method outlined here: 
http://journal.code4lib.org/articles/46. 

Is there by any chance someone using this method who happened to know the V2 
API was being deprecated who already updated their app to V3? 

If not anyone who wants to work on getting this to work tomorrow?

Margaret Heller
Digital Services Librarian
Loyola University Chicago
773-508-2686

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Mary E. 
Hanlin
Sent: Tuesday, November 18, 2014 8:19 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] Library Hours Fail

Hi All,

I know this has been covered a bit here, but I have a rather exigent conundrum, 
and I'm hoping to figure out the best/easiest solution.  Yesterday, the script 
to hour library hours (on our front page) which pulls from Google calendar 
stopped working (Error at line undefined in undefined[!] - the exclamation 
point is mine; it seemed like it needed one.)  

Basically, the code came from a site that walked one through how to call daily 
hours (javascript) using Google's V2 API, but the V2 is fully deprecated (as I 
abruptly discovered), and I need to figure out another solution.  (I haven't 
been able to find similar documentation for V3's API.) 

Some constraints: 1. Our IT will not support php.We are an .NET shop with 
IIS servers.  2. We may not have the dough to pay for something like LibCal 
which seems to me the easiest solution.  3.  I'm semi-new to this 
Internets/webmaster thing, and really only know front-end coding, so a 
solution involving something like .NET, Python, etc. would have to have, How 
to make a peanut butter sandwich, kind of documentation.  

Right now, I've just manually coded our hours, which is fine until Saturday 
when our hours change, and I'm not here (hopefully).  I will be super grateful 
for insight or knowledge.  

Mary.

Mary Hanlin
Electronic Resources and Web Librarian
J. Sargeant Reynolds Community College
Phone:804.523.5323
Email: mhan...@reynolds.edu


Re: [CODE4LIB] Library Hours Fail

2014-11-18 Thread Steven Pryor
** I sent this earlier today, but it didn't seem to go through, probably 
due to the attachment. I've replaced the previously attached source code 
with this online demo: http://codepen.io/troub/pen/VYYjxM/?editors=101 
** You can just grab the JS part and save it as a .js file and call that 
from your HTML (see below).


We used probably the same javascript code (I remember I adapted it from 
some example buried somewhere in the Google documentation universe). I 
looked at it today and the attached code should work to get going with 
the Calendar API v3 (.txt extension added to avoid getting flagged as 
active code or something).


Like before, you'll need to have a couple of things in your HTML; divs 
that get updated with the content:


div id=calendarTitle style=font-weight:boldLoading Today's Hours/div

div id=eventsi class=fa fa-refresh fa-spin/i/div


And the script source and a call to the Google Client API code:

script type=text/javascript src=/calendar-v3.js /script

script 
src=https://apis.google.com/js/client.js?onload=handleClientLoad;/script


You'll need to make sure you set up a project in the Google Developers 
Console ( https://console.developers.google.com ) and enable the 
Calendar API, then create a browser API key to use in the attached 
script file (somehow the v2 code always worked for us without an actual 
API key, if you were already using one you're halfway there). The .js 
code has the whole bit included for OAuth 2.0 authentication (the 
clientId and scopes variables, and all the Auth functions), which as I 
was trying to work this all out seemed necessary at first, but then once 
I got it all working I was able to shortcut past it. Make sure your 
website address(es) are listed as allowed referers on your API key, too.


This is working for us now, and even though it took a while to work 
through exactly what was expected from the API, the new code is much 
simpler than the old, even with the OAuth stuff in there.


Steven
-
/Steven Pryor
Director of Digital Initiatives and Technologies
Library and Information Services
Southern Illinois University Edwardsville
(618) 650-3080
stpr...@siue.edu /

On 11/18/2014 8:18 AM, Mary E. Hanlin wrote:

Hi All,

I know this has been covered a bit here, but I have a rather exigent conundrum, and I'm 
hoping to figure out the best/easiest solution.  Yesterday, the script to hour library 
hours (on our front page) which pulls from Google calendar stopped working (Error 
at line undefined in undefined[!] - the exclamation point is mine; it seemed like 
it needed one.)

Basically, the code came from a site that walked one through how to call daily 
hours (javascript) using Google's V2 API, but the V2 is fully deprecated (as I 
abruptly discovered), and I need to figure out another solution.  (I haven't 
been able to find similar documentation for V3's API.)

Some constraints: 1. Our IT will not support php.We are an .NET shop with IIS servers.  2. We 
may not have the dough to pay for something like LibCal which seems to me the easiest solution.  3. 
 I'm semi-new to this Internets/webmaster thing, and really only know front-end coding, 
so a solution involving something like .NET, Python, etc. would have to have, How to make a 
peanut butter sandwich, kind of documentation.

Right now, I've just manually coded our hours, which is fine until Saturday 
when our hours change, and I'm not here (hopefully).  I will be super grateful 
for insight or knowledge.

Mary.

Mary Hanlin
Electronic Resources and Web Librarian
J. Sargeant Reynolds Community College
Phone:804.523.5323
Email:mhan...@reynolds.edu


Re: [CODE4LIB] library hours database/tool?

2012-06-15 Thread Ron Gilmour
There's an Code4Lib journal on managing library hours with Google Calendar
here:

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

Ron Gilmour
Web Services Librarian
Ithaca College Library


On Thu, Jun 14, 2012 at 3:38 PM, Baksik, Corinna M. 
corinna_bak...@harvard.edu wrote:

 At Harvard we need to implement a new library hours database/tool. We have
 over 70 libraries and are looking for something that's easy for staff to
 update (~100 staff users), and has some form of API such that other sites
 (like the Med or Law school library sites), can access it so they don't
 have to update hours in multiple places. It needs to include amenities
 info, café hours, etc.  Preferably staff could set default hours and then
 override them when hours vary.
 Are there any libraries doing this that are using open-source software,
 and like what they have? (If you have a locally built system and like what
 you have, I'm interested in that too).
 Many thanks,
 Corinna

 Corinna Baksik
 Systems Librarian
 Library Technology Services
 Harvard University
 90 Mt. Auburn St.
 Cambridge, MA 02138
 617.495.3724



[CODE4LIB] library hours database/tool?

2012-06-14 Thread Baksik, Corinna M.
At Harvard we need to implement a new library hours database/tool. We have over 
70 libraries and are looking for something that's easy for staff to update 
(~100 staff users), and has some form of API such that other sites (like the 
Med or Law school library sites), can access it so they don't have to update 
hours in multiple places. It needs to include amenities info, café hours, etc.  
Preferably staff could set default hours and then override them when hours vary.
Are there any libraries doing this that are using open-source software, and 
like what they have? (If you have a locally built system and like what you 
have, I'm interested in that too).
Many thanks,
Corinna

Corinna Baksik
Systems Librarian
Library Technology Services
Harvard University
90 Mt. Auburn St.
Cambridge, MA 02138
617.495.3724


Re: [CODE4LIB] library hours database/tool?

2012-06-14 Thread Sean Hannan
I'm implementing this in Google Calendar. Easy to update for non-tech staff.
Easy to have multiple calendars (one per location), and the API is baked in.
Amenities info, etc. can be included in the notes field of the calendar
entry.

-Sean

---
Sean Hannan
Web Developer
Sheridan Libraries
Johns Hopkins University


On 6/14/12 3:38 PM, Baksik, Corinna M. corinna_bak...@harvard.edu wrote:

 At Harvard we need to implement a new library hours database/tool. We have
 over 70 libraries and are looking for something that's easy for staff to
 update (~100 staff users), and has some form of API such that other sites
 (like the Med or Law school library sites), can access it so they don't have
 to update hours in multiple places. It needs to include amenities info, café
 hours, etc.  Preferably staff could set default hours and then override them
 when hours vary.
 Are there any libraries doing this that are using open-source software, and
 like what they have? (If you have a locally built system and like what you
 have, I'm interested in that too).
 Many thanks,
 Corinna
 
 Corinna Baksik
 Systems Librarian
 Library Technology Services
 Harvard University
 90 Mt. Auburn St.
 Cambridge, MA 02138
 617.495.3724


Re: [CODE4LIB] library hours database/tool?

2012-06-14 Thread Shaun Ellis
I have used Google Calendar for personal projects and I agree that it's 
easy to use.  Here's some PHP code I've used to have Google Calendar 
power a simple calendar page:


https://github.com/media-uk/GCalPHP

However, I think that this is such a common task for university 
libraries that it would be a great project to collaborate on.  I could 
see it as a web service that other systems could use to not only post 
hours, but also validate scheduling inputs for room bookings, book 
request pickup, reading room delivery, etc.


-Shaun

On 6/14/12 3:54 PM, Sean Hannan wrote:

I'm implementing this in Google Calendar. Easy to update for non-tech staff.
Easy to have multiple calendars (one per location), and the API is baked in.
Amenities info, etc. can be included in the notes field of the calendar
entry.

-Sean

---
Sean Hannan
Web Developer
Sheridan Libraries
Johns Hopkins University


On 6/14/12 3:38 PM, Baksik, Corinna M.corinna_bak...@harvard.edu  wrote:


At Harvard we need to implement a new library hours database/tool. We have
over 70 libraries and are looking for something that's easy for staff to
update (~100 staff users), and has some form of API such that other sites
(like the Med or Law school library sites), can access it so they don't have
to update hours in multiple places. It needs to include amenities info, café
hours, etc.  Preferably staff could set default hours and then override them
when hours vary.
Are there any libraries doing this that are using open-source software, and
like what they have? (If you have a locally built system and like what you
have, I'm interested in that too).
Many thanks,
Corinna

Corinna Baksik
Systems Librarian
Library Technology Services
Harvard University
90 Mt. Auburn St.
Cambridge, MA 02138
617.495.3724


--
Shaun D. Ellis
Digital Library Interface Developer
Firestone Library, Princeton University
voice: 609.258.1698 | sha...@princeton.edu