The Stars at Night
This plugin displays data of interest to amateur astronomers. It is calculated from user-provided location and date information.
The plugin is called from a WordPress shortcode, and the parameters are specified in the shortcode. The following parameters are
required, in any order:
- lat : Lattitude of location in fractional degrees (e.g. 30.8910). Positive is north, negative is south of equator
- long : Longitude of location in fractional degrees (e.g.-98.4265). Positive is east, negative is west of the UTC line
- timezone : Timezone name, must be value recognized by PHP. See http://php.net/manual/en/timezones.php
These parameters are optional:
- name : The name of the location to be calculated
- days : The number of days of data to display. Must be a value from 1 to 10. Defaults to 3 if not specified.
Shortcode Examples:
- stars-at-night name=Chennai lat=13.08 long=80.26 timezone=Asia/Kolkata days=1
- stars-at-night name=”COE Observing Field” lat=30.891 long=-97.4265 timezone=America/Chicago days=10
You can also display the individual data tables via more specific shortcodes:
- stars-at-night-sun-moon name=”Mount Kilimanjaro” lat=-2.55 long=37.55 timezone=Africa/Nairobi
- stars-at-night-planets name=”Ushuaia” lat=-54.8 long=-68.33 timezone=America/Argentina/Ushuaia
- stars-at-night-iss name=”Mount Burnett Observatory” lat=-37.9 long=145.4 timezone=Australia/Melbourne days=7
The output consists of simple HTML tables:
- Sun/Moon table: The times for sunrise, sunset, moonrise, moonset, morning astronomical twilight, and evening astronomical twilight for the specified days (max 10 days).
- Planets table: The times and visibility for the planets, for the current day.
- ISS table: The times and directions for visible ISS passes over the specified days (max 10 days).
- (REMOVED) Iridium flares table: The times and directions for visible Iridium flares over the specified days (max 7 days).
You can view the plugin in action here: http://johnjleary.com/notforlong
Credits and Acknowledgements:
- Lunar images by Dan Morgan. Used with permission. http://DanMorgan.org.
- WordPress framework and sunrise/sunset algorithm: https://github.com/bengreeley/sunrisesunset
- Moonrise and Moonset class (with a correction for timezone): http://dxprog.com/entry/calculate-moon-rise-and-set-in-php
- Moon phase class: https://github.com/solarissmoke/php-moon-phase
- Planetary, ISS and Iridium Flare tables are obtained by sending GET requests to: http://heavens-above.com (HTTP API used with permission)
- Per-table shortcodes implemented by Peter Lieverdink
Contributors
stleary
Peter Lieverdink
| Domain | Exposures | Headers | Last Checked |
|---|---|---|---|
| t*s.o*g.nz (WP 6.9.4) | D | 2026-06-17 18:13:05 | |
| a*t*o*i*o*a.cat (WP 7.0) | F | 2026-06-17 00:49:05 | |
| a*l*n*e.t*o*a*d*p*w*r.org (WP 7.0) | F | 2026-06-16 06:47:42 | |
| a*t*o*n*o.se (WP 7.0) | F | 2026-06-15 22:14:55 | |
| i*v*s*i*a*i*n.a*t*o*n*r*r*o*.c*m.ar (WP 6.6.5) | F | 2026-06-13 13:31:39 | |
| a*l*n*e.o*g.es (WP 7.0) | F | 2026-06-12 20:46:18 | |
| a*t*o*o*i*u*.ca | F | 2026-06-08 10:33:47 | |
| a*t*o*c*g*a*x.com (WP 6.9.4) | F | 2026-05-30 11:20:10 | |
| m*r*l*s*s*r*l*a*.a*t*o*l*a*a.es (WP 6.8.5) | F | 2026-05-28 20:44:44 | |
| p*o*o*r*p*t*e*o*n.com (WP 7.0) | F | 2026-05-28 05:37:15 | |
| a*t*c*l*d*a*t*o*o*i*.com | F | 2026-05-27 12:42:15 | |
| a*t*o*o*r*i*e.fr (WP 6.8.5) | F | 2026-05-26 13:01:55 | |
| s*e*n*r*u*d*-*e*d*n.de (WP 6.9.4) | F | 2026-05-26 07:30:45 | |
| o*r*p*e*.com | F | 2026-05-26 05:10:18 | |
| m*r*y*e*t*g*i*.com | F | 2026-05-24 14:56:53 | |
| h*r.cz (WP 5.2.21) | F | 2026-05-23 18:09:23 | |
| p*a*e*e*p*d.nl (WP 6.9.4) | F | 2026-05-23 11:02:47 | |
| d*e*-*o*m*s.com | F | 2026-05-23 04:32:56 | |
| s*i*t*a*t*n*e*t*a.fr | F | 2026-05-22 18:17:01 | |
| b*r*n*a*o*s*r*a*o*y.c*m.au | F | 2026-05-20 11:40:38 | |
| m*s*e*-*n*l*e*c*r.com | D | 2026-05-17 16:57:06 | |
| h*r*i*c*u*t*s*y*a*c*e*.com (WP 6.9.4) | F | 2026-05-15 19:15:43 | |
| h*e*d*r*a*l*e*.cz (WP 5.2.21) | F | 2026-05-15 18:17:48 | |
| p*s*r*e*.a*h.cx (WP 6.9.4) | F | 2026-05-15 14:27:41 | |
| v*d*l*t*n*c*e*e*a*d.com (WP 6.3.8) | F | 2026-05-15 05:07:38 | |
| j*r*t*e*s.com (WP 6.9.4) | F | 2026-05-12 11:08:33 | |
| g*o*t*c*e*p*n*.com | F | 2026-05-11 22:12:16 | |
| r*h*n*m*r*a*.org (WP 6.6.2) | F | 2026-05-11 15:13:16 | |
| s*b*a*.org | F | 2026-05-11 04:11:39 | |
| j*r*i*-*a*e*a*a.com (WP 6.8.5) | F | 2026-05-10 09:24:21 | |
| v*l*a*l*n*s*e*n*a*t*.at | F | 2026-05-10 06:50:07 | |
| y*g*m.org | F | 2026-05-09 21:24:50 | |
| w*s*c*a*t*s*r*.com (WP 6.9.4) | F | 2026-05-09 14:22:49 | |
| s*o*t*a*t*o*a*e.com (WP 6.9.4) | D | 2026-05-07 21:48:21 | |
| j*r*t*e*s.net (WP 6.9.4) | F | 2026-05-06 22:01:24 | |
| u*a*i*3*.fr (WP 6.9.4) | F | 2026-05-06 17:29:50 | |
| m*f*n*b*.net (WP 6.9.4) | F | 2026-05-04 02:42:37 | |
| a*t*o*o*i*.at (WP 6.9.4) | D | 2026-05-02 15:50:05 | |
| i*i*.l*m.fr (WP 6.9.4) | F | 2026-05-02 13:34:24 |
Page 1 of 1