Skip to content
joinery / docs

Marina Roustan's discovery

To implement609 words · updated 8 days agodocs/decisions/0038-marina-roustan-discovery.md

🧭 Marina Roustan's discovery

Context

The Marina Roustan rebuild moves a small WordPress site, built with Oxygen, to a Nuxt app whose content is Markdown in the repo. Before design or build starts, the discovery spike says what the live site holds, what each URL becomes, which surfaces stay, and which provider replaces each integration. Hosting is Netlify, as for Huella Legal.

Result

The live site was probed on 15 Nov 2026: 10 posts (9 from 2020, 3 in English), 7 pages, one category, no tags or comments, about 80 media items. Its plugins are Oxygen, Fluent Forms, Akismet, Yoast and LiteSpeed's cache. No page loads a script from another host.

Content. Posts and the aviso-legal, servicios and libro-cancer pages export from REST, whose text matches the live pages. The home page's REST body is an older draft (62% of its words are on the live page) and Contacto's is empty, so their copy and the three testimonials are written into the app from the live pages. Nine posts have a featured image and a Yoast description; no body holds an image, table, embed or shortcode.

Old URLBecomes
/, /servicios/, /aviso-legal/, /libro-cancer/, /contacto/, /blog/, the 10 /<post-slug>/The same path
/testarea/, a public copy of the home page301 to /
/category/uncategorized/, /author/marina-roustan/, /feed/301 to /blog/
/wp-content/uploads/…301 to the media's new path
/wp-admin/…, /wp-login.php, /wp-json/…, /xmlrpc.php410
SurfaceBlock
Servicios, aviso legal, libro cáncerstandard-page, the one page template
Home, with its testimonials and formhome-page
Contacto: name, email, phone, message and consent, sent through Resend behind a honeypot and Turnstilecontact-form, copying apps/huella-legal/layers/contact and layers/forms
Blog listing and post pagearticulos-page
Header, footer, WhatsApp and phone linksnavigation-shell
Search, new on this sitesearch
Analytics and consent banner, absent todaySwitched off
ChangeWhereWhat
1apps/marina-roustan/content/One Markdown file per post and Standard page, with title, slug, date, description, image
2An export script under infrastructure/scripts, per the scripts-new-script skillWrites change 1 and copies the media; re-runs in one command
3apps/marina-roustan/layers/legacy/, copying Huella'sThe redirects above, in Netlify's _redirects
4apps/marina-roustan/nuxt.config.ts, nitro.prerenderEvery route prerendered

Options considered

OptionWhy not
WordPress as a headless source, as HuellaTen posts with no edit since 2024 don't justify a CMS host and its credentials
Posts under /blog/<slug>/Ten citable URLs would need redirects for nothing
A mailto: instead of the formThe form is how patients ask for an appointment

Consequences

WordPress can be retired after launch, so no route proxies to it. The export goes first, since the content source and the test fixtures read its output. Switching analytics on later brings a provider choice and the consent banner.

Confirmation

ClaimCheck
Every post and Standard page is exportedapps/marina-roustan/content holds 10 posts and 3 pages
Every old URL answersAn e2e spec requests the 19 sitemap URLs on the preview deploy and gets 200 or the redirect above