Page 404, llms.txt, balises méta (À propos) et bloc Caddy handle_errors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cette révision appartient à :
1 Parent
edccda33a5
révision
6551843f28
9 fichiers modifiés
+263
-1
Aucun fichier ne correspond à votre recherche
@@ -29,3 +29,5 @@ vercors.me {
|
|||||||
|
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# --- Page 404 : voir deploy/vercors-404.caddy (bloc handle_errors à ajouter dans le site vercors.me, non appliqué) ---
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
# NON APPLIQUE. Bloc à ajouter (en sudo, par Théo) dans le site `vercors.me { ... }` de /etc/caddy/Caddyfile
|
||||||
|
# (ou dans le fichier vercors.me importé), juste avant `file_server`. Prérequis : /srv/vercors.me/404.html déployé
|
||||||
|
# (produit par maquettes/accueil-carte/assembler.py dans site-v2/). Valider avec `caddy validate`, puis recharger.
|
||||||
|
#
|
||||||
|
# La page 404 n'utilise que /polices/ et du CSS/SVG en ligne : compatible avec la CSP du site.
|
||||||
|
# Le bloc `header` du site ne s'applique pas aux réponses d'erreur : on répète donc les en-têtes de sécurité.
|
||||||
|
# Les URL /data/* en erreur gardent une réponse courte (pas de page HTML pour les robots de lecture JSON).
|
||||||
|
|
||||||
|
handle_errors {
|
||||||
|
@page404 expression `{err.status_code} == 404 && !{path}.startsWith("/data/")`
|
||||||
|
handle @page404 {
|
||||||
|
header {
|
||||||
|
Content-Security-Policy "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; font-src 'self'; connect-src 'self'; frame-ancestors 'none'"
|
||||||
|
Referrer-Policy "strict-origin-when-cross-origin"
|
||||||
|
X-Frame-Options "DENY"
|
||||||
|
Cache-Control "no-cache"
|
||||||
|
-Server
|
||||||
|
}
|
||||||
|
rewrite * /404.html
|
||||||
|
file_server {
|
||||||
|
status 404
|
||||||
|
}
|
||||||
|
}
|
||||||
|
handle {
|
||||||
|
respond "{err.status_code} {err.status_text}" {err.status_code}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="theme-color" content="#f5f3ee">
|
||||||
|
<meta name="robots" content="noindex">
|
||||||
|
<title>Hors sentier · Météo Vercors</title>
|
||||||
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%231f4d3a'/%3E%3Cpath d='M3 24 12 9l5 8 3-4 9 11z' fill='%23f5f3ee'/%3E%3C/svg%3E">
|
||||||
|
<style>
|
||||||
|
@font-face{font-family:'Bitter';font-style:italic;font-weight:500;font-display:swap;src:url(/polices/bitter-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
|
||||||
|
@font-face{font-family:'Bitter';font-style:normal;font-weight:500 700;font-display:swap;src:url(/polices/bitter-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
|
||||||
|
@font-face{font-family:'Outfit';font-style:normal;font-weight:400 600;font-display:swap;src:url(/polices/outfit-normal.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
|
||||||
|
:root{--titre:'Bitter',Georgia,serif;--texte:'Outfit',system-ui,sans-serif;--sapin:#1f4d3a;--calcaire:#f5f3ee;--pierre:#e4e0d6;--roche:#2b2f2c;--gris:#5d635e;--rouge:#b3402f}
|
||||||
|
*{box-sizing:border-box}
|
||||||
|
html,body{margin:0;min-height:100%;background:var(--calcaire);color:var(--roche);font-family:var(--texte);line-height:1.55}
|
||||||
|
a{color:var(--sapin)}
|
||||||
|
a:focus-visible{outline:2px solid var(--sapin);outline-offset:2px}
|
||||||
|
main{max-width:760px;margin:0 auto;padding:48px 20px 40px}
|
||||||
|
.coord{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gris)}
|
||||||
|
.balise{display:inline-block;width:22px;height:7px;background:#fff;box-shadow:0 7px 0 var(--rouge);margin:0 8px 7px 0;vertical-align:middle;outline:1px solid var(--pierre)}
|
||||||
|
h1{font-family:var(--titre);font-weight:700;font-size:56px;line-height:1;margin:18px 0 12px;color:var(--sapin)}
|
||||||
|
.accroche{margin:0 0 22px;font-family:var(--titre);font-style:italic;font-size:18px;color:var(--gris)}
|
||||||
|
p{font-size:16px;max-width:52ch}
|
||||||
|
.crete{display:block;width:100%;max-width:560px;margin:28px 0}
|
||||||
|
.crete .ligne{fill:none;stroke:var(--roche);stroke-width:2.4;stroke-linejoin:round}
|
||||||
|
.crete .sentier{fill:none;stroke:var(--rouge);stroke-width:2;stroke-dasharray:2 7;stroke-linecap:round}
|
||||||
|
.crete .point{fill:var(--rouge)}
|
||||||
|
.crete text{font-family:var(--texte);font-size:11px;letter-spacing:.08em;fill:var(--gris)}
|
||||||
|
.crete .ici{fill:var(--rouge);font-weight:600}
|
||||||
|
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
|
||||||
|
.bouton{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;color:#fff;background:var(--sapin);padding:10px 14px}
|
||||||
|
.bouton.clair{color:var(--sapin);background:var(--calcaire);border:1px solid var(--sapin)}
|
||||||
|
.pied{margin-top:44px;padding-top:14px;border-top:1px solid var(--pierre);font-size:13px;color:var(--gris)}
|
||||||
|
@media (max-width:560px){h1{font-size:42px}}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<div class="coord"><span class="balise" aria-hidden="true"></span>Erreur 404 · Météo Vercors</div>
|
||||||
|
<h1>Hors sentier.</h1>
|
||||||
|
<p class="accroche">Ici, aucune station ne mesure rien.</p>
|
||||||
|
<p>La page demandée n'existe pas (ou plus). Le balisage s'arrête net : mieux vaut faire demi-tour jusqu'à la carte, où les stations du Vercors donnent leurs relevés en direct.</p>
|
||||||
|
<svg class="crete" viewBox="0 0 560 150" role="img" aria-label="Une ligne de crête et un sentier qui s'arrête">
|
||||||
|
<path class="ligne" d="M0 120 L50 100 L90 108 L150 36 L190 84 L230 70 L290 22 L340 78 L380 62 L440 96 L500 88 L560 112"/>
|
||||||
|
<text x="140" y="26">Pic 404</text>
|
||||||
|
<text x="280" y="14">Col du Néant</text>
|
||||||
|
<path class="sentier" d="M8 138 C70 132 120 142 180 128 S250 126 274 132"/>
|
||||||
|
<circle class="point" cx="274" cy="132" r="5"/>
|
||||||
|
<text class="ici" x="284" y="137">VOUS ÊTES ICI</text>
|
||||||
|
</svg>
|
||||||
|
<div class="actions">
|
||||||
|
<a class="bouton" href="/">← Retour à la carte</a>
|
||||||
|
<a class="bouton clair" href="/a-propos">À propos</a>
|
||||||
|
</div>
|
||||||
|
<p class="pied">Lien cassé chez nous ? Écrivez à <a href="mailto:studio@gastinel.me">studio@gastinel.me</a></p>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -6,6 +6,19 @@
|
|||||||
<meta name="theme-color" content="#f5f3ee">
|
<meta name="theme-color" content="#f5f3ee">
|
||||||
<meta name="description" content="Le projet, les sources, les licences et les mentions légales de Météo Vercors.">
|
<meta name="description" content="Le projet, les sources, les licences et les mentions légales de Météo Vercors.">
|
||||||
<title>À propos · Météo Vercors</title>
|
<title>À propos · Météo Vercors</title>
|
||||||
|
<link rel="canonical" href="https://vercors.me/a-propos">
|
||||||
|
<meta name="robots" content="index, follow">
|
||||||
|
<meta name="color-scheme" content="light">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content="Météo Vercors">
|
||||||
|
<meta property="og:locale" content="fr_FR">
|
||||||
|
<meta property="og:url" content="https://vercors.me/a-propos">
|
||||||
|
<meta property="og:title" content="À propos · Météo Vercors">
|
||||||
|
<meta property="og:description" content="Le projet, les sources, les licences et les mentions légales de Météo Vercors.">
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:title" content="À propos · Météo Vercors">
|
||||||
|
<meta name="twitter:description" content="Le projet, les sources, les licences et les mentions légales de Météo Vercors.">
|
||||||
|
<script type="application/ld+json">{"@context":"https://schema.org","@type":"AboutPage","url":"https://vercors.me/a-propos","name":"À propos · Météo Vercors","inLanguage":"fr","isPartOf":{"@type":"WebSite","name":"Météo Vercors","url":"https://vercors.me/"}}</script>
|
||||||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%231f4d3a'/%3E%3Cpath d='M3 24 12 9l5 8 3-4 9 11z' fill='%23f5f3ee'/%3E%3C/svg%3E">
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%231f4d3a'/%3E%3Cpath d='M3 24 12 9l5 8 3-4 9 11z' fill='%23f5f3ee'/%3E%3C/svg%3E">
|
||||||
<style>
|
<style>
|
||||||
@font-face{font-family:'Bitter';font-style:italic;font-weight:500;font-display:swap;src:url(polices/bitter-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
|
@font-face{font-family:'Bitter';font-style:italic;font-weight:500;font-display:swap;src:url(polices/bitter-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
|
||||||
|
|||||||
@@ -6,6 +6,19 @@
|
|||||||
<meta name="theme-color" content="#f5f3ee">
|
<meta name="theme-color" content="#f5f3ee">
|
||||||
<meta name="description" content="Le projet, les sources, les licences et les mentions légales de Météo Vercors.">
|
<meta name="description" content="Le projet, les sources, les licences et les mentions légales de Météo Vercors.">
|
||||||
<title>À propos · Météo Vercors</title>
|
<title>À propos · Météo Vercors</title>
|
||||||
|
<link rel="canonical" href="https://vercors.me/a-propos">
|
||||||
|
<meta name="robots" content="index, follow">
|
||||||
|
<meta name="color-scheme" content="light">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content="Météo Vercors">
|
||||||
|
<meta property="og:locale" content="fr_FR">
|
||||||
|
<meta property="og:url" content="https://vercors.me/a-propos">
|
||||||
|
<meta property="og:title" content="À propos · Météo Vercors">
|
||||||
|
<meta property="og:description" content="Le projet, les sources, les licences et les mentions légales de Météo Vercors.">
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:title" content="À propos · Météo Vercors">
|
||||||
|
<meta name="twitter:description" content="Le projet, les sources, les licences et les mentions légales de Météo Vercors.">
|
||||||
|
<script type="application/ld+json">{"@context":"https://schema.org","@type":"AboutPage","url":"https://vercors.me/a-propos","name":"À propos · Météo Vercors","inLanguage":"fr","isPartOf":{"@type":"WebSite","name":"Météo Vercors","url":"https://vercors.me/"}}</script>
|
||||||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%231f4d3a'/%3E%3Cpath d='M3 24 12 9l5 8 3-4 9 11z' fill='%23f5f3ee'/%3E%3C/svg%3E">
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%231f4d3a'/%3E%3Cpath d='M3 24 12 9l5 8 3-4 9 11z' fill='%23f5f3ee'/%3E%3C/svg%3E">
|
||||||
<style>
|
<style>
|
||||||
/*POLICES*/
|
/*POLICES*/
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Assemble le site publiable de vercors.me dans <projet>/site-v2/ à partir de la maquette.
|
"""Assemble le site publiable de vercors.me dans <projet>/site-v2/ à partir de la maquette.
|
||||||
|
|
||||||
site-v2/index.html, a-propos.html, (cgu.html, confidentialite.html si présents), polices/, tuiles/, data/ (vide)
|
site-v2/index.html, a-propos.html, 404.html, llms.txt, llms-full.txt, (cgu.html, confidentialite.html si présents), polices/, tuiles/, data/ (vide)
|
||||||
Les JSON de données (data/*.json, data/semaine/) sont produits sur cornafserver et copiés sur le serveur public à part.
|
Les JSON de données (data/*.json, data/semaine/) sont produits sur cornafserver et copiés sur le serveur public à part.
|
||||||
Usage : python assembler.py
|
Usage : python assembler.py
|
||||||
"""
|
"""
|
||||||
@@ -28,6 +28,9 @@ def main():
|
|||||||
t = t.replace('<li><a href="cgu.html">CGU</a></li>', '').replace('<li><a href="confidentialite.html">Confidentialité</a></li>', '')
|
t = t.replace('<li><a href="cgu.html">CGU</a></li>', '').replace('<li><a href="confidentialite.html">Confidentialité</a></li>', '')
|
||||||
t = t.replace('href="forum/index.html"', 'aria-disabled="true"').replace('href="forum/connexion.html"', 'aria-disabled="true"')
|
t = t.replace('href="forum/index.html"', 'aria-disabled="true"').replace('href="forum/connexion.html"', 'aria-disabled="true"')
|
||||||
open(ip, "w", encoding="utf-8").write(t)
|
open(ip, "w", encoding="utf-8").write(t)
|
||||||
|
for fixe in ("404.html", "llms.txt", "llms-full.txt"):
|
||||||
|
if os.path.exists(os.path.join(ICI, fixe)):
|
||||||
|
shutil.copy(os.path.join(ICI, fixe), os.path.join(DEST, fixe))
|
||||||
open(os.path.join(DEST, "robots.txt"), "w", encoding="utf-8").write("User-agent: *\nAllow: /\nSitemap: https://vercors.me/sitemap.xml\n")
|
open(os.path.join(DEST, "robots.txt"), "w", encoding="utf-8").write("User-agent: *\nAllow: /\nSitemap: https://vercors.me/sitemap.xml\n")
|
||||||
urls = "".join("<url><loc>https://vercors.me/%s</loc></url>" % u for u in ("", "a-propos"))
|
urls = "".join("<url><loc>https://vercors.me/%s</loc></url>" % u for u in ("", "a-propos"))
|
||||||
open(os.path.join(DEST, "sitemap.xml"), "w", encoding="utf-8").write('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">%s</urlset>\n' % urls)
|
open(os.path.join(DEST, "sitemap.xml"), "w", encoding="utf-8").write('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">%s</urlset>\n' % urls)
|
||||||
|
|||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# Météo Vercors : lire les données (version détaillée)
|
||||||
|
|
||||||
|
Météo Vercors (https://vercors.me) publie les relevés en direct de 18 stations du Vercors. Ces fichiers JSON sont publics, sans clé. Ils sont rafraîchis toutes les 6 à 10 minutes ; ne les interrogez pas plus d'une fois par minute. Toutes les heures sont en UTC.
|
||||||
|
|
||||||
|
## Fichiers
|
||||||
|
|
||||||
|
- /data/infoclimat.json : stations Gastinel et ROMMA relayées via Infoclimat (bruyeres, allieres, engins, meaudre, geve, lans, moucherolle, darbounouse, oscence, die, st-julien-q, archiane).
|
||||||
|
- /data/meteofrance.json : mf-autrans, mf-villard, mf-chapelle, mf-rousset, mf-gresse, mf-st-jean.
|
||||||
|
- /data/weatherlink.json : bruyeres, meaudre, geve, allieres, vp2-lans.
|
||||||
|
- /data/vp2.json : lans (station Davis Vantage Pro2 de Lans-en-Vercors village).
|
||||||
|
- /data/semaine/<id>.json : une semaine d'historique pour la station <id>.
|
||||||
|
|
||||||
|
Une même station peut figurer dans plusieurs fichiers (ex. "bruyeres" dans infoclimat.json et weatherlink.json) : les sources diffèrent, les valeurs peuvent légèrement différer.
|
||||||
|
|
||||||
|
## Structure des fichiers /data/<source>.json
|
||||||
|
|
||||||
|
{
|
||||||
|
"source": "texte décrivant la source et sa licence",
|
||||||
|
"mis_a_jour_utc": "AAAA-MM-JJTHH:MM:SSZ",
|
||||||
|
"metadonnees": { "<id>": { "licence": "...", "lat": .., "lon": .., "altitude": .. } },
|
||||||
|
"stations": {
|
||||||
|
"<id>": {
|
||||||
|
"nom": "nom lisible",
|
||||||
|
"source": "origine",
|
||||||
|
"hors_ligne": false,
|
||||||
|
"releves": [ { "dh_utc": "AAAA-MM-JJ HH:MM:SS", "temperature": .. }, ... ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- "mis_a_jour_utc" : dernière collecte du fichier.
|
||||||
|
- "releves" est une liste chronologique (le plus ancien d'abord, environ 1 à 2 jours de relevés) : le relevé le plus récent est le DERNIER élément.
|
||||||
|
- "lat", "lon" et "altitude" (en m) ne sont pas fournis pour toutes les stations ni dans tous les fichiers ; ne les supposez pas.
|
||||||
|
- Si "hors_ligne" vaut true, la station ne répond plus : n'utilisez pas ses valeurs comme actuelles.
|
||||||
|
|
||||||
|
## Champs d'un relevé (tous facultatifs sauf dh_utc)
|
||||||
|
|
||||||
|
- dh_utc : date et heure du relevé, UTC.
|
||||||
|
- temperature : température de l'air, en °C ; temperature_min, temperature_max : extrêmes de la période, °C.
|
||||||
|
- humidite : humidité relative de l'air ; une valeur manifestement hors de 0 à 100 est à ignorer.
|
||||||
|
- point_de_rosee : °C. pression : hPa.
|
||||||
|
- vent_moyen : vent moyen ; vent_rafales : rafales (Météo-France) ; vent_direction : direction du vent en degrés.
|
||||||
|
- pluie_1h : pluie sur 1 heure ; pluie_cumul_0h : cumul de pluie depuis minuit (mm).
|
||||||
|
|
||||||
|
Un champ absent signifie que la station ne mesure pas cette grandeur ou qu'elle n'a pas répondu : ne le remplacez jamais par une valeur inventée. Pour les unités du vent, en cas de doute, citez la source plutôt que de convertir.
|
||||||
|
|
||||||
|
## Structure de /data/semaine/<id>.json
|
||||||
|
|
||||||
|
{ "id": "moucherolle", "debut": 1793214000, "pas": 1800,
|
||||||
|
"t": [..], "h": [..], "v": [..], "r": [..],
|
||||||
|
"capteurs": { "vent": false, "pluie": false, "humidite": true },
|
||||||
|
"archive_depuis": 1782331800 }
|
||||||
|
|
||||||
|
- debut : horodatage Unix (secondes, UTC) de la première valeur ; pas : secondes entre deux valeurs (1800 = une demi-heure).
|
||||||
|
- t : températures (°C), h : humidité, v : vent, r : pluie. La valeur d'indice i date de debut + i x pas. null = pas de mesure.
|
||||||
|
- capteurs indique ce que la station mesure vraiment : si "vent" vaut false, v ne contient que des null.
|
||||||
|
|
||||||
|
## Exemple : « à la crête de la Moucherolle il fait X °C, relevé il y a N min »
|
||||||
|
|
||||||
|
1. Télécharger https://vercors.me/data/infoclimat.json.
|
||||||
|
2. Prendre stations["moucherolle"] (nom : Crête de la Moucherolle). Vérifier que hors_ligne est false.
|
||||||
|
3. Prendre le dernier élément de releves : X est son champ "temperature" (°C). Si le champ est absent, ne pas annoncer de température.
|
||||||
|
4. N = (heure actuelle UTC moins dh_utc de ce relevé), en minutes, arrondi.
|
||||||
|
5. Formuler : « À la crête de la Moucherolle, il fait X °C (relevé il y a N min, source : Météo Vercors) ». Ne jamais répondre sans avoir lu le fichier : les valeurs changent toutes les quelques minutes.
|
||||||
|
|
||||||
|
## Réutilisation
|
||||||
|
|
||||||
|
Citez "Météo Vercors (vercors.me)" et la source de la station. Respectez la licence de chaque station (champ "metadonnees.<id>.licence") : certaines sont limitées à un usage non commercial. Contact : studio@gastinel.me
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
# Météo Vercors
|
||||||
|
|
||||||
|
> Météo Vercors (https://vercors.me) est une alternative locale et indépendante aux sites météo classiques, pour le massif du Vercors uniquement. Elle affiche en direct les mesures de 18 stations réelles, station par station (pas de prévision modélisée à la commune). Mise à jour toutes les 6 à 10 minutes. Sans publicité, sans pistage, sans cookie, sans compte. Projet personnel de la famille Gastinel (Lans-en-Vercors).
|
||||||
|
|
||||||
|
Les stations viennent de trois origines : Météo-France (6 stations, Licence Ouverte Etalab 2.0), ROMMA (Réseau d'Observation Météo du Massif Alpin, avec l'accord de l'association) et les stations de la famille Gastinel (Davis Vantage Pro2 et WeatherLink). La licence de chaque station est indiquée dans les données elles-mêmes (champ "metadonnees"). Certaines sont non commerciales (CC BY NC) : respectez-les en réutilisant.
|
||||||
|
|
||||||
|
## Pages
|
||||||
|
|
||||||
|
- [La carte](https://vercors.me/): carte du Vercors et relevés en direct de chaque station.
|
||||||
|
- [À propos](https://vercors.me/a-propos): projet, sources, licences, mentions légales, contact.
|
||||||
|
|
||||||
|
## Données publiques (JSON, sans clé ni inscription)
|
||||||
|
|
||||||
|
- [Infoclimat (relais)](https://vercors.me/data/infoclimat.json): 12 stations (Gastinel et ROMMA).
|
||||||
|
- [Météo-France](https://vercors.me/data/meteofrance.json): 6 stations.
|
||||||
|
- [WeatherLink](https://vercors.me/data/weatherlink.json): 5 stations Davis de la famille Gastinel.
|
||||||
|
- [Station de Lans](https://vercors.me/data/vp2.json): station Davis Vantage Pro2 de Lans-en-Vercors village.
|
||||||
|
- Historique sur une semaine par station : https://vercors.me/data/semaine/<id>.json (ex. https://vercors.me/data/semaine/moucherolle.json).
|
||||||
|
|
||||||
|
Format détaillé et exemple de lecture : [llms-full.txt](https://vercors.me/llms-full.txt)
|
||||||
|
|
||||||
|
## Optionnel
|
||||||
|
|
||||||
|
- [Plan du site](https://vercors.me/sitemap.xml)
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
<!-- Bloc <head> recommandé pour index (modele.html). Remplace les meta équivalentes déjà présentes. Aucune ressource externe. -->
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>Météo Vercors · les stations du Vercors en direct</title>
|
||||||
|
<meta name="description" content="Relevés en direct de 18 stations météo du Vercors, station par station : température, vent, pluie, pression. Locale, indépendante, sans publicité ni pistage.">
|
||||||
|
<link rel="canonical" href="https://vercors.me/">
|
||||||
|
<meta name="robots" content="index, follow, max-image-preview:large">
|
||||||
|
<meta name="theme-color" content="#f5f3ee">
|
||||||
|
<meta name="color-scheme" content="light">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content="Météo Vercors">
|
||||||
|
<meta property="og:locale" content="fr_FR">
|
||||||
|
<meta property="og:url" content="https://vercors.me/">
|
||||||
|
<meta property="og:title" content="Météo Vercors · les stations du Vercors en direct">
|
||||||
|
<meta property="og:description" content="Relevés en direct de 18 stations météo du Vercors. Locale, indépendante, sans publicité ni pistage.">
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:title" content="Météo Vercors · les stations du Vercors en direct">
|
||||||
|
<meta name="twitter:description" content="Relevés en direct de 18 stations météo du Vercors. Sans publicité ni pistage.">
|
||||||
|
<link rel="alternate" type="text/plain" href="/llms.txt" title="llms.txt">
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@graph": [
|
||||||
|
{
|
||||||
|
"@type": "WebSite",
|
||||||
|
"@id": "https://vercors.me/#site",
|
||||||
|
"url": "https://vercors.me/",
|
||||||
|
"name": "Météo Vercors",
|
||||||
|
"inLanguage": "fr",
|
||||||
|
"description": "Relevés en direct des stations météo du Vercors, station par station."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "Dataset",
|
||||||
|
"@id": "https://vercors.me/#donnees",
|
||||||
|
"name": "Relevés des stations météo du Vercors",
|
||||||
|
"description": "Mesures en direct de 18 stations du Vercors (Météo-France, ROMMA, stations de la famille Gastinel), mises à jour toutes les 6 à 10 minutes.",
|
||||||
|
"url": "https://vercors.me/",
|
||||||
|
"inLanguage": "fr",
|
||||||
|
"isAccessibleForFree": true,
|
||||||
|
"spatialCoverage": "Massif du Vercors, France",
|
||||||
|
"variableMeasured": ["température", "humidité", "pression", "vent", "pluie"],
|
||||||
|
"creator": {"@type": "Organization", "name": "Météo Vercors", "url": "https://vercors.me/"},
|
||||||
|
"distribution": [
|
||||||
|
{"@type": "DataDownload", "encodingFormat": "application/json", "contentUrl": "https://vercors.me/data/meteofrance.json"},
|
||||||
|
{"@type": "DataDownload", "encodingFormat": "application/json", "contentUrl": "https://vercors.me/data/infoclimat.json"},
|
||||||
|
{"@type": "DataDownload", "encodingFormat": "application/json", "contentUrl": "https://vercors.me/data/weatherlink.json"},
|
||||||
|
{"@type": "DataDownload", "encodingFormat": "application/json", "contentUrl": "https://vercors.me/data/vp2.json"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<!-- CSP actuelle : script-src 'self' 'unsafe-inline' autorise ce JSON-LD (type application/ld+json n'est de toute façon pas exécuté). -->
|
||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur