forked from ORGANISATION-KA-INTERNATIONALE/FEDIVERSE-OKI
docs: rebrand fork for ANNU KUTE CED podcast hub
This commit is contained in:
+21
-22
@@ -1,16 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Configuration par défaut de FEDIVERSE OKI
|
||||
* Configuration par défaut d'ANNU KUTE CED
|
||||
*
|
||||
* Ce fichier contient les paramètres de configuration par défaut.
|
||||
* Il est utilisé pour initialiser les variables non définies dans config.local.php.
|
||||
*/
|
||||
|
||||
if (!defined('APP_HOST_NAME')) define('APP_HOST_NAME', 'fediverse.o-k-i.net');
|
||||
if (!defined('APP_HOST_NAME')) define('APP_HOST_NAME', 'annukuteced.buzz');
|
||||
|
||||
if (!defined('ORGANIZATION_SHORT_NAME')) define('ORGANIZATION_SHORT_NAME', 'OKI');
|
||||
if (!defined('ORGANIZATION_NAME')) define('ORGANIZATION_NAME', 'ORGANISATION KA INTERNATIONALE');
|
||||
if (!defined('ORGANIZATION_SHORT_NAME')) define('ORGANIZATION_SHORT_NAME', 'ANNU KUTE CED');
|
||||
if (!defined('ORGANIZATION_NAME')) define('ORGANIZATION_NAME', 'ANNU KUTE CED');
|
||||
|
||||
// Configuration de base - ces valeurs seront utilisées si elles ne sont pas définies dans config.local.php
|
||||
if (!defined('PEERTUBE_URL')) define('PEERTUBE_URL', 'https://gade.o-k-i.net');
|
||||
@@ -61,8 +61,8 @@ if (!defined('MASTODON_MAX_POST_SHOW')) define('MASTODON_MAX_POST_SHOW', '10');
|
||||
// if (!defined('MASTODON_S3_MEDIA_URL')) define('MASTODON_S3_MEDIA_URL', 'https://s3.eu-central-003.backblazeb2.com');
|
||||
|
||||
// Informations du site
|
||||
if (!defined('SITE_NAME')) define('SITE_NAME', 'FEDIVERSE OKI');
|
||||
if (!defined('SITE_DESCRIPTION')) define('SITE_DESCRIPTION', 'Plateforme multimedia indépendante');
|
||||
if (!defined('SITE_NAME')) define('SITE_NAME', 'ANNU KUTE CED');
|
||||
if (!defined('SITE_DESCRIPTION')) define('SITE_DESCRIPTION', 'Hub multimédia du podcast ANNU KUTE CED');
|
||||
if (!defined('SITE_LOGO')) define('SITE_LOGO', 'img/logo.png');
|
||||
if (!defined('SITE_FAVICON')) define('SITE_FAVICON', 'img/favicon.png');
|
||||
|
||||
@@ -76,13 +76,13 @@ if (!defined('X_URL')) define('X_URL', '#');
|
||||
if (!defined('INSTAGRAM_URL')) define('INSTAGRAM_URL', '#');
|
||||
if (!defined('YOUTUBE_URL')) define('YOUTUBE_URL', '#');
|
||||
if (!defined('TIKTOK_URL')) define('TIKTOK_URL', '#');
|
||||
if (!defined('MASTODON_URL')) define('MASTODON_URL', 'https://bokante.o-k-i.net/@admin');
|
||||
if (!defined('MASTODON_URL')) define('MASTODON_URL', 'https://bokante.o-k-i.net/@cedric');
|
||||
|
||||
// Contacts
|
||||
if (!defined('CONTACT_EMAIL')) define('CONTACT_EMAIL', 'kontak.o-k-i.net');
|
||||
if (!defined('CONTACT_EMAIL')) define('CONTACT_EMAIL', 'kontak@o-k-i.net');
|
||||
|
||||
// Mentions légales
|
||||
if (!defined('LEGAL_COPYRIGHT')) define('LEGAL_COPYRIGHT', 'OKI');
|
||||
if (!defined('LEGAL_COPYRIGHT')) define('LEGAL_COPYRIGHT', 'ANNU KUTE CED');
|
||||
if (!defined('LEGAL_WEBMASTER_NAME')) define('LEGAL_WEBMASTER_NAME', 'Cédric Famibelle-Pronzola');
|
||||
if (!defined('LEGAL_WEBMASTER_EMAIL')) define('LEGAL_WEBMASTER_EMAIL', 'contact@cedric-pronzola.dev');
|
||||
if (!defined('LEGAL_HOST_NAME')) define('LEGAL_HOST_NAME', 'o2Switch');
|
||||
@@ -92,8 +92,8 @@ if (!defined('LEGAL_HOST_ADDRESS')) define('LEGAL_HOST_ADDRESS', '222 boulevard
|
||||
if (!defined('LEGAL_CONTACT_EMAIL')) define('LEGAL_CONTACT_EMAIL', 'kontak@o-k-i.net');
|
||||
if (!defined('LEGAL_LICENSE')) define('LEGAL_LICENSE', 'GNU Affero General Public License version 3 (AGPL-V3)');
|
||||
if (!defined('LEGAL_LICENSE_URL')) define('LEGAL_LICENSE_URL', 'https://www.gnu.org/licenses/agpl-3.0.html');
|
||||
if (!defined('LEGAL_SOURCE_CODE_URL')) define('LEGAL_SOURCE_CODE_URL', 'https://codeberg.org/OKI/fediverse.o-k-i.net');
|
||||
if (!defined('LEGAL_SERVICE_DESCRIPTION')) define('LEGAL_SERVICE_DESCRIPTION', 'est une plateforme multimédia indépendante.');
|
||||
if (!defined('LEGAL_SOURCE_CODE_URL')) define('LEGAL_SOURCE_CODE_URL', 'https://labola.o-k-i.net/cedric/annu-kute-ced');
|
||||
if (!defined('LEGAL_SERVICE_DESCRIPTION')) define('LEGAL_SERVICE_DESCRIPTION', 'est le hub multimédia du podcast ANNU KUTE CED.');
|
||||
|
||||
// Fonctionnalités
|
||||
define('ENABLE_SEARCH', true);
|
||||
@@ -112,7 +112,7 @@ if (!defined('CACHE_DURATION')) define('CACHE_DURATION', 3600); // En secondes (
|
||||
if (!defined('HERO_TYPE')) define('HERO_TYPE', 'live');
|
||||
|
||||
// Configuration pour le direct (HERO_TYPE = 'live')
|
||||
if (!defined('LIVE_ACCOUNT_NAME')) define('LIVE_ACCOUNT_NAME', 'admin');
|
||||
if (!defined('LIVE_ACCOUNT_NAME')) define('LIVE_ACCOUNT_NAME', 'annu_kute_ced');
|
||||
|
||||
// Configuration pour une vidéo unique (HERO_TYPE = 'video')
|
||||
if (!defined('HERO_VIDEO_ID')) define('HERO_VIDEO_ID', '1aJ2u9euwF9fWKQhFxwFio');
|
||||
@@ -148,7 +148,7 @@ if (!defined('CASTOPOD_URL')) define('CASTOPOD_URL', 'https://kute.o-k-i.net');
|
||||
// Format: ['slug1', 'slug2', 'slug3']
|
||||
// Les épisodes de tous les podcasts seront mélangés et triés par date
|
||||
if (!defined('CASTOPOD_PODCAST_SLUGS')) {
|
||||
define('CASTOPOD_PODCAST_SLUGS', ['joukawouve']);
|
||||
define('CASTOPOD_PODCAST_SLUGS', ['annu_kute_cedric']);
|
||||
}
|
||||
|
||||
// Nombre d'épisodes à afficher (total, tous podcasts confondus)
|
||||
@@ -173,21 +173,21 @@ if (!defined('TAG_SHORT')) define('TAG_SHORT', 'short');
|
||||
// Hashtags importants à afficher dans la sidebar, footer et menu mobile
|
||||
if (!defined('IMPORTANT_TAGS')) {
|
||||
define('IMPORTANT_TAGS', [
|
||||
'Chlordécone',
|
||||
'RCI',
|
||||
'Mé67',
|
||||
'Traduction',
|
||||
'fediverse'
|
||||
'ANNUKUTECED',
|
||||
'podcast',
|
||||
'fediverse',
|
||||
'audio',
|
||||
'vidéo'
|
||||
]);
|
||||
}
|
||||
|
||||
// Hashtags populaires à afficher sur la page d'accueil
|
||||
if (!defined('POPULAR_TAGS')) {
|
||||
define('POPULAR_TAGS', [
|
||||
'podcast',
|
||||
'annukuteced',
|
||||
'fediverse',
|
||||
'guadeloupe',
|
||||
'Gaza',
|
||||
'Arte'
|
||||
'audio'
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -284,4 +284,3 @@ if (!defined('NEXT_LIVE_DATE')) define('NEXT_LIVE_DATE', '');
|
||||
// Chemin vers l'image d'annonce du prochain live (relatif à la racine du site)
|
||||
// Exemple: 'uploads/next-live.jpg'
|
||||
if (!defined('NEXT_LIVE_IMAGE')) define('NEXT_LIVE_IMAGE', 'uploads/next-live.jpg');
|
||||
?>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Configuration locale pour l'instance de PeerTube
|
||||
* Configuration locale pour l'instance ANNU KUTE CED
|
||||
*
|
||||
* Ce fichier est un exemple de configuration locale.
|
||||
* Pour l'utiliser:
|
||||
@@ -10,18 +10,20 @@
|
||||
* Note: config.local.php ne doit pas être versionné dans git
|
||||
*/
|
||||
|
||||
define('APP_HOST_NAME', 'fediverse.o-k-i.net');
|
||||
define('APP_HOST_NAME', 'annukuteced.buzz');
|
||||
|
||||
// define('ORGANIZATION_SHORT_NAME', 'OKI');
|
||||
// define('ORGANIZATION_NAME', 'ORGANISATION KA INTERNATIONALE');
|
||||
// define('ORGANIZATION_SHORT_NAME', 'ANNU KUTE CED');
|
||||
// define('ORGANIZATION_NAME', 'ANNU KUTE CED');
|
||||
|
||||
// =========================================
|
||||
// Configuration de l'API PeerTube
|
||||
// =========================================
|
||||
|
||||
// URL de l'API PeerTube (obligatoire)
|
||||
// define('PEERTUBE_URL', 'https://votre-instance.fr');
|
||||
// define('PEERTUBE_DISPLAY_NAME', 'votre-instance.fr');
|
||||
// Par défaut, le hub utilise la chaîne GADE du podcast :
|
||||
// https://gade.o-k-i.net/c/annu_kute_ced/videos
|
||||
// define('PEERTUBE_URL', 'https://gade.o-k-i.net');
|
||||
// define('PEERTUBE_DISPLAY_NAME', 'gade.o-k-i.net');
|
||||
|
||||
// Clé d'API PeerTube (optionnelle)
|
||||
// define('API_KEY', 'votre_cle_api');
|
||||
@@ -38,7 +40,8 @@ define('APP_HOST_NAME', 'fediverse.o-k-i.net');
|
||||
// define('HERO_TYPE', 'live');
|
||||
|
||||
// Configuration pour le direct (HERO_TYPE = 'live')
|
||||
// define('LIVE_ACCOUNT_NAME', 'admin');
|
||||
// Le compte PeerTube du podcast est 'annu_kute_ced'
|
||||
// define('LIVE_ACCOUNT_NAME', 'annu_kute_ced');
|
||||
|
||||
// Configuration pour une vidéo unique (HERO_TYPE = 'video')
|
||||
// ID de la vidéo (extrait de l'URL: https://gade.o-k-i.net/w/VIDEO_ID)
|
||||
@@ -49,45 +52,46 @@ define('APP_HOST_NAME', 'fediverse.o-k-i.net');
|
||||
|
||||
// Configuration pour les playlists (HERO_TYPE = 'playlist')
|
||||
// Type de plateforme: 'peertube', 'funkwhale', 'castopod'
|
||||
// define('PLAYLIST_PLATFORM', 'peertube');
|
||||
// define('PLAYLIST_PLATFORM', 'castopod');
|
||||
|
||||
// URL de base de la plateforme de playlist
|
||||
// define('PLAYLIST_INSTANCE_URL', 'https://votre-instance.fr');
|
||||
// define('PLAYLIST_INSTANCE_URL', 'https://kute.o-k-i.net');
|
||||
|
||||
// ID de la playlist à afficher
|
||||
// define('PLAYLIST_ID', 'votre-playlist-uuid');
|
||||
// Pour Castopod, utilisez le slug du podcast précédé de @ :
|
||||
// define('PLAYLIST_ID', '@annu_kute_cedric');
|
||||
|
||||
// Titre de la playlist (optionnel, sinon récupéré via API)
|
||||
// define('PLAYLIST_TITLE', 'Ma Playlist');
|
||||
// define('PLAYLIST_TITLE', 'ANNU KUTE CED');
|
||||
|
||||
// Description de la playlist (optionnel)
|
||||
// define('PLAYLIST_DESCRIPTION', 'Description de la playlist');
|
||||
// define('PLAYLIST_DESCRIPTION', 'Tous les épisodes du podcast ANNU KUTE CED');
|
||||
|
||||
// =========================================
|
||||
// Filtres et tags
|
||||
// =========================================
|
||||
|
||||
// Tag pour les vidéos sur l'indépendance
|
||||
// define('TAG_INDEPENDENCE', 'indépendance');
|
||||
// define('TAG_INDEPENDANCE', 'indépendance');
|
||||
|
||||
// Tag pour les shorts
|
||||
// define('TAG_SHORT', 'short');
|
||||
|
||||
// Hashtags importants à afficher dans la sidebar, footer et menu mobile
|
||||
define('IMPORTANT_TAGS', [
|
||||
'Chlordécone',
|
||||
'RCI',
|
||||
'Mé67',
|
||||
'Traduction',
|
||||
'fediverse'
|
||||
'ANNUKUTECED',
|
||||
'podcast',
|
||||
'fediverse',
|
||||
'audio',
|
||||
'vidéo'
|
||||
]);
|
||||
|
||||
// Hashtags populaires à afficher sur la page d'accueil
|
||||
define('POPULAR_TAGS', [
|
||||
'podcast',
|
||||
'annukuteced',
|
||||
'fediverse',
|
||||
'guadeloupe',
|
||||
'Gaza',
|
||||
'Arte'
|
||||
'audio'
|
||||
]);
|
||||
|
||||
// Durée maximale des shorts en secondes
|
||||
@@ -163,10 +167,10 @@ define('PRIORITY_CATEGORIES', [
|
||||
// =========================================
|
||||
|
||||
// Nom du site
|
||||
// define('SITE_NAME', 'FEDIVERSE OKI');
|
||||
// define('SITE_NAME', 'ANNU KUTE CED');
|
||||
|
||||
// Description du site
|
||||
// define('SITE_DESCRIPTION', 'Plateforme multimedia indépendante');
|
||||
// define('SITE_DESCRIPTION', 'Hub multimédia du podcast ANNU KUTE CED');
|
||||
|
||||
// Logo du site
|
||||
// define('SITE_LOGO', 'img/logo.png');
|
||||
@@ -198,14 +202,15 @@ define('PRIORITY_CATEGORIES', [
|
||||
// define('TIKTOK_URL', 'https://tiktok.com/@votrecompte');
|
||||
|
||||
// URL du compte Mastodon
|
||||
// define('MASTODON_URL', 'https://bokante.o-k-i.net/@admin');
|
||||
// Compte BOKANTE du podcast : https://bokante.o-k-i.net/@cedric
|
||||
// define('MASTODON_URL', 'https://bokante.o-k-i.net/@cedric');
|
||||
|
||||
// =========================================
|
||||
// Contact
|
||||
// =========================================
|
||||
|
||||
// Email de contact
|
||||
// define('CONTACT_EMAIL', 'contact@votredomaine.com');
|
||||
// define('CONTACT_EMAIL', 'kontak@o-k-i.net');
|
||||
|
||||
// =========================================
|
||||
// Fonctionnalités
|
||||
@@ -235,7 +240,8 @@ define('PRIORITY_CATEGORIES', [
|
||||
// =========================================
|
||||
|
||||
// URL de l'instance Mastodon
|
||||
// define('MASTODON_INSTANCE_URL', 'https://mastodon.social');
|
||||
// Instance BOKANTE : https://bokante.o-k-i.net
|
||||
// define('MASTODON_INSTANCE_URL', 'https://bokante.o-k-i.net');
|
||||
|
||||
// Format de date pour l'affichage des posts
|
||||
// define('MASTODON_DATE_FORMAT', 'fr-FR');
|
||||
@@ -261,7 +267,7 @@ define('PRIORITY_CATEGORIES', [
|
||||
// Mentions légales
|
||||
// =========================================
|
||||
|
||||
// define('LEGAL_COPYRIGHT', 'OKI');
|
||||
// define('LEGAL_COPYRIGHT', 'ANNU KUTE CED');
|
||||
// define('LEGAL_WEBMASTER_NAME', 'Cédric Famibelle-Pronzola');
|
||||
// define('LEGAL_WEBMASTER_EMAIL', 'contact@cedric-pronzola.dev');
|
||||
// define('LEGAL_HOST_NAME', 'o2Switch');
|
||||
@@ -271,8 +277,9 @@ define('PRIORITY_CATEGORIES', [
|
||||
// define('LEGAL_CONTACT_EMAIL', 'kontak@o-k-i.net');
|
||||
// define('LEGAL_LICENSE', 'GNU Affero General Public License version 3 (AGPL-V3)');
|
||||
// define('LEGAL_LICENSE_URL', 'https://www.gnu.org/licenses/agpl-3.0.html');
|
||||
// define('LEGAL_SOURCE_CODE_URL', 'https://codeberg.org/OKI/fediverse.o-k-i.net');
|
||||
// define('LEGAL_SERVICE_DESCRIPTION', ' est une plateforme multimédia indépendante.');
|
||||
// Source du fork sur LaBola
|
||||
// define('LEGAL_SOURCE_CODE_URL', 'https://labola.o-k-i.net/cedric/annu-kute-ced');
|
||||
// define('LEGAL_SERVICE_DESCRIPTION', ' est le hub multimédia du podcast ANNU KUTE CED.');
|
||||
|
||||
// =========================================
|
||||
// Système de compte à rebours / maintenance
|
||||
@@ -314,14 +321,15 @@ define('WORDPRESS_ENABLED', false);
|
||||
// define('CASTOPOD_ENABLED', true);
|
||||
|
||||
// URL de l'instance Castopod
|
||||
// Instance KUTE : https://kute.o-k-i.net
|
||||
// define('CASTOPOD_URL', 'https://kute.o-k-i.net');
|
||||
|
||||
// Liste des slugs de podcasts à afficher (tableau)
|
||||
// Le podcast ANNU KUTE CED est accessible via : https://kute.o-k-i.net/@annu_kute_cedric
|
||||
// Le feed RSS est : https://kute.o-k-i.net/@annu_kute_cedric/feed
|
||||
// Les épisodes de tous les podcasts seront mélangés et triés par date
|
||||
// define('CASTOPOD_PODCAST_SLUGS', [
|
||||
// 'joukawouve',
|
||||
// 'cspcc',
|
||||
// 'radyobokaz'
|
||||
// 'annu_kute_cedric'
|
||||
// ]);
|
||||
|
||||
// Nombre d'épisodes à afficher (total, tous podcasts confondus)
|
||||
@@ -386,26 +394,26 @@ define('WORDPRESS_ENABLED', false);
|
||||
// define('DONATION_CURRENCY', 'EUR');
|
||||
|
||||
// =========================================
|
||||
// Texte de présentation du mouvement
|
||||
// Texte de présentation du podcast
|
||||
// =========================================
|
||||
|
||||
// Titre de la section de présentation (par défaut: "À propos")
|
||||
// define('MOVEMENT_TITLE', 'Notre mouvement');
|
||||
// define('MOVEMENT_TITLE', 'Le podcast ANNU KUTE CED');
|
||||
|
||||
// Premier paragraphe de description (pour désactiver le bloc de présentation, commentez cette ligne)
|
||||
// define('MOVEMENT_DESCRIPTION', 'Nous sommes une association à but non lucratif dédiée à la promotion de nos langues et au traitement de l\'actualité.');
|
||||
// define('MOVEMENT_DESCRIPTION', 'ANNU KUTE CED est un podcast diffusé sur le Fédivers.');
|
||||
|
||||
// Deuxième paragraphe de description (optionnel)
|
||||
// define('MOVEMENT_DESCRIPTION_2', 'Parallèlement, nous proposons des alternatives aux géants du numérique comme les GAFAM, en privilégiant l\'utilisation de logiciels libres.');
|
||||
// define('MOVEMENT_DESCRIPTION_2', 'Retrouvez nos épisodes sur Castopod, nos vidéos sur PeerTube et nos actualités sur Mastodon.');
|
||||
|
||||
// Image du mouvement à afficher dans la section de présentation
|
||||
// Image du podcast à afficher dans la section de présentation
|
||||
// define('MOVEMENT_IMAGE', 'img/movement_presentation.png');
|
||||
|
||||
// Texte alternatif pour l'image du mouvement (accessibilité)
|
||||
// define('MOVEMENT_IMAGE_ALT', 'Texte alternatif pour l\'image du mouvement');
|
||||
// Texte alternatif pour l'image (accessibilité)
|
||||
// define('MOVEMENT_IMAGE_ALT', 'Logo du podcast ANNU KUTE CED');
|
||||
|
||||
// Légende de l'image (peut contenir du HTML simple comme <br>)
|
||||
// define('MOVEMENT_CAPTION', 'Légende de l\'image');
|
||||
// define('MOVEMENT_CAPTION', 'ANNU KUTE CED');
|
||||
|
||||
|
||||
// =========================================
|
||||
@@ -419,7 +427,7 @@ define('WORDPRESS_ENABLED', false);
|
||||
// define('NEXT_LIVE_TITLE', 'Prochain live');
|
||||
|
||||
// Description de l'annonce du prochain live
|
||||
// define('NEXT_LIVE_DESCRIPTION', 'Rejoignez-nous pour notre prochain live !');
|
||||
// define('NEXT_LIVE_DESCRIPTION', 'Rejoignez-nous pour le prochain enregistrement d\'ANNU KUTE CED !');
|
||||
|
||||
// Date du prochain live (format: Y-m-d H:i:s)
|
||||
// define('NEXT_LIVE_DATE', '2025-10-11 10:00:00');
|
||||
|
||||
+1
-1
@@ -664,7 +664,7 @@ function getCastopodEpisodes($castopodUrl = null, $podcastSlugs = null, $count =
|
||||
}
|
||||
|
||||
$castopodUrl = $castopodUrl ?? CASTOPOD_URL;
|
||||
$podcastSlugs = $podcastSlugs ?? (defined('CASTOPOD_PODCAST_SLUGS') ? CASTOPOD_PODCAST_SLUGS : ['joukawouve']);
|
||||
$podcastSlugs = $podcastSlugs ?? (defined('CASTOPOD_PODCAST_SLUGS') ? CASTOPOD_PODCAST_SLUGS : ['annu_kute_cedric']);
|
||||
$count = $count ?? CASTOPOD_EPISODES_COUNT;
|
||||
|
||||
// Convertir en tableau si c'est une chaîne unique (rétrocompatibilité)
|
||||
|
||||
Reference in New Issue
Block a user