Auto-load legislation in side panel; fix 503 via SRU XML lookup

↗ view on GitHub · Claude · 2026-05-05 · 4763f72a

Legislation articles now load automatically when the panel opens -
no button needed (articles are short). Case law keeps the load button.

Fix HTTP 503: stop scraping wetten.overheid.nl HTML (which blocks bots).
Instead resolve the current XML URL via the zoekservice.overheid.nl SRU
endpoint (same one used for legislation search), falling back to the
manifest on repository.officiele-overheidspublicaties.nl.

https://claude.ai/code/session_016JxWnFc3baeDgkzDgxY6ex
Repository Jeroen1991z/mikeNL
Author Claude <noreply@anthropic.com>
Authored
Committed
Parents dbd25688
Stats 2 files changed , +62 , -15
Part of Legal citation side panel (full-text reader with quote highlight)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-4763f72a.md from inside the repo you want the change in.

⬇ Download capture-commit-4763f72a.md