Add releases info to website as meta tags

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
Andrex
Tycoon
Tycoon
Posts: 1308
Joined: 22 Nov 2002 05:08
Contact:

Add releases info to website as meta tags

Post by Andrex » 11 Feb 2019 17:05

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!


peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1646
Joined: 30 Mar 2005 09:43

Re: Add releases info to website as meta tags

Post by peter1138 » 11 Feb 2019 18:18

You could post your request to the website issue tracker here:

https://github.com/OpenTTD/website/issues
He's like, some kind of OpenTTD developer.

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9293
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Add releases info to website as meta tags

Post by planetmaker » 11 Feb 2019 19:24

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)

User avatar
Andrex
Tycoon
Tycoon
Posts: 1308
Joined: 22 Nov 2002 05:08
Contact:

Re: Add releases info to website as meta tags

Post by Andrex » 14 Feb 2019 22:46

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

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9293
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Add releases info to website as meta tags

Post by planetmaker » 15 Feb 2019 09:24

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)

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 6 guests