Sample: a worked move of a Magnolia site to Adobe Edge Delivery Services. The site is demopublic.magnolia-cms.com: Magnolia's own public demo, which its "About this demo" page describes as a project that demonstrates the key features of Magnolia CMS, built around an imaginary travel company. Magnolia runs it, every page we read is open without sign-in, and the site has no robots.txt. Its pages carry a header that asks search engines not to list them, so we show short excerpts only. It is a demo, not a client. Run on 14 November 2026 with the same scan and importer we use in paid work. All sample reports
Magnolia to Edge Delivery Services · worked example · 14 November 2026
Three steps, each shown with its real output: scan the site, generate the import kit from the Magnolia block mapping, then run the kit on real pages. The last step shows what converts cleanly and what still needs an engineer.
The scan read 20 pages and recognised Magnolia from: Magnolia response header; generator meta tag names Magnolia; Magnolia resource and DAM paths; Magnolia sign-in form.
| Fact | Value |
|---|---|
| Delivery | Served by Magnolia (files from /.resources/) |
| Modules that serve the site's files (7) | mtk2, tours, tours-enterprise, travel-demo-content-tags, travel-demo-marketing-tags, travel-demo-stories-app, travel-demo-theme |
| Theme named in image addresses | travel-demo-theme |
| Image sizes in use (6) | 1366, 1366x1024, 1600x1200, 320, 480x360, 960x720 |
| Assets linked by id | in use |
| Components | not named on public pages (Magnolia marks areas and components for its page editor only) |
| Template | Pages read | Blocks, in page order |
|---|---|---|
| Travel page | 12 | cards |
| Travel page (layout 2) | 3 | carousel, form |
| Travel page (layout 3) | 2 | form |
| Travel page (layout 4) | 2 | video |
| Travel page (layout 5) | 1 | plain content |
| Block | Kind | Pages | Found as | Hours |
|---|---|---|---|---|
| footer | standard | 20 | footer | 3–8 |
| header | standard | 20 | header | 6–16 |
| cards | standard | 12 | .featured-card .tour-card | 3–8 |
| form | standard | 5 | form | 6–16 |
| carousel | standard | 3 | .carousel | 6–14 |
| video | standard | 2 | iframe video | 2–6 |
| Item | Pages | Confidence | Why |
|---|---|---|---|
| Site search | 20 | medium | <form action="/travel/meta/search-results.html" class="navbar-form" role="search"> <div class="form-group has-feedback"> <label for="nav-se… |
| Logged-in areas, closed user groups, personalised pages | 20 | medium | <a href="/travel/members/login.html">Log in</a> <a href="/travel/members/registration.html">Register</a> </div> <div id="language-link"> <u… |
| Third-party integrations and APIs | 1 | medium | <iframe src="https://player.vimeo.com/video/228199156?background=1" class="responsive-element" width="640" height="360" frameborder="0" web… |
| Languages, locales and translation workflow | 1 | medium | Locales seen: de, en |
| Forms (AEM Forms, custom form handlers) | 2 | low | <form id="loginForm" method="post" enctype="application/x-www-form-urlencoded"> <input type="hidden" name="mgnlRealm" value="public"/> <inp… |
Magnolia marks areas and components for its page editor, not for visitors, so a public page names no component. The kit finds blocks by the demo's own class names, each one a first guess for an engineer to confirm. This is the honest limit of a scan from outside. From it, the kit holds an AEM Importer script (tools/importer/import.js), a starter block for each mapping (2 standard, 0 custom) and a README. 6 of 6 files parse.
| Magnolia source | Found by | Edge Delivery block | Confidence |
|---|---|---|---|
featured-card, tour-card | .featured-card, .tour-card | cards | low |
carousel | .carousel | carousel | low |
Headings, paragraphs, lists, images and buttons need no block: they stay plain content in the document. This is the generated cards block, unedited:
import { createOptimizedPicture } from '../../scripts/aem.js';
/*
* Cards block for Magnolia (demopublic.magnolia-cms.com), written by Surge Migrate from the block mapping.
* Old components: featured-card, tour-card.
* Rows, in order: none; then one row per item: image, text.
* tools/importer/import.js writes the rows in this order. Change both together.
*/
const ROWS = [];
const ITEMS = ["image","text"];
/** Splits the block into block-level rows (by field name) and item rows. */
function readBlock(block) {
const rows = [...block.children];
const fields = {};
ROWS.forEach((name, i) => {
if (rows[i]) {
rows[i].classList.add('cards-' + name.replace(/[A-Z]/g, (m) => '-' + m.toLowerCase()));
fields[name] = rows[i].firstElementChild || rows[i];
}
});
return { rows, fields, items: rows.slice(ROWS.length) };
}
function isEmpty(cell) {
return !cell || (!cell.textContent.trim() && !cell.querySelector('img, picture, video, iframe, a'));
}
export default function decorate(block) {
const { items } = readBlock(block);
const ul = document.createElement('ul');
items.forEach((row) => {
const li = document.createElement('li');
[...row.children].forEach((cell, i) => {
if (isEmpty(cell)) return;
const onlyImage = cell.querySelector('picture, img') && !cell.textContent.trim();
cell.className = onlyImage ? 'cards-card-image' : 'cards-card-body';
if (ITEMS[i]) cell.dataset.field = ITEMS[i];
li.append(cell);
});
ul.append(li);
});
ul.querySelectorAll('picture > img, .cards-card-image > img').forEach((img) => {
const pic = createOptimizedPicture(img.src, img.alt, false, [{ width: '750' }]);
(img.closest('picture') || img).replaceWith(pic);
});
const head = [...block.children].filter((r) => !items.includes(r) && !isEmpty(r));
block.replaceChildren(...head, ul);
}
The importer script ran on 8 pages of demopublic.magnolia-cms.com, saved on 14 November 2026. Each page becomes an Edge Delivery document: blocks as tables, sections split by <hr>, metadata at the end.
| Page | Blocks built | Sections | Inside other blocks | Fields not found | Nested tables |
|---|---|---|---|---|---|
/travel/about | none (plain content only) | 0 | 0 | 0 | 0 |
/travel/contact | none (plain content only) | 0 | 0 | 0 | 0 |
/travel/destination-europe- | cards ×4 | 0 | 0 | 0 | 0 |
/travel/stories | none (plain content only) | 0 | 0 | 0 | 0 |
/travel/tour-type-active- | cards ×4 | 0 | 0 | 0 | 0 |
/travel/tours/magnolia-travels/a-taste-of-malaysia | cards ×2 | 0 | 0 | 0 | 0 |
/travel/tours/magnolia-travels/hut-to-hut-in-the-swiss-alps | cards ×3 | 0 | 0 | 0 | 0 |
/travel | carousel ×1 | 0 | 0 | 0 | 0 |
What this shows honestly: 5 of 8 pages produced blocks; the others are plain headings, text and images, which need none. No block table ended up inside another, which Edge Delivery cannot render. 0 fields were not found. 0 blocks sat inside another block; Edge Delivery blocks cannot nest, so those stay content of the outer block and are listed for review. The header, navigation and footer are not imported page by page: they are built once as the site's header and footer blocks.
What did not come through: 34 of the 133 images in the converted pages kept a one-pixel placeholder as their address. The site loads those images by script and keeps the real address in another attribute, which the kit did not read. An engineer adds that rule before a bulk import. The contact form, the tour finder and the "Book Tour" buttons came through as plain form fields, not as a form block: the mapping leaves out anything found by its tag alone. The story teasers and the About page have no class name the scan's rules know, so they stayed plain content.
<table><tr><th colspan="2">Cards</th></tr><tr><td><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="></td><td><div class="featured-blaze-text">Featured</div><div class="card-body" style="padding-left: 15px; padding-right: 15px;">
<h3>Spectacular Ammouliani Island</h3>
<div class="category-icons">
<div class="category-icon">
<img class src="https://demopublic.magnolia-cms.com/dam/jcr:e236c74c-6b35-4467-b322-933419ecfd87/beach.2015-07-16-13-47-36.svg" alt="Beach" title="Beach">
</div>
<div class="category-icon">
<img class src="https://demopublic.magnolia-cms.com/dam/jcr:1d52d31d-8cc2-4ade-a4cf-c0d6699423ad/family.2015-07-16-13-47-36.svg" alt="Family" title="Family">
</div>
</div>
<div class="featured-card-content">
<p><span class="description">An island hideaway in Europe</span></p>
</div>
<div class="card-button">
<div class="btn btn-primary">View Tour</div>
</div>
</div></td></tr></table>
</a>
…
Run the first step on your own site. The scan reads public pages only and takes a few minutes.
Scan your Magnolia siteHow the move worksEDS Readiness Audit