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 |
|---|---|---|---|
| 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 | |
| d*u*d*c*o*u*i*n*.com | F | 2026-04-30 21:36:47 | |
| p*o*o*r*p*t*e*o*n.com (WP 6.9.4) | F | 2026-04-28 03:55:11 | |
| s*a*a*t*o.org (WP 6.9.4) | F | 2026-04-26 21:28:39 | |
| m*r*l*s*s*r*l*a*.a*t*o*l*a*a.es (WP 6.8.5) | F | 2026-04-26 20:26:31 | |
| s*e*n*r*u*d*-*e*d*n.de (WP 6.9.4) | F | 2026-04-26 06:29:26 | |
| a*t*o*i*h*r*c.com (WP 6.9.4) | F | 2026-04-25 13:43:15 | |
| a*t*o*c*g*a*x.com (WP 6.9.4) | F | 2026-04-25 10:15:21 | |
| a*t*o*o*r*i*e.fr (WP 6.8.5) | F | 2026-04-24 11:19:10 | |
| h*r.cz (WP 5.2.21) | F | 2026-04-22 21:01:50 | |
| a*t*c*l*d*a*t*o*o*i*.com | F | 2026-04-22 18:15:31 | |
| p*a*e*e*p*d.nl (WP 6.9.4) | F | 2026-04-22 13:43:07 | |
| s*i*t*a*t*n*e*t*a.fr | F | 2026-04-21 20:01:05 | |
| m*r*y*e*t*g*i*.com | F | 2026-04-21 09:40:59 | |
| d*e*-*o*m*s.com | F | 2026-04-17 06:30:01 | |
| m*s*e*-*n*l*e*c*r.com | D | 2026-04-15 10:09:04 | |
| h*r*i*c*u*t*s*y*a*c*e*.com (WP 6.9.4) | F | 2026-04-14 12:39:26 | |
| r*h*n*m*r*a*.org (WP 6.6.2) | F | 2026-04-11 13:06:21 | |
| v*l*a*l*n*s*e*n*a*t*.at | F | 2026-04-10 05:27:58 | |
| g*o*t*c*e*p*n*.com | F | 2026-04-08 03:50:34 | |
| c*r*a*t*o*o*y*l*b.com | F | 2026-04-07 12:38:02 | |
| r*h*.org | β | 2026-03-27 15:11:24 | |
| j*r*t*e*s.net (WP 6.9.4) | β | 2026-03-27 07:28:23 | |
| w*s*c*a*t*s*r*.com | β | 2025-11-11 11:18:05 | |
| s*o*t*a*t*o*a*e.com | β | 2025-11-10 09:05:44 | |
| m*-*t*r*a*i*g.com | β | 2025-11-09 08:37:34 | |
| j*r*t*e*s.com | β | 2025-11-08 11:26:04 | |
| j*r*i*-*a*e*a*a.com | β | 2025-11-08 10:49:10 | |
| i*5*r*.com | β | 2025-11-08 10:03:16 | |
| e*l*c*i*m*m*w*t*h.com | β | 2025-11-07 09:23:27 |
Page 1 of 1