Smart Zoom Articles
Smart Zoom Articles allow detailed article-level navigation inside a PDF publication. Medusa Automations detects properly-named XML files and generates each article automatically during the dispatch process.
Naming convention
The XML folder must follow this format:
prefix-XML-yymmdd
| Part | Meaning | Example |
|---|---|---|
prefix | Short code identifying the edition | LT |
XML | File format indicator | XML |
yymmdd | Publication date | 200309 |
Inside that folder you can place XML files and any related images (.jpg, .jpeg, .png). File names inside the folder are unrestricted.
XML structure example
<TIPOPUBLICACION>
<NOMBRE_TIPOPUBLICACION>Pulso Editorial 2019</NOMBRE_TIPOPUBLICACION>
<PUBLICACION>
<NOMBRE_PUBLICACION>02.12.2020_PULSO Miércoles (12)</NOMBRE_PUBLICACION>
<FECHA_EDICION>02/12/2020</FECHA_EDICION>
<PLANILLO>
<PAGINA>9</PAGINA>
</PLANILLO>
<SECCION>
<NOMBRE_SECCION>Pulso</NOMBRE_SECCION>
<ARTICULO>
<NOMBRE_ARTICULO>Artículo (21593242)</NOMBRE_ARTICULO>
<ANTETITULO/>
<TITULO>
<P>Sernapesca descarta riesgos...</P>
</TITULO>
<BAJADA>
<P>No obstante, en la industria...</P>
</BAJADA>
<AUTOR>
<P><span style="text-transform:uppercase">Dayana Sánchez</span></P>
</AUTOR>
<TEXTO>
<P>-Fue el sábado cuando...</P>
</TEXTO>
<FOTO_PRINCIPAL>50115086.jpg</FOTO_PRINCIPAL>
<LECTURA_FOTO_PRINCIPAL/>
<CREDITO_FOTO/>
</ARTICULO>
</SECCION>
</PUBLICACION>
</TIPOPUBLICACION>
Frequently used tags
| Field | Required | Description |
|---|---|---|
PAGINA | ✅ | Maps to the Home Page field in Smart Zoom edit window. |
ANTETITULO | Pretitle field. | |
TITULO | ✅ | Title field. |
BAJADA | Bajada field. | |
AUTOR | Author field. | |
TEXTO | ✅ | Main article body. |
FOTO_PRINCIPAL | Upload Image option. | |
LECTURA_FOTO_PRINCIPAL | Epigraph option. |
Processing steps
- Medusa Automations looks for XML folders that match the naming convention.
- Each XML file is parsed and validated.
- The resulting article data is sent to Farfalla, which creates Smart Zoom articles in the publication.
Best practices
- Keep XML files and images together in the same folder.
- Ensure date (
yymmdd) matches the publication date embedded in the PDF name. - Validate XML against the expected schema before uploading to reduce failures.
- Use UTF-8 encoding to avoid character corruption.