Skip to content

Serve the client SEF from static/lt/linkeddata/ instead of static/com/ltlod/ - #26

Open
namedgraph wants to merge 1 commit into
masterfrom
chore/rename-client-xsl-path
Open

Serve the client SEF from static/lt/linkeddata/ instead of static/com/ltlod/#26
namedgraph wants to merge 1 commit into
masterfrom
chore/rename-client-xsl-path

Conversation

@namedgraph

Copy link
Copy Markdown
Member

The LTLOD client-side stylesheet override was mounted under a reverse-DNS path derived from a domain we do not own (com/ltlod), mirroring LDH's own static/com/atomgraph/linkeddatahub/. This switches it to the reverse-DNS form of the actual deployment domain, linkeddata.ltstatic/lt/linkeddata/xsl/.

Three call sites, all changed together:

File Change
docker-compose.override.yml bind-mount targets for client.xsl + client.xsl.sef.json
files/layout.xsl the client-stylesheet param that repoints the client bootstrap at our SEF
CLAUDE.md the wiring docs

Not touched: the ltlod: RDF prefix (http://linkeddata.lt/ns#), the ltlod-reconcile / ltlod-geo / ltlod_etl tool names, and COMPOSE_PROJECT_NAME=ltlod — a different identifier, not this reverse-DNS static path.

Notes

Path depth is unchanged (three segments under static/), so client.xsl's relative import of ../com/atomgraph/linkeddatahub/xsl/client.xsl and the relocatable SEF are unaffected. No make sef rebuild needed — neither client.xsl nor overrides.xsl changed, and layout.xsl is server-side only. Deploying does need a container recreate to pick up the new mount targets:

docker compose up -d --force-recreate linkeddatahub && docker compose restart nginx varnish-end-user

🤖 Generated with Claude Code

https://claude.ai/code/session_01Rpcs7VhsGAhungG9fjwR1Z

…/ltlod/

The LTLOD client-side stylesheet override was mounted under a reverse-DNS
path derived from a domain we do not own (com/ltlod), mirroring LDH's own
static/com/atomgraph/linkeddatahub/. Use the reverse-DNS form of the actual
deployment domain, linkeddata.lt, instead.

Path depth is unchanged (three segments under static/), so client.xsl's
relative import of ../com/atomgraph/linkeddatahub/xsl/client.xsl and the
relocatable SEF are unaffected — no `make sef` rebuild is needed, only a
container recreate to pick up the new bind-mount targets.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rpcs7VhsGAhungG9fjwR1Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant