How does it work?
The system will continuously search for any structured data file (in XML format) with the proper naming convention, to create SmartZoom articles. These articles are a special feature that allows you to give your users a more detailed view of a certain page of your publication.
Naming convention
The files must be named as follows in order to be identified as Smart Zoom articles:
prefix-XML-yymmdd
Where:
- prefix: it is the name of an edition or some short name to identify a group of the uploaded publications. Example: diario-dia
- XML: It is the format of the file.
- yymmdd: Same date indicated in the folder. It is the date in which the publication is uploaded. Example: 220824.
Example:
diario-dia-XML-220824
Data
The structure/scheme of the file, follows the next example:
<?xml version="1.0" encoding="UTF-8"?>
<TIPOPUBLICACION>
<NOMBRE_TIPOPUBLICACION>Sección principal - diario día</NOMBRE_TIPOPUBLICACION>
<PUBLICACION>
<NOMBRE_PUBLICACION>02.12.2022 miércoles</NOMBRE_PUBLICACION>
<FECHA_EDICION>02/12/2022</FECHA_EDICION>
<PLANILLO>
<PAGINA>9</PAGINA>
</PLANILLO>
<SECCION>
<NOMBRE_SECCION>Principal</NOMBRE_SECCION>
<ARTICULO>
<NOMBRE_ARTICULO>Artículo (21593242)</NOMBRE_ARTICULO>
<ANTETITULO />
<TITULO>
<P>Sernapesca descarta riesgos en otros env íos, tras bloqueo chino a pesquera nacional</P>
</TITULO>
<BAJADA>
<P>No obstante, en la industria temen efectos sobre todo en las ventas, por el deterioro en la confianza de los consumidores.</P>
</BAJADA>
<AUTOR>
<P>
<span style="text-transform:uppercase">Dayana Sánchez</span>
</P>
</AUTOR>
<TEXTO>
<P>-Fue el sábado cuando la Administración General de Aduanas de China informó que, tras encontrar rastros de Covid-19 en un empaque de centolla chileno, procederán a suspender por una semana las importaciones de mariscos de la empresa vinculada.</P>
<P>La versión fue confirmada en su momento por la directora nacional de Sernapesca, Alicia Gallardo, quien aclaró que la suspen.....</P>
</TEXTO>
<FOTO_PRINCIPAL>50115086.jpg</FOTO_PRINCIPAL>
<LECTURA_FOTO_PRINCIPAL />
<CREDITO_FOTO />
</ARTICULO>
</SECCION>
</PUBLICACION>
</TIPOPUBLICACION>
Field | Required | Description |
---|---|---|
PAGINA | Yes | Refers to the "Home Page" field in the publication's SmartZoom edit window. |
ANTETITULO | No | Refers to the "Pretitle" field in the publication's SmartZoom edit window. |
TITULO | Yes | Refers to the "Title" field in the publication's SmartZoom edit window. |
BAJADA | No | Refers to the "Bajada" field in the publication's SmartZoom edit window. |
AUTOR | No | Refers to the "Author" field in the publication's SmartZoom edit window. |
TEXTO | Yes | Refers to the largest field in the publication's SmartZoom edit window. |
FOTO_PRINCIPAL | No | Refers to the "Upload Image" option in the publication's SmartZoom edit window. |
LECTURA_FOTO_PRINCIPAL | No | Refers to the "Epigraph" option in the publication's SmartZoom edit window. |