@ -1,7 +1,7 @@
<?php
/**
* \file
* PHP environment variables.
* Set PHP environment variables.
*/
@ -1,4 +1,9 @@
* Provide language flags for hardcoded Communities.
$server_languages = [];
// https://reccacon.com/Ukraine
* Fetch online Communities and write the resulting data to disk.
* Fetch Communities from the web.
// requires php-curl
* Perform static site generation.
* Generate webpages using static site generation.
require_once 'getenv.php';
@ -1,7 +1,9 @@
* Implement Community listings for the [Listing Provider API](https://codeberg.org/gravel/session-listing-providers).
* Generate preconfigured lists of Communities.
*
* @see [Listing Provider API](https://codeberg.org/gravel/session-listing-providers)
require_once "getenv.php";
* Source the project's `.phpenv.php` file.
* Import project PHP environment variables.
* Execute all jobs: Fetch Community servers, generate HTML and Community listings.
* Renew all website data and assets.
require_once 'fetch-servers.php';
require_once 'generate-html.php';
* Generate structured JSON-LD site data.
require_once '+getenv.php';
require_once 'php/assets/room-icons.php';
@ -1,3 +1,9 @@
* Generate Community search bar.
?>
<div
id="search-container"
title="Search requires JavaScript"
* Generate website footer.
<aside id="affiliation-disclaimer">
<p>
SessionCommunities.online is not affiliated with
@ -1,4 +1,10 @@
<?php require_once 'php/utils/site-generation.php'; ?>
* Generate header for listing pages.
require_once 'php/utils/site-generation.php';
<header>
<div id="header-start">
<a
* Generate news banner for listing pages.
<div class="banner">
<span class="banner-note">
news banner
@ -1,4 +1,8 @@
* Generate preamble for current webpage.
<meta charset="UTF-8">
* Generate modal to hold Community details.
require_once 'php/assets/room-invites.php';
<dialog id="details-modal">
* Generate table of Communities.
require_once '+components/table/table-fragment.php';
* Generate Community listing page with arbitrary list.
require_once 'php/utils/utils.php';
require_once 'php/servers/servers-rooms.php';
* Provide filters for Session Communities.
require_once 'php/servers/room-listings-api.php';
* Generate about page.
// prerequisite include for sites
* Generate landing page with Community list.
require_once 'php/utils/getopt.php';
require_once 'php/servers/room-database.php';
* Generate instructions page.
$instruction_files = glob("+instructions/*.txt");
@ -1,7 +1,10 @@
/*
If you're hosting your own version of the site, please replace this file!
* Generate privacy policy page.
* If you're hosting your own version of the site, please replace this file!
@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
* Generate domain sitemap.
function loc_lastmod(string $rel_loc, ?string $changes_under_root = null) {
* Generate donation page.
$NUM_PARTICLES = 20;