diff --git a/README.md b/README.md index 22dc0f3..7226502 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ Communities displayed come from a variety of sources: - , - , - , +- , +- - [a few hardcoded servers found on the internet](php/servers/known-servers.php). ## Contributing diff --git a/php/servers/sources.php b/php/servers/sources.php index e1f356c..7c0c80c 100644 --- a/php/servers/sources.php +++ b/php/servers/sources.php @@ -226,13 +226,15 @@ 'SDIR-BASE' => 'https://session.directory/', 'SDIR-PATTERN' => '/view_session_group_user_lokinet\.php\?id=\d+/', 'SDIR-JSON' => 'https://session.directory/scrape.php', - 'FARK' => 'https://freearkham.cc/' + 'FARK' => 'https://freearkham.cc/', + 'SIMP' => 'https://simplifiedprivacy.com/techgroups', ); private readonly string $contents_asgl; private readonly string $contents_loki; private readonly string $contents_sdir; private readonly string $contents_fark; + private readonly string $contents_simp; private readonly string $contents_aggregated; /** @@ -257,6 +259,9 @@ log_info("Requesting FreeArkham.cc list..."); $this->contents_fark = CommunitySources::fetch_source('FARK'); + log_info("Requesting SimplifiedPrivacy.com list..."); + $this->contents_simp = CommunitySources::fetch_source('SIMP'); + log_info("Parsing extra information..."); if (!$this->process_sources()) { log_error("Could not parse extra information from one or more sources."); @@ -268,6 +273,7 @@ $this->contents_asgl . $this->contents_fark . $this->contents_loki . + $this->contents_simp . // Slashes are escaped when served, unescape them str_replace("\\/", "/", $this->contents_sdir); }