feat: add landedin.space as source

dev
gravel 9 months ago
parent 3a7b739e5a
commit c18ef308d8
No known key found for this signature in database
GPG Key ID: CA95FFF4E0123903

@ -27,8 +27,9 @@ Communities displayed come from a variety of sources:
- <https://lokilocker.com/Mods/Session-Groups/wiki/Session-Open-Groups>,
- <https://github.com/GNU-Linux-libre/Awesome-Session-Group-List>,
- <https://freearkham.cc/>,
- <https://simplifiedprivacy.com/techgroups>
- [a few hardcoded servers found on the internet](php/servers/known-servers.php).
- <https://simplifiedprivacy.com/techgroups>,
- <https://junk.landedin.space/communities.html>,
- a few servers found on the internet.
Have a list we don't know about? [Shoot us a message](#contact-us).

@ -249,6 +249,7 @@
'SDIR-JSON' => 'https://session.directory/scrape.php',
'FARK' => 'https://freearkham.cc/',
'SIMP' => 'https://simplifiedprivacy.com/techgroups',
'LISP' => 'https://junk.landedin.space/communities.html',
);
private readonly string $contents_asgl;
@ -256,6 +257,7 @@
private readonly string $contents_sdir;
private readonly string $contents_fark;
private readonly string $contents_simp;
private readonly string $contents_lisp;
private readonly string $contents_aggregated;
/**
@ -283,6 +285,9 @@
log_info("Requesting SimplifiedPrivacy.com list...");
$this->contents_simp = CommunitySources::fetch_source('SIMP');
log_info("Requesting landedin.space list...");
$this->contents_lisp = CommunitySources::fetch_source('LISP');
log_info("Parsing extra information...");
if (!$this->process_sources()) {
log_error("Could not parse extra information from one or more sources.");
@ -295,6 +300,7 @@
$this->contents_fark .
$this->contents_loki .
$this->contents_simp .
$this->contents_lisp .
// Slashes are escaped when served, unescape them
str_replace("\\/", "/", $this->contents_sdir);
}

Loading…
Cancel
Save