Update download urls (#93)

Closes issue #80.
This commit is contained in:
dave-kaye 2024-05-03 13:47:40 -05:00 committed by GitHub
parent cbce84148a
commit 25d9785659
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 13 deletions

View File

@ -744,11 +744,11 @@ String fallbacks[] = {
"XEphem*WCS.y: 10", "XEphem*WCS.y: 10",
"XEphem*WebDB*Pattern.value: ", "XEphem*WebDB*Pattern.value: ",
"XEphem*WebDB*Search.set: False", "XEphem*WebDB*Search.set: False",
"XEphem*WebDB*URL0.value: http://celestrak.org/NORAD/elements/stations.txt", "XEphem*WebDB*URL0.value: https://celestrak.org/NORAD/elements/stations.txt",
"XEphem*WebDB*URL1.value: http://celestrak.org/NORAD/elements/science.txt", "XEphem*WebDB*URL1.value: https://celestrak.org/NORAD/elements/science.txt",
"XEphem*WebDB*URL2.value: http://celestrak.org/NORAD/elements/tle-new.txt", "XEphem*WebDB*URL2.value: https://celestrak.org/NORAD/elements/tle-new.txt",
"XEphem*WebDB*URL3.value: http://celestrak.org/NORAD/elements/amateur.txt", "XEphem*WebDB*URL3.value: https://celestrak.org/NORAD/elements/amateur.txt",
"XEphem*WebDB*URL4.value: http://celestrak.org/NORAD/elements/visual.txt", "XEphem*WebDB*URL4.value: https://celestrak.org/NORAD/elements/visual.txt",
"XEphem*WebDB*URL5.value: https://www.minorplanetcenter.net/iau/Ephemerides/Comets/Soft03Cmt.txt", "XEphem*WebDB*URL5.value: https://www.minorplanetcenter.net/iau/Ephemerides/Comets/Soft03Cmt.txt",
"XEphem*WebDB*URL6.value: https://www.minorplanetcenter.net/iau/Ephemerides/CritList/Soft03CritList.txt", "XEphem*WebDB*URL6.value: https://www.minorplanetcenter.net/iau/Ephemerides/CritList/Soft03CritList.txt",
"XEphem*WebDB*URL7.value: https://www.minorplanetcenter.net/iau/Ephemerides/Distant/Soft03Distant.txt", "XEphem*WebDB*URL7.value: https://www.minorplanetcenter.net/iau/Ephemerides/Distant/Soft03Distant.txt",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -7991,7 +7991,7 @@ format if it is not already.<br>
<br> <br>
Several particularly useful sites as of this build are already entered. Several particularly useful sites as of this build are already entered.
The first five are from Dr. TS Kelso's Earth satellite lists at <a The first five are from Dr. TS Kelso's Earth satellite lists at <a
href="https://www.celestrak.org">celestrak.org</a>. The other four are href="https://celestrak.org">celestrak.org</a>. The other four are
the Minor Planet Center's lists of hot comets and unusual asteroids the Minor Planet Center's lists of hot comets and unusual asteroids
specially formatted for <a specially formatted for <a
href="https://www.minorplanetcenter.net/iau/Ephemerides/Soft03.html">XEphem</a>. href="https://www.minorplanetcenter.net/iau/Ephemerides/Soft03.html">XEphem</a>.
@ -7999,12 +7999,9 @@ Click <span style="font-weight: bold;">Get</span> beside the desired
catalog to download the file to the Private directory and catalog to download the file to the Private directory and
simultaneously load into XEphem memory.<br> simultaneously load into XEphem memory.<br>
<br> <br>
Special files created by Special files created by the <a
<!-- could not found the correct linke href="https://www.minorplanetcenter.net/data/">Minor Planet Center</a>
<a href="http://cfa-www.harvard.edu/cfa/ps/mpc.html">Minor Planet Center</a> and <a href="https://asteroid.lowell.edu/astorb/">Lowell
and
-->
the <a href="https://asteroid.lowell.edu/">Lowell
Observatory</a> may also be downloaded. Observatory</a> may also be downloaded.
Each organization maintains Each organization maintains
extensive lists of all known asteroids and produces on a regular basis extensive lists of all known asteroids and produces on a regular basis

View File

@ -158,7 +158,7 @@ wdb_create()
XtSetArg (args[n], XmNrightAttachment, XmATTACH_FORM); n++; XtSetArg (args[n], XmNrightAttachment, XmATTACH_FORM); n++;
tf_w = XmCreateTextField (f_w, buf, args, n); tf_w = XmCreateTextField (f_w, buf, args, n);
defaultTextFN (tf_w, 1, "", NULL); defaultTextFN (tf_w, 1, "", NULL);
wtip (tf_w, "URL of file to download (must use HTTP)"); wtip (tf_w, "URL of file to download (must use HTTP or HTTPS)");
XtManageChild (tf_w); XtManageChild (tf_w);
sprintf (buf, "XEphem*WebDB*URL%d.value", i); sprintf (buf, "XEphem*WebDB*URL%d.value", i);
sr_reg (tf_w, buf, wdbcategory, 1); sr_reg (tf_w, buf, wdbcategory, 1);