Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Running Hyperlocal French News Sites Without a Newsroom

说明与用途

一个基于 PHP 的平台聚合法国小城镇的公共数据,自动生成带来源引用的新闻,并通过开放 API 集成天气和燃油价格。

问题

Small French towns lack dedicated local newspapers, leaving essential information scattered across PDFs, paywalled archives, and Facebook groups.

结果

The platform delivers up‑to‑date local news for five towns using a single codebase, reducing maintenance overhead and ensuring transparency through visible source citations.

工作流

  • 1. Configure town-specific settings (name, department, coordinates, category templates).
  • 2. Ingest public sources: town hall bulletins, prefecture announcements, open government feeds.
  • 3. Generate articles from templates, attaching source citations.
  • 4. Integrate live widgets: Open‑Meteo for weather and data.economie.gouv.fr for fuel prices, refreshing on a schedule.
  • 5. Produce a hybrid sitemap: normal URLs for pages and <news:news> tags for recent articles.
  • 6. Deploy the same codebase for multiple towns, adjusting config per town.

证据

We built a small PHP platform to pull that information back into one place, town by town, and dignes-infos.fr is one of the sites running on it.

来源

The articles are compiled automatically from public sources, and the site says so on every page.

来源

Two widgets forced us to integrate with real government APIs instead of shipping static placeholder data: a weather panel (Open‑Meteo) and a fuel‑price panel built on top of data.economie.gouv.fr.

来源

Google's news sitemap protocol wants a dedicated <news:news> feed, separate from a normal sitemap, listing only articles published in roughly the last two days.

来源

The same codebase also powers sites for Aubenas, Manosque, Gap and Aurillac.

来源

  • 记录日期: 2026-11-01T23:13:46.952Z