acant / library_cal

A Ruby gem to scrape public library web interfaces and create a simple iCal stream of your due dates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LibraryCal

A Ruby gem to scrape public library web interfaces and create a simple iCal stream of your due dates. The intended usage is to run the gem periodically, with cron for exampke, and save the resulting iCal stream to a location where you calendar can read it.

The command-line arguments are:

 library_cal LIBRARY_NAME [ARGUMENTS]

Currently supports the following libraries:

Research

Backlog

  • add logout to the KPL handler
  • add handler for Waterloo Public Library
  • add handler for Toronto Public Library
  • add option to include the libraries and arguments into a YAML file
  • add option for specifying a file in an argument, instead of STDOUT
  • allow multiple libraries in one ical feed
  • review and improve exception handling
  • add a spec for LibraryCal.run
  • add documentation and sample configuration about how to run the gem
  • add a Cucumber test for the CLI (try using Aruba)

About

A Ruby gem to scrape public library web interfaces and create a simple iCal stream of your due dates.


Languages

Language:Ruby 100.0%