Python : Improve handling of PubSub nodes, modularize code, and restore XMPP error message;

SVG    : Add icons of a plant and ReactOS;
TOML   : Modify references of DivestOS and ReactOS;
XHTML  : Modify F-Droid and DivestOS notices, and add a notice about ReactOS.
This commit is contained in:
Schimon Jehudah, Adv. 2024-10-22 16:34:39 +03:00
parent 644842ab6d
commit 7dda347ebc
5 changed files with 1958 additions and 268 deletions

View file

@ -31,7 +31,7 @@
</a>
</div>
<div id="action-bar">
<a href="/download/divestos" id="divestos">
<a href="/download/android" id="android">
Android
</a>
<a href="/download/apple" id="apple">
@ -46,7 +46,7 @@
<a href="/download/linux" id="linux">
Linux
</a>
<a href="/download/reactos" id="reactos">
<a href="/download/windows" id="windows">
Win
</a>
</div>
@ -55,79 +55,92 @@
<h1>XMPP Clients For {{title}}</h1>
{% if title == 'Apple' %}
<div id="security-notices">
<span class="notice">
<a href="/download/haiku">
<img src="/img/haiku.svg" />
</a>
<span>
Please refer to the section <a href="/download/haiku">XMPP
Clients For Haiku</a>, if you are using the Haiku operating
system.
<span class="notice">
<a href="/download/haiku">
<img src="/img/haiku.svg" />
</a>
<span>
Please refer to the section <a href="/download/haiku">XMPP
Clients For Haiku</a>, if you are using the Haiku operating
system.
</span>
</span>
</span>
</div>
{% endif %}
{% if title == 'DivestOS' %}
{% if title == 'Android' %}
<div id="security-notices">
<span class="notice">
<a href="https://divestos.org">
<img src="/img/divestos.svg" />
</a>
<span>
Due to constant attempts by smartphone manufacturers to
sabotage the functionalities of Android-based XMPP chat
clients; you are advised to install a secure Android ROM such
as <a href="https://divestos.org">DivestOS Mobile</a> to
guarantee a flawless and secure communication experience.
<span class="notice">
<a href="https://f-droid.org">
<img src="/img/fdroid.svg" />
</a>
<span>
We advise installing an XMPP client with the
<a href="https://f-droid.org">F-Droid</a> repository, to
ensure that you are always using the most updated and secure
version of your XMPP chat client of choice, with the latest
and best that XMPP has to offer.
<strong>(recommended)</strong>
</span>
</span>
</span>
<span class="notice">
<a href="https://f-droid.org">
<img src="/img/fdroid.svg" />
</a>
<span>
Due to recent incidents of censoring of XMPP clients from the
Android store, including of an outrageous banning of the app
<a href="https://blabber.im/">blabber.im</a> for grotesque and
preposterous alligations, you are further advised to obtain
your XMPP client from the open source store
<a href="https://f-droid.org">F-Droid</a>.
<span class="notice">
<a href="https://customrombay.org">
<img src="/img/plant.svg" />
</a>
<span>
We further suggest using an updated Android system. If your
smartphone manufacturer has ceased to provide updates,
please visit <a href="https://divestos.org">DivestOS
Mobile</a> or <a href="https://customrombay.org">
CustomRomBay</a> to find an updated version for your device.
<strong>(optional)</strong>
</span>
</span>
</span>
</div>
{% endif %}
{% if title == 'Haiku' %}
<div id="security-notices">
<span class="notice">
<img src="/img/haikudepot.svg" />
<span>
Most of the software that are listed here should be available
for you to install directly from desktop with HaikuDepot.
<span class="notice">
<img src="/img/haikudepot.svg" />
<span>
Most of the software that are listed here should be available
for you to install directly from desktop with HaikuDepot.
</span>
</span>
</span>
</div>
{% endif %}
{% if title == 'Linux' %}
<div id="security-notices">
<span class="notice">
<img src="/img/tux.svg" />
<span>
The listed XMPP clients, herein, are also usable with the
Linux systems that are designed for mobile devices, e.g.
<a href="https://droidian.org">Droidian</a>,
<a href="https://mobian.org">Mobian</a> and
<a href="https://postmarketos.org">postmarketOS</a>.
<span class="notice">
<img src="/img/tux.svg" />
<span>
The listed XMPP clients, herein, are also usable with the
Linux systems that are designed for mobile devices, e.g.
<a href="https://droidian.org">Droidian</a>,
<a href="https://mobian.org">Mobian</a> and
<a href="https://postmarketos.org">postmarketOS</a>.
</span>
</span>
</span>
<span class="notice">
<a href="/download/posix">
<img src="/img/posix.svg" />
</a>
<span>
Please refer to <a href="/download/posix">this page</a>, if
you prefer software with text based (i.e. console) interface.
<span class="notice">
<a href="/download/posix">
<img src="/img/posix.svg" />
</a>
<span>
Please refer to the section <a href="/download/posix">XMPP
Clients For POSIX</a>, if you prefer software with text
based (i.e. console) interface.
</span>
</span>
</div>
{% endif %}
{% if title == 'Windows' %}
<div id="security-notices">
<span class="notice">
<img src="/img/reactos.svg" />
<span>
The listed XMPP clients, herein, are compatible with the
<a href="https://reactos.org">ReactOS</a> operating system.
</span>
</span>
</span>
</div>
{% endif %}
<dl id="selection">