fix: disassociate from SDIR

main
gravel 2 weeks ago
parent 218e9ac4f3
commit a62517f53d

@ -142,11 +142,11 @@ function addInformativeInteractions() {
const moreSitesInfoButton = document.getElementById('more-sites-info-button');
moreSitesInfoButton?.addEventListener('click', () => {
alert(
`Lokinet Gitea and session.directory compile lists of
Session Closed Groups and Communities, and are linked
in recognition of their importance.
`Lokinet Gitea compiles lists of
Session Closed Groups and Communities, and is linked
in recognition of its importance.
However, sessioncommunities.online already includes Communities
from these sources on this page.
from this source on this page.
`.replace(/\s+/g, " ").trim()
);
});

@ -253,7 +253,6 @@
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;
@ -274,9 +273,6 @@
log_info("Requesting Lokilocker Mods Open Group list...");
$this->contents_loki = CommunitySources::fetch_source('LOKI');
log_info("Requesting session.directory list...");
$this->contents_sdir = CommunitySources::fetch_source('SDIR-JSON');
log_info("Requesting FreeArkham.cc list...");
$this->contents_fark = CommunitySources::fetch_source('FARK');
@ -294,9 +290,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);
$this->contents_simp;
}
private static function source_cache_file(string $source_key) {
@ -343,18 +337,10 @@
}
private function process_sources(): bool {
$source_sdir = SDIRCommunitySource::from_contents($this->contents_sdir);
$source_asgl = ASGLCommunitySource::from_contents($this->contents_asgl);
$source_sdir && $this->add_tags($source_sdir->get_tags());
$source_asgl && $this->add_tags($source_asgl->get_tags());
if (!$source_sdir) {
return false;
}
if (!$source_asgl) {
return false;
}

@ -98,12 +98,6 @@
target="_blank"
title="Closed groups curated by community moderators"
>Closed Groups</a
><a
href="https://session.directory/"
class="footer__nav-target"
target="_blank"
title="User-submitted closed groups, communities and user profiles. Not safe for work."
>session.directory (NSFW)</a
><a
href="https://oxen.directory/"
class="footer__nav-target"

@ -38,7 +38,6 @@ displays information about them as a static HTML page.</p>
<h2 id="which-sources-do-you-crawl-">Which sources do you crawl?</h2>
<p>Communities displayed come from a variety of sources:</p>
<ul>
<li><a href="https://session.directory/">https://session.directory/</a>,</li>
<li><a href="https://lokilocker.com/Mods/Session-Groups/wiki/Session-Open-Groups">https://lokilocker.com/Mods/Session-Groups/wiki/Session-Open-Groups</a>,</li>
<li><a href="https://github.com/GNU-Linux-libre/Awesome-Session-Group-List">https://github.com/GNU-Linux-libre/Awesome-Session-Group-List</a>,</li>
<li><a href="https://freearhkam.cc">https://freearhkam.cc</a>,</li>

Loading…
Cancel
Save