Open BeckerWdf opened 8 months ago
The PMC decided a while ago that we should migrate the PHP / HTML page to markdown (or Asccidoc) so make it easier to maintain. Similar to the UX guidelines we could generate HTML from them. So far nobody had time to do this conversion. I would be IMHO much easier to maintain than writing HTML code.
I guess everybody would be willing to write new stuff in markdown. The main question to me is if the old N&Ns need to be converted - which probably does not make fun. For me it would be fine if old N&N would still be in the repository but not populated to the webpage anymore.
It’s mostly already html with a little bit of php wrapper. Perhaps some JavaScript magic could be used instead to render it.
It’s mostly already html with a little bit of php wrapper. Perhaps some JavaScript magic could be used instead to render it.
Can you explain what this wrapper does and why it's needed?
For me it would be fine if old N&N would still be in the repository but not populated to the webpage anymore.
Yes, it's OK to not bother too much about older N&N stuff and not worth wasting effort in a conversion to markdown. Also, I believe that the links to plain html page would still work even if PHP is retired, eg https://eclipse.dev/eclipse/news/4.12/platform.html doesn't use PHP. So as there is no strong payload in PHP files, when EF retires PHP, we can either ignore it, or just remove all php files from the N&N repo and site.
@BeckerWdf
Just compare this page
https://eclipse.dev/eclipse/news/4.31/platform.html
to this page:
https://eclipse.dev/eclipse/news/4.31/platform.php
which just does this wrapping to create the common theming/scaffolding:
There must be another way to do that without statically copying the entire scaffolding. We might ask the Foundation experts about that...
There must be another way to do that without statically copying the entire scaffolding. We might ask the Foundation experts about that...
I agree that this must be possible. Should I ask in the linked gitlab-ticket?
I agree that this must be possible. Should I ask in the linked gitlab-ticket?
Yes, let's ask there. It's of course in the Foundation's best interest too that we are able to present a common, modern, look-and-feel...
I agree that this must be possible. Should I ask in the linked gitlab-ticket?
Yes, let's ask there. It's of course in the Foundation's best interest too that we are able to present a common, modern, look-and-feel...
I asked there: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1934#note_1754553
The Acknowledgement page also uses PHP
Eclipse Foundation proposes to retire PHP. See: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1934 and the following mail on the eclipse.org-committers mailing list:
The New & Noteworthy document uses some PHP. E.g. see: https://eclipse.dev/eclipse/news/4.31/platform.php
I even don't know what these PHP scripts do. Can't we simply produce static HTML files instead?