Page 1 of 1
Add releases info to website as meta tags
Posted: 11 Feb 2019 17:05
by Andrex
Hi, I noticed that the old
versions.txt file is not updated anymore, and the same applies to the
Releases page. Therefore my
OpenTTD Manager can no longer get updated version info.
Could it be possible to implement the following
meta tags in the
home page, to allow any third party to query versions info easily? Parsing the HTML from the different releases pages is not reliable nor practical. Here are the example tags I'd suggest:
Code: Select all
<meta name="stable-version" content="1.8.0" />
<meta name="stable-date" content="2018-04-01 13:07 UTC" />
<meta name="testing-version" content="1.9.0-beta2" />
<meta name="testing-date" content="2019-02-09 21:41 UTC" />
<meta name="master-version" content="20190210-master-g13af2b88b4" />
<meta name="master-date" content="2019-02-10 19:01 UTC" />
If this is not the right place to request this, kindly point me in the right direction... thanks!
Re: Add releases info to website as meta tags
Posted: 11 Feb 2019 18:17
by andythenorth
Re: Add releases info to website as meta tags
Posted: 11 Feb 2019 18:18
by peter1138
You could post your request to the website issue tracker here:
https://github.com/OpenTTD/website/issues
Re: Add releases info to website as meta tags
Posted: 11 Feb 2019 19:24
by planetmaker
https://openttd.ams3.digitaloceanspaces ... isting.txt can currently be used for nightlies.
There is an open issue on this matter:
https://github.com/OpenTTD/website/issues/48 (andy posted it, too; it also contains links for releases and testing)
Re: Add releases info to website as meta tags
Posted: 14 Feb 2019 22:46
by Andrex
Thanks... the
listing.txt files method is very nice, except that they don't provide any info whatsoever about latest
stable version.
Also, why are they located in such weird URL like
openttd.ams3.digitaloceanspaces.com? It does not look like a very stable/permanent URL... can someone request these files to be hosted on
www.openttd.org instead?
I assume OpenTTD.org is automatically updated with stable/testing/nightly version releases, where does that info come from exactly? I'd like to implement an XML file using PHP to solve this issue, if possible. Is there someone in charge of the site that I could contact? Thanks
Re: Add releases info to website as meta tags
Posted: 15 Feb 2019 09:24
by planetmaker
Andrex wrote:Thanks... the
listing.txt files method is very nice, except that they don't provide any info whatsoever about latest
stable version.
Also, why are they located in such weird URL like
openttd.ams3.digitaloceanspaces.com? It does not look like a very stable/permanent URL... can someone request these files to be hosted on
www.openttd.org instead?
I assume OpenTTD.org is automatically updated with stable/testing/nightly version releases, where does that info come from exactly? I'd like to implement an XML file using PHP to solve this issue, if possible. Is there someone in charge of the site that I could contact? Thanks
I very much suggest to have these discussions actually in public either here on in the issues of github on our website's repository - that's the place also "we" do all our discussion additional to sometimes IRC. If you feel like you can contribute to make OpenTTD offer better service, any help in this matter is very much welcome.
Repo for website source:
https://github.com/OpenTTD/website
Our binaries are built using MS' azure pipelines - their build and deployment instructions are all in the compile farm's repository at
https://github.com/OpenTTD/CompileFarm and our proxy repo might be a place to look at, too:
https://github.com/OpenTTD/binaries-proxy
(Personally I cannot say I have yet understood how it all exactly interacts... the most knowledgable person is TrueBrain... but as said: asking also detailed questions publicly makes sure that more can learn than just one)