search engine optimization II

dev
gravel 2 years ago
parent 3085b78ad3
commit e746df1b8d
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -1,7 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Listing provider by sessioncommunities.online</title> <title>Listing Provider API — sessioncommunities.online</title>
<meta name="description" content="Human-readable landing page for our Session Communities API.">
</head> </head>
<body> <body>
<h1>Community Listing Provider API</h1> <h1>Community Listing Provider API</h1>

@ -13,27 +13,37 @@ footer {
align-items: center; align-items: center;
max-width: 100%; max-width: 100%;
text-align: center; text-align: center;
font-size: 0.85em; }
footer { font-size: 0.85em; margin-top: 2em; padding-top: 2em; border-top: 1px white solid; }
margin-top: 2em; footer:last-of-type {
padding-top: 2em; padding-bottom: 1em;
border-top: 1px white solid;
padding-bottom: var(--body-margin);
padding-inline: var(--body-margin);
} }
footer p { footer p {
width: 75%; max-width: 40em;
margin: .5em; margin: .5em;
text-align: center; text-align: center;
} }
footer nav:first-of-type {
margin-block-start: 1em;
}
footer nav :is(a, span) { footer nav :is(a, span) {
display: inline-block; display: inline-block;
padding: .5em; padding: .5em;
margin-inline: .1em;
margin-block: .1em;
min-width: 3em;
white-space: nowrap; white-space: nowrap;
} }
footer h2 {
margin-block: 0.5em;
}
#more-sites-info-button { #more-sites-info-button {
font-size: 1.25em; font-size: 1.25em;
} }

@ -477,7 +477,7 @@ a[href^="https:"] .protocol-indicator::after {
} }
.copy_button { .copy_button {
font-size: 1.1em; font-size: 1.2em;
background-color: var(--secondary-color); background-color: var(--secondary-color);
color: var(--primary-color); color: var(--primary-color);
padding: var(--cell-padding); padding: var(--cell-padding);
@ -502,18 +502,33 @@ footer {
padding-inline: var(--body-margin); padding-inline: var(--body-margin);
} }
footer:last-of-type {
padding-bottom: 1em;
}
footer p { footer p {
width: 75%; max-width: 40em;
margin: .5em; margin: .5em;
text-align: center; text-align: center;
} }
footer nav:first-of-type {
margin-block-start: 1em;
}
footer nav :is(a, span) { footer nav :is(a, span) {
display: inline-block; display: inline-block;
padding: .5em; padding: .5em;
margin-inline: .1em;
margin-block: .1em;
min-width: 3em;
white-space: nowrap; white-space: nowrap;
} }
footer h2 {
margin-block: 0.5em;
}
#more-sites-info-button { #more-sites-info-button {
font-size: 1.25em; font-size: 1.25em;
} }
@ -680,6 +695,31 @@ footer nav :is(a, span) {
display: block; display: block;
} }
/* Carousel */
input.carousel-trigger {
display: none;
}
.carousel-trigger:not(:checked) + :not(p) + p {
display: none;
}
.carousel-trigger + :not(p) + p {
padding: 1em 0.5em;
background-color: var(--secondary-color-shaded);
}
.carousel-trigger + .carousel-label label::after {
content: "+";
padding-inline-start: 1em;
font-size: 1.5em;
}
.carousel-trigger:checked + .carousel-label label::after {
content: "";
}
/* <Snackbar> */ /* <Snackbar> */
/* The snackbar - position it at the bottom and in the middle of the screen */ /* The snackbar - position it at the bottom and in the middle of the screen */
#copy-snackbar { #copy-snackbar {

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://sessioncommunities.online/</loc>
<changefreq>hourly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://sessioncommunities.online/about.html</loc>
<changefreq>monthly</changefreq>
<priority>0.7</priority>
</url>
<url>
<loc>https://sessioncommunities.online/privacy.html</loc>
<changefreq>monthly</changefreq>
<priority>0.0</priority>
</url>
<url>
<loc>https://sessioncommunities.online/donate.html</loc>
<changefreq>monthly</changefreq>
<priority>0.0</priority>
</url>
<url>
<loc>https://sessioncommunities.online/instructions.html</loc>
<changefreq>monthly</changefreq>
<priority>0.0</priority>
</url>
<url>
<loc>https://lp.sessioncommunities.online/</loc>
<changefreq>yearly</changefreq>
<priority>0.0</priority>
</url>
</urlset>

@ -98,10 +98,10 @@
title="Click here to preview '<?=$name?>'" title="Click here to preview '<?=$name?>'"
rel="noopener noreferrer external nofollow" rel="noopener noreferrer external nofollow"
itemprop="name" itemprop="name"
><h2><?= ><?=
$name $name
?></h2></a> ?></a>
<span class="room-labels-container"> <span class="room-labels-container noindex robots-noindex robots-nocontent"><!--noindex-->
<?php foreach ($room->get_room_tags() as $tag): if (CommunityTag::is_showcased_tag($tag->text)): ?> <?php foreach ($room->get_room_tags() as $tag): if (CommunityTag::is_showcased_tag($tag->text)): ?>
<span <span
class="room-label <?=$tag->get_tag_classname()?> badge" class="room-label <?=$tag->get_tag_classname()?> badge"
@ -110,15 +110,15 @@
truncate($tag->get_text(), 16) truncate($tag->get_text(), 16)
?></span> ?></span>
<?php endif; endforeach; ?> <?php endif; endforeach; ?>
</span> <!--/noindex--></span>
</td> </td>
<td <td
class="td_description" class="td_description noindex robots-noindex robots-nocontent"
title="Description for '<?=$name?>': title="Description for '<?=$name?>':
<?=$desc?>" <?=$desc?>"
itemprop="description" itemprop="description"
><?=$desc?></td> ><!--noindex--><?=$desc?><!--/noindex--></td>
<td <td
class="td_users" class="td_users"
title="'<?=$name?>' has had <?=$users?> active users in the last <?=$users_cutoff?>." title="'<?=$name?>' has had <?=$users?> active users in the last <?=$users_cutoff?>."

@ -19,7 +19,7 @@
<meta property="og:url" content="<?=$SITE_CANONICAL_URL?>/about.html"> <meta property="og:url" content="<?=$SITE_CANONICAL_URL?>/about.html">
</head> </head>
<body> <body>
<h1 id="self-updating-list-of-session-communities"><a href="./">Self-updating list of Session Communities</a></h1> <h1 id="self-updating-list-of-session-communities"><a href="./" title="Visit sessioncommunities.online">Session Community List</a> — About</h1>
<h2 id="what-is-session-">What is Session?</h2> <h2 id="what-is-session-">What is Session?</h2>
<p><a href="https://getsession.org/">Session</a> is a private messaging app that protects your meta-data, <p><a href="https://getsession.org/">Session</a> is a private messaging app that protects your meta-data,
encrypts your communications, and makes sure your messaging activities encrypts your communications, and makes sure your messaging activities

@ -39,11 +39,12 @@
<script type="module" src="./main.js"></script> <script type="module" src="./main.js"></script>
<link rel="modulepreload" href="js/util.js"> <link rel="modulepreload" href="js/util.js">
<link rel="help" href="./instructions.html"> <link rel="help" href="./instructions.html">
<title>List of active Session Communities</title> <title>Session Communities — sessioncommunities.online</title>
<meta name="description" content=" <meta name="description" content="Public Session Group list updated daily! <?php
Directory of Session Communities: public groups in Session Messenger. <?php ?>Click here to join your favorite Community in Session Messenger. <?php
?>Join these Communities in the Session app <?php ?>Copy Community links into the Session app!<?php
?>to talk anonymously about Privacy, Security, or Cryptocurrency."> ?>">
<meta name="keywords" content="session communities,session groups,session group list">
<meta name="modified" content="<?=date("Y-m-d H:i:s", $timestamp)?>"> <meta name="modified" content="<?=date("Y-m-d H:i:s", $timestamp)?>">
<meta property="og:title" content="Click here for Session Communities"> <meta property="og:title" content="Click here for Session Communities">
<meta <meta
@ -127,6 +128,21 @@
<?=date("Y-m-d H:i:s", $timestamp)?> (UTC) <?=date("Y-m-d H:i:s", $timestamp)?> (UTC)
</span>. </span>.
</p> </p>
<input type="checkbox" id="carousel-1a" name="carousel-1" class="carousel-trigger"/>
<h2 class="carousel-label"><label for="carousel-1a">What is Session Messenger?</label></h2>
<p>
<a href="https://getsession.org/" rel="follow external">Session</a>
is a private messaging app that protects your meta-data,
encrypts your communications, and makes sure your messaging activities
leave no digital trail behind. <a href="./about.html">Read more.</a>
</p>
<input type="checkbox" id="carousel-1b" name="carousel-1" class="carousel-trigger"/>
<h2 class="carousel-label"><label for="carousel-1b">What are Session Communities?</label></h2>
<p>
Session Communities are public chatrooms accessible from within Session Messenger.
This web project crawls known sources of Session Communities, and
displays information about them as a static HTML page. <a href="./about.html">Read more.</a>
</p>
<p id="disclaimer"> <p id="disclaimer">
Session Communities shown on this list are fetched automatically from Session Communities shown on this list are fetched automatically from
<a <a
@ -140,7 +156,7 @@
you should still proceed with caution. you should still proceed with caution.
</span> </span>
<span class="noscript"> <span class="noscript">
Proceed with caution when joining unofficial communities. Proceed with caution when joining unofficial Communities.
As JavaScript is disabled, no Communities are filtered from the list. As JavaScript is disabled, no Communities are filtered from the list.
</span> </span>
</p> </p>

Loading…
Cancel
Save