From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-weather for openweathermap.org
Date: Mon, 16 Jun 2014 11:47:43 -0400 [thread overview]
Message-ID: <87ppi8x3ds.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: m2ha3kdiis.fsf@dhcp-164-248.ee.rochester.edu
mdoyley@ur.rochester.edu (Doyley, Marvin) writes:
> I love this app, but there is only one snag. Changing the temperature units
> from Celsius to Fahrenheit doesn't work. I get the same results regards
> of the units in specified in the org-weather-unit variable
[I don't have an org-weather-unit variable, so I presume you mean
org-weather-temperature-unit.]
Yes, one needs to change the API URL as well to get different units:
,----
| (defvar org-weather-api-url "http://api.openweathermap.org/data/2.5/forecast/daily?q=%s&mode=json&units=metric&cnt=7")
`----
AFAICT, they provide "metric", "imperial" and "internal" (don't know
what the last one means).
org-weather.el itself does not do any units conversions.
Nick
next prev parent reply other threads:[~2014-06-16 15:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-14 13:11 org-weather for openweathermap.org Chris Raschl
2014-06-14 13:41 ` Fletcher Charest
2014-06-14 14:02 ` Thorsten Jolitz
2014-06-15 9:47 ` Chris Raschl
2014-06-15 11:54 ` Thorsten Jolitz
2014-06-16 10:07 ` Ian Barton
2014-06-16 10:45 ` Thorsten Jolitz
2014-06-16 15:04 ` Ian Barton
2014-06-17 10:34 ` Thorsten Jolitz
2014-06-16 9:59 ` Thorsten Jolitz
2014-06-16 8:04 ` Rüdiger Sonderfeld
2014-06-16 13:10 ` Alan Schmitt
2014-06-27 12:50 ` Andreas Leha
2014-06-16 14:40 ` Doyley, Marvin
2014-06-16 15:47 ` Nick Dokos [this message]
2014-06-16 16:11 ` Doyley, Marvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ppi8x3ds.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.