Skip to content

Commit

Permalink
Merge pull request #48 from stleary/release-1.9
Browse files Browse the repository at this point in the history
Release 1.9
  • Loading branch information
stleary authored Sep 11, 2021
2 parents dc3c333 + 901dc0e commit 701ec84
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ The plugin is activated by the shortcode \[stars-at-night\]. Here is an example:

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/EAT\]
\[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\]
* \[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\]

# Credits

Expand All @@ -28,6 +28,8 @@ http://dxprog.com/entry/calculate-moon-rise-and-set-in-php
https://github.com/solarissmoke/php-moon-phase
* The ISS and Iridium Flare tables are obtained by sending GET requests to:<br>
http://heavens-above.com (HTTP API used with permission)
* Per-table shortcodes implemented by Peter Lieverdink


This is a WordPress plugin, so it is written in PHP. Since it is available on the WordPress plugin directory, it is also stored in a SVN repository. However, this GitHub project is the single source of truth for the plugin.

Expand Down
Binary file added assets/screenshot-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 15 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: astronomy
Requires at least: 4.6
Requires PHP: 7.0
Tested up to: 5.8
Stable tag: 1.8.1
Stable tag: 1.9
License: MIT
License URI: https://opensource.org/licenses/MIT

Expand All @@ -31,11 +31,17 @@ These parameters are optional:
* 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.
* (DISABLED - will be restored later) ISS table: The times and directions for visible ISS passes over the specified days (max 10 days).
* 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](http://johnjleary.com/notforlong)
Expand All @@ -47,6 +53,7 @@ You can view the plugin in action here: [http://johnjleary.com/notforlong](http:
* 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

== Installation ==

Expand Down Expand Up @@ -83,10 +90,16 @@ More is coming. Stay tuned! If you have a specific request, let us know.

1. Sunrise and sunset table
2. Planet table
3. ISS table


== Changelog ==

= 1.9 =

Short codes to display a single table at a time.
Restore ISS table.

= 1.8.1 =

update change num
Expand Down
2 changes: 1 addition & 1 deletion stars-at-night.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Requires at least: 4.6
* Requires PHP: 7.0
* Tested up to: 5.8
* Version: 1.8.1
* Version: 1.9
* Author: Sean Leary
* Author URI: https://github.com/stleary/stars-at-night
*/
Expand Down

0 comments on commit 701ec84

Please sign in to comment.