Commit Graph
7 Commits
Author SHA1 Message Date
paraandClaude Opus 5.5 09e387754c Redirect old actualites.php/agenda.php URLs to the official feeds
Those URLs were shared publicly; without a redirect, existing subscribers
would hit a 404 and silently stop receiving updates. A 301 lets readers
that honour permanent redirects update the subscription themselves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 22:22:17 +01:00
paraandClaude Opus 5.5 da90e1dbbe Merge origin/main: keep removal of actualites.php and agenda.php
The remote had a 16/10 rewrite of both scripts for the new WordPress site
(feed relay for news, iCal-to-RSS for the agenda). It works, but the
commune now publishes official feeds for both (/actualites/feed/,
/agenda/feed/), so the decision is to drop the scripts and subscribe to
those directly. The rewrite stays in history (38c1812).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 22:13:11 +01:00
paraandClaude Opus 5.5 46b7c5af2c Drop news/agenda feeds: silly.be moved to WordPress with official feeds
The commune rebuilt silly.be on WordPress; the Plone @results API these
scripts relied on is gone (every request now 301s to the new page), so
actualites.php and agenda.php were serving empty channels. The new site
publishes its own feeds (/actualites/feed/, /agenda/feed/), so rather than
rewrite against the WordPress API, subscribe to those directly.

Removes actualites.php, agenda.php, the Python variant and its cron/nginx
deploy files, and trims common.php to what facebook.php still uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 22:09:23 +01:00
mathieu 38c181203e Modification des entrées du site. Il est passé sur wordpress. Problème pour l'agenda, c'est que ics -> tranformé en rss 2026-10-16 15:33:18 +02:00
paraandClaude Sonnet 5 896454aeea Pin PHP deployment instructions to the actual target domain
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-25 22:10:26 +02:00
paraandClaude Sonnet 5 8205bfdffc Add PHP variant: no-cron, request-time feed generation for shared hosting
Same imio.smartweb JSON API as the Python script, but each feed regenerates
on demand (15 min file cache) instead of via cron, so it works on plain
PHP shared hosting with no server config access. Also adds facebook.php,
a caching proxy for the user's FetchRSS Atom feed so all three feeds live
under one domain and can be shared as stable URLs.

Tested with PHP 8.3 CLI: valid XML, real data (40 news, 12 events, proxied
Facebook feed).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-25 22:05:26 +02:00
paraandClaude Sonnet 5 ecf9baaa4d Add RSS feed generator for commune de Silly (actualites + agenda)
Scrapes the imio.smartweb JSON API used by www.silly.be (found via the
smartweb-news/smartweb-events web components in the raw HTML) instead of
needing a headless browser. Shells out to curl since Cloudflare silently
blocks Python's urllib/requests TLS fingerprint. Includes Yunohost cron
and nginx deployment snippets.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-25 21:36:39 +02:00