eclipse-platform / www.eclipse.org-eclipse

3 stars 46 forks source link

Migrate to HTML5? #43

Open laeubi opened 2 years ago

laeubi commented 2 years ago

HTML5 is a standard and well supported for years now but the news page still uses XHTML.

I'D like to propose we change to HTML5 for either this or the next release, there is a converter:

http://mynthon.net/tools/xhtml-to-html5/

and once we use HTML 5 we can use a github action to automatically check conformance: https://github.com/marketplace/actions/html5-validator

akurtakov commented 2 years ago

Sounds awesome - I've been running validator on some pages when editing them but having it as a validation step prior to commit would be awesome!

Bananeweizen commented 2 years ago

Does anyone know which HTML versions the local online help supports? The new and noteworthy is also integrated there and should still work after migration.

akurtakov commented 2 years ago

Whatever the system engine (IE, Safari, WebkitGTK) supports. I would dare to say all supported OSes now support HTML 5 so we should be safe.

laeubi commented 2 years ago

A browser not supporting the basic HTML5 features we use for help right now is actually unusable as of today ...

lshanmug commented 2 years ago

HTML5 is a standard and well supported for years now but the news page still uses XHTML.

I'D like to propose we change to HTML5 for either this or the next release, there is a converter:

http://mynthon.net/tools/xhtml-to-html5/

and once we use HTML 5 we can use a github action to automatically check conformance: https://github.com/marketplace/actions/html5-validator

+1 to enable automatic validation of the news content.

laeubi commented 2 years ago

@lshanmug as you pushed new template for the next releae, would you mind to convert on (or all) html files to html5 before there is any relevant content? e.g. http://mynthon.net/tools/xhtml-to-html5/

lshanmug commented 2 years ago

@lshanmug as you pushed new template for the next releae, would you mind to convert on (or all) html files to html5 before there is any relevant content? e.g. http://mynthon.net/tools/xhtml-to-html5/

Sorry, I already have a few things on my plate to look at. If required, I can help with converting the template html files later.