Closed Andrew-J-Larson closed 3 years ago
Another issue I've noticed though is that the dates past a certain date are off by one day... which I'm not sure why that is, when using the api.
This is due to FDev using a real leap year date, when the fictional year they are representing is not a leap year.
Ah that would make a lot of sense then.
Looking at it further, it turns out that it's not really sorted by date, sadly. So you'd have to collect all the parts of the whole archive first before trying to sort.
On the plus side though, it would reduce your constant fetching of the website down to 7 fetches, at least for now, per check for new posts.
@kc9eye Also, this is what I mean. http://cms.elitedangerous.com/jsonapi/node/galnet_article?page[offset]=0&filter[field_galnet_date]=22%20AUG%203304
But that shows the posts that should be on 23 AUG 3304.
Perhaps you should talk to the owner of that site, can't help you with that.
I've tried Frontier Dev's contact email, but it keeps erroring for some weird reason, so instead I setup a forum account, and made a note about such an issue inside their normal api.
I talked to other third party devs that had captures of those days when articles came out, and it turns out that the date in the api should be correct, meaning that the archive website dates may be wrong for some articles... hopefully the devs will notice it sometime and fix it.
The link is: https://cms.elitedangerous.com/jsonapi/node/galnet_article
The only unfortunate thing is it's paginated and caped at 50 articles per page.
The best way to navigate each page is like so: (not in order by date unfortunately)
But since it's in a lot easier format to use, and less likely to change than a html page, it would probably be best to use this.