Skip to content

Commit 701ec84

Browse files
authored
Merge pull request #48 from stleary/release-1.9
Release 1.9
2 parents dc3c333 + 901dc0e commit 701ec84

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ The plugin is activated by the shortcode \[stars-at-night\]. Here is an example:
1313

1414
You can also display the individual data tables via more specific shortcodes:
1515

16-
\[stars-at-night-sun-moon name=\"Mount Kilimanjaro\" lat=-2.55 long=37.55 timezone=Africa/EAT\]
17-
\[stars-at-night-planets name=\"Ushuaia\" lat=-54.8 long=-68.33 timezone=America/Argentina/Ushuaia\]
18-
\[stars-at-night-iss name=\"Mount Burnett Observatory\" lat=-37.9 long=145.4 timezone=Australia/Melbourne days=7\]
16+
* \[stars-at-night-sun-moon name=\"Mount Kilimanjaro\" lat=-2.55 long=37.55 timezone=Africa/Nairobi\]
17+
* \[stars-at-night-planets name=\"Ushuaia\" lat=-54.8 long=-68.33 timezone=America/Argentina/Ushuaia\]
18+
* \[stars-at-night-iss name=\"Mount Burnett Observatory\" lat=-37.9 long=145.4 timezone=Australia/Melbourne days=7\]
1919

2020
# Credits
2121

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

3234
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.
3335

assets/screenshot-3.jpg

52.6 KB
Loading

readme.txt

+15-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: astronomy
55
Requires at least: 4.6
66
Requires PHP: 7.0
77
Tested up to: 5.8
8-
Stable tag: 1.8.1
8+
Stable tag: 1.9
99
License: MIT
1010
License URI: https://opensource.org/licenses/MIT
1111

@@ -31,11 +31,17 @@ These parameters are optional:
3131
* stars-at-night name=Chennai lat=13.08 long=80.26 timezone=Asia/Kolkata days=1
3232
* stars-at-night name="COE Observing Field" lat=30.891 long=-97.4265 timezone=America/Chicago days=10
3333

34+
You can also display the individual data tables via more specific shortcodes:
35+
36+
* stars-at-night-sun-moon name="Mount Kilimanjaro" lat=-2.55 long=37.55 timezone=Africa/Nairobi
37+
* stars-at-night-planets name="Ushuaia" lat=-54.8 long=-68.33 timezone=America/Argentina/Ushuaia
38+
* stars-at-night-iss name="Mount Burnett Observatory" lat=-37.9 long=145.4 timezone=Australia/Melbourne days=7
39+
3440
The output consists of simple HTML tables:
3541

3642
* Sun/Moon table: The times for sunrise, sunset, moonrise, moonset, morning astronomical twilight, and evening astronomical twilight for the specified days (max 10 days).
3743
* Planets table: The times and visibility for the planets, for the current day.
38-
* (DISABLED - will be restored later) ISS table: The times and directions for visible ISS passes over the specified days (max 10 days).
44+
* ISS table: The times and directions for visible ISS passes over the specified days (max 10 days).
3945
* (REMOVED) Iridium flares table: The times and directions for visible Iridium flares over the specified days (max 7 days).
4046

4147
You can view the plugin in action here: [http://johnjleary.com/notforlong](http://johnjleary.com/notforlong)
@@ -47,6 +53,7 @@ You can view the plugin in action here: [http://johnjleary.com/notforlong](http:
4753
* Moonrise and Moonset class (with a correction for timezone): http://dxprog.com/entry/calculate-moon-rise-and-set-in-php
4854
* Moon phase class: https://github.com/solarissmoke/php-moon-phase
4955
* Planetary, ISS and Iridium Flare tables are obtained by sending GET requests to: http://heavens-above.com (HTTP API used with permission)
56+
* Per-table shortcodes implemented by Peter Lieverdink
5057

5158
== Installation ==
5259

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

8491
1. Sunrise and sunset table
8592
2. Planet table
93+
3. ISS table
8694

8795

8896
== Changelog ==
8997

98+
= 1.9 =
99+
100+
Short codes to display a single table at a time.
101+
Restore ISS table.
102+
90103
= 1.8.1 =
91104

92105
update change num

stars-at-night.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Requires at least: 4.6
88
* Requires PHP: 7.0
99
* Tested up to: 5.8
10-
* Version: 1.8.1
10+
* Version: 1.9
1111
* Author: Sean Leary
1212
* Author URI: https://github.com/stleary/stars-at-night
1313
*/

0 commit comments

Comments
 (0)