The bingo card ran inside the asxpio container, dispatched by Host. Give the public site its own repo, image and deploy so it can be released and mirrored independently of asxp.io. Editing stays in the asxp.io admin, which keeps owning the schema and the photo pipeline; this app only reads the shared bingo tables and the bingo/ photos, through a read-only DB role and MinIO user. Tests load a snapshot of the asxpio-built schema (test/schema.sql). Assisted-by: Claude:opus-5
16 lines
669 B
Text
16 lines
669 B
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
|
<% @entries.each do |path_for, lastmod, x_default| %>
|
|
<% Bingo::LOCALES.each do |l| %>
|
|
<url>
|
|
<loc><%= base_url %><%= path_for.(l) %></loc>
|
|
<% if lastmod %> <lastmod><%= lastmod.utc.iso8601 %></lastmod>
|
|
<% end %>
|
|
<% Bingo::LOCALES.each do |alt| %> <xhtml:link rel="alternate" hreflang="<%= alt %>" href="<%= base_url %><%= path_for.(alt) %>"/>
|
|
<% end %>
|
|
<% if x_default %> <xhtml:link rel="alternate" hreflang="x-default" href="<%= base_url %><%= x_default %>"/>
|
|
<% end %>
|
|
</url>
|
|
<% end %>
|
|
<% end %>
|
|
</urlset>
|