Transport for London meets Emacs Orgmode
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.rst
bus.svg
cam.svg
coach.svg Coach and river bus icon Jan 4, 2016
disruption.svg
dlr.svg
example-disambiguation-result.json
example-itinerary-result.json Add example responses. Jan 3, 2016
information.svg
location.svg
org-tfl.el
overground.svg
replacement-bus.svg
river-bus.svg
screencast1.gif
screencast2.gif
train.svg
tube.svg
walking.svg

README.rst

org-tfl

Use the Transport For London API in Emacs, powered org-mode.

This is an experimental project to use the Transport for London (TfL) API in combination with Emacs orgmode.

Installation

org-tfl is available on MELPA. At the moment svg support is required!

Screencast

https://raw.github.com/storax/org-tfl/master/screencast1.gif

Plan a journey and inspect the result in a buffer. View maps via google static maps.

https://raw.github.com/storax/org-tfl/master/screencast2.gif

Plan a journey and create a special link in org-mode. Loading the link will refresh the result.

Commands

Below are complete command list:

  • org-tfl-jp
    Plan a journey and view the result in a buffer.
  • org-tfl-jp-org
    Plan a journey and insert a subheading with a special link. The content is the journey result. Open the link to update it. Use the scheduling function of org mode to change the date. All other options are set via properties.

Customizable Options

Below are customizable option list:

  • org-tfl-api-id Your Application ID for the TfL API. You don't need one for personal use. It's IP locked anyway.
  • org-tfl-api-key Your Application KEY for the TfL API. You don't need one for personal use. It's IP locked anyway.
  • org-tfl-map-width The width in pixels of static maps.
  • org-tfl-map-height The height in pixels of static maps.
  • org-tfl-map-type The map type. E.g. "roadmap", "terrain", "satellite", "hybrid".
  • org-tfl-map-path-color The color of the path of static maps.
  • org-tfl-map-path-weight The storke weight of paths of static maps.
  • org-tfl-map-start-marker-color The path color of static maps.
  • org-tfl-map-start-marker-color The start marker color of static maps.
  • org-tfl-map-end-marker-color The end marker color of static maps.
  • org-tfl-time-format-string The format string to display time.
  • org-tfl-date-format-string The format string to display dates.

History

0.1.0 (2016-01-22)

  • Initial release

0.2.0 (2016-01-22)

  • Add static google maps with customization
  • Fix formatting

0.2.1 (2016-01-22)

  • Fix Package Header

0.2.2 (2016-01-22)

  • Remove url-http-parse-headers override

0.2.3 (2016-01-25)

  • Fix cl-lib usage (thanks Soyhei YOSHIDA)
  • Revert remobal of url-http-parse-headers override

0.3.0 (2016-01-29)

  • Remove helm dependency and use completing-read.

0.3.1 (2016-01-31)

  • Fix disambiguation check with VIA parameter.

0.3.2 (2016-02-24)

  • Use ampersand for Hammersmith & City line.

0.3.3 (2016-04-07)

  • Fix dlr icon size

0.3.4 (2016-11-20)

  • Fix map url (Thank you Colin!)

0.4.0 (2017-09-23)

  • Display maps inline instead of opening them in the browser.
  • Autoload org-tfl-jp and org-tfl-jp-org.