search engine optimization II

dev
gravel 8 months ago
parent 3085b78ad3
commit e746df1b8d
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -1,7 +1,8 @@
<!DOCTYPE html>
<html>
<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>
<body>
<h1>Community Listing Provider API</h1>

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

@ -477,7 +477,7 @@ a[href^="https:"] .protocol-indicator::after {
}
.copy_button {
font-size: 1.1em;
font-size: 1.2em;
background-color: var(--secondary-color);
color: var(--primary-color);
padding: var(--cell-padding);
@ -502,18 +502,33 @@ footer {
padding-inline: var(--body-margin);
}
footer:last-of-type {
padding-bottom: 1em;
}
footer p {
width: 75%;
max-width: 40em;
margin: .5em;
text-align: center;
}
footer nav:first-of-type {
margin-block-start: 1em;
}
footer nav :is(a, span) {
display: inline-block;
padding: .5em;
margin-inline: .1em;
margin-block: .1em;
min-width: 3em;
white-space: nowrap;
}
footer h2 {
margin-block: 0.5em;
}
#more-sites-info-button {
font-size: 1.25em;
}
@ -680,6 +695,31 @@ footer nav :is(a, span) {
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> */
/* The snackbar - position it at the bottom and in the middle of the screen */
#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?>'"
rel="noopener noreferrer external nofollow"
itemprop="name"
><h2><?=
><?=
$name
?></h2></a>
<span class="room-labels-container">
?></a>
<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)): ?>
<span
class="room-label <?=$tag->get_tag_classname()?> badge"
@ -110,15 +110,15 @@
truncate($tag->get_text(), 16)
?></span>
<?php endif; endforeach; ?>
</span>
<!--/noindex--></span>
</td>
<td
class="td_description"
class="td_description noindex robots-noindex robots-nocontent"
title="Description for '<?=$name?>':
<?=$desc?>"
itemprop="description"
><?=$desc?></td>
><!--noindex--><?=$desc?><!--/noindex--></td>
<td
class="td_users"
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">
</head>
<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>
<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

@ -39,11 +39,12 @@
<script type="module" src="./main.js"></script>
<link rel="modulepreload" href="js/util.js">
<link rel="help" href="./instructions.html">
<title>List of active Session Communities</title>
<meta name="description" content="
Directory of Session Communities: public groups in Session Messenger. <?php
?>Join these Communities in the Session app <?php
?>to talk anonymously about Privacy, Security, or Cryptocurrency.">
<title>Session Communities — sessioncommunities.online</title>
<meta name="description" content="Public Session Group list updated daily! <?php
?>Click here to join your favorite Community in Session Messenger. <?php
?>Copy Community links into the Session app!<?php
?>">
<meta name="keywords" content="session communities,session groups,session group list">
<meta name="modified" content="<?=date("Y-m-d H:i:s", $timestamp)?>">
<meta property="og:title" content="Click here for Session Communities">
<meta
@ -127,6 +128,21 @@
<?=date("Y-m-d H:i:s", $timestamp)?> (UTC)
</span>.
</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">
Session Communities shown on this list are fetched automatically from
<a
@ -140,7 +156,7 @@
you should still proceed with caution.
</span>
<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.
</span>
</p>

Loading…
Cancel
Save