An error occurred while processing the template.
Invocation of method 'getImageProperties' in class com.liferay.portal.util.IterTemplateContent threw exception XYZ_E_INVALIDARG_ZYX at 21736/F/SCROLL_INFINITO_ESPECIAL[line 384, column 41]
1##----especial2.0----
2
3##Add meta title
4#set($title = $articleToolbox.getTag(null,"Headline").data)
5#set($title = $htmlUtil.escape($!title))
6#set($title = $title.replaceAll("\n", ""))
7
8#set($html5Desc = {})
9#set($temp = $html5Desc.put("name","title"))
10#set($temp = $html5Desc.put("content",$title))
11$iterVelocityTools.addMetaTag($html5Desc)
12
13#set($hostName = "#siteUrl()")
14#set($dateMask = "d MMMM yyyy")
15#set ($arrayListContenidos = [])
16
17#set ($element = {})
18#set ($temp = $element.put("name","Text"))
19#set ($temp = $element.put("type","paragraph"))
20#set ($temp = $element.put("cssclass","texto"))
21#set ($temp = $element.put("tag","div"))
22#set($temp = $arrayListContenidos.add($element))
23
24#set ($element = {})
25#set ($temp = $element.put("name","Image_Text"))
26#set ($temp = $element.put("type","image"))
27#set ($temp = $element.put("cssclass","img text"))
28#set ($temp = $element.put("tag","div"))
29#set($temp = $arrayListContenidos.add($element))
30
31#set ($element = {})
32#set ($temp = $element.put("name","Image_Text_GIF"))
33#set ($temp = $element.put("type","image"))
34#set ($temp = $element.put("cssclass","imagen"))
35#set ($temp = $element.put("tag","div"))
36#set($temp = $arrayListContenidos.add($element))
37
38#set ($element = {})
39#set ($temp = $element.put("name","Lead_Text"))
40#set ($temp = $element.put("type","text"))
41#set ($temp = $element.put("cssclass","intertitulo"))
42#set ($temp = $element.put("tag","div"))
43#set($temp = $arrayListContenidos.add($element))
44
45#set ($element = {})
46#set ($temp = $element.put("name","Lead"))
47#set ($temp = $element.put("type","text"))
48#set ($temp = $element.put("cssclass","lead destacado"))
49#set ($temp = $element.put("tag","div"))
50#set ($temp = $arrayListContenidos.add($element))
51
52#set ($element = {})
53#set ($temp = $element.put("name","HTML_Text"))
54#set ($temp = $element.put("type","html"))
55#set ($temp = $element.put("cssclass","html_text"))
56#set ($temp = $element.put("tag","div"))
57#set($temp = $arrayListContenidos.add($element))
58
59#set ($element = {})
60#set ($temp = $element.put("name","Twitter_Text"))
61#set ($temp = $element.put("type","twitter"))
62#set ($temp = $element.put("cssclass","twitter_text"))
63#set ($temp = $element.put("tag","div"))
64#set ($temp = $arrayListContenidos.add($element))
65
66#set ($element = {})
67#set ($temp = $element.put("name","Facebook_Text"))
68#set ($temp = $element.put("type","facebook"))
69#set ($temp = $element.put("cssclass","facebook_text"))
70#set ($temp = $element.put("tag","div"))
71#set ($temp = $arrayListContenidos.add($element))
72
73#set ($element = {})
74#set ($temp = $element.put("name","Instagram_Text"))
75#set ($temp = $element.put("type","instagram"))
76#set ($temp = $element.put("cssclass","instagram_text"))
77#set ($temp = $element.put("tag","div"))
78#set ($temp = $arrayListContenidos.add($element))
79
80#set ($element = {})
81#set ($temp = $element.put("name","Youtube_Text"))
82#set ($temp = $element.put("type","youtube"))
83#set ($temp = $element.put("cssclass","youtube_video"))
84#set ($temp = $element.put("tag","div"))
85#set($temp = $arrayListContenidos.add($element))
86
87#set ($element = {})
88#set ($temp = $element.put("name","Multimedia_Text"))
89#set ($temp = $element.put("type","multimedia"))
90#set ($temp = $element.put("cssclass","video"))
91#set ($temp = $element.put("tag","div"))
92#set($temp = $arrayListContenidos.add($element))
93
94#set ($element = {})
95#set ($temp = $element.put("name","Flourish_Text"))
96#set ($temp = $element.put("type","text"))
97#set ($temp = $element.put("cssclass","flourish_text"))
98#set ($temp = $element.put("tag","div"))
99#set ($temp = $arrayListContenidos.add($element))
100
101#set ($element = {})
102#set ($temp = $element.put("name","Quote"))
103#set ($temp = $element.put("type","text"))
104#set ($temp = $element.put("cssclass","quote"))
105#set ($temp = $element.put("tag","div"))
106#set($temp = $arrayListContenidos.add($element))
107
108#set ($element = {})
109#set ($temp = $element.put("name","Quote_byline"))
110#set ($temp = $element.put("type","text"))
111#set ($temp = $element.put("cssclass","Quote_byline"))
112#set ($temp = $element.put("tag","div"))
113#set ($temp = $arrayListContenidos.add($element))
114
115#set ($element = {})
116#set ($temp = $element.put("name","linkTitle_Text"))
117#set ($temp = $element.put("type","text"))
118#set ($temp = $element.put("cssclass","link_tpi"))
119#set ($temp = $element.put("tag","div"))
120#set($temp = $arrayListContenidos.add($element))
121
122#set ($element = {})
123#set ($temp = $element.put("name","title_list"))
124#set ($temp = $element.put("type","microformat"))
125#set ($temp = $element.put("cssclass","microformat"))
126#set ($temp = $element.put("tag","div"))
127#set($temp = $arrayListContenidos.add($element))
128
129#set ($element = {})
130#set ($temp = $element.put("name","image_list"))
131#set ($temp = $element.put("type","microformat"))
132#set ($temp = $element.put("cssclass","microformat"))
133#set ($temp = $element.put("tag","div"))
134#set($temp = $arrayListContenidos.add($element))
135
136#set ($element = {})
137#set ($temp = $element.put("name","text_list"))
138#set ($temp = $element.put("type","microformat"))
139#set ($temp = $element.put("cssclass","microformat"))
140#set ($temp = $element.put("tag","div"))
141#set($temp = $arrayListContenidos.add($element))
142
143#set ($element = {})
144#set ($temp = $element.put("name","Parrafo_Lista"))
145#set ($temp = $element.put("type","text"))
146#set ($temp = $element.put("cssclass","Parrafo_Lista"))
147#set ($temp = $element.put("tag","div"))
148#set ($temp = $arrayListContenidos.add($element))
149
150#set ($element = {})
151#set ($temp = $element.put("name","Titulo_News"))
152#set ($temp = $element.put("type","text"))
153#set ($temp = $element.put("cssclass","titulo_news"))
154#set ($temp = $element.put("tag","div"))
155#set ($temp = $arrayListContenidos.add($element))
156
157#set ($element = {})
158#set ($temp = $element.put("name","Resumen_News"))
159#set ($temp = $element.put("type","text"))
160#set ($temp = $element.put("cssclass","resumen_news"))
161#set ($temp = $element.put("tag","div"))
162#set ($temp = $arrayListContenidos.add($element))
163
164#set ($element = {})
165#set ($temp = $element.put("name","Boton"))
166#set ($temp = $element.put("type","text"))
167#set ($temp = $element.put("cssclass","Boton"))
168#set ($temp = $element.put("tag","div"))
169#set ($temp = $arrayListContenidos.add($element))
170
171
172## MAPA DE PUBLICIDAD EN PARRAFOS
173#set ($addInParrafos ={})
174##set ($temp = $addInParrafos.put("2","scroll_Inread"))
175
176
177#set($sectionID = "#printAssignedSectionID_v1")
178#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
179
180#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
181
182
183
184##----json----
185#set($pub_imagen = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
186#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
187
188#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
189#set($dateF = $dateF.trim())
190#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
191#set($dateM = $dateM.trim())
192#set($dateF = $dateF + "T" + $dateM +"-0600")
193
194
195#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
196#set($dateF1 = $dateF1.trim())
197#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
198#set($dateH = $dateH.trim())
199#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
200
201##METAS TWITTER
202
203#set($TituloEsc = $!articleToolbox.getTag(null,"Headline").data)
204#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
205
206#set($metaTW = {})
207#set($temp = $metaTW.put("property","twitter:card"))
208#set($temp = $metaTW.put("content", "summary_large_image"))
209$iterVelocityTools.addMetaTag( $metaTW )
210
211#set($metaTW = {})
212#set($temp = $metaTW.put("property","twitter:site"))
213#set($temp = $metaTW.put("content", "vanguardiamx"))
214$iterVelocityTools.addMetaTag( $metaTW )
215
216#set($metaTW = {})
217#set($temp = $metaTW.put("property","twitter:title"))
218#set($temp = $metaTW.put("content", "$TituloEsc"))
219$iterVelocityTools.addMetaTag( $metaTW )
220
221#set($metaTW = {})
222#set($temp = $metaTW.put("property","twitter:description"))
223#set($temp = $metaTW.put("content", "$TextoEsc"))
224$iterVelocityTools.addMetaTag( $metaTW )
225
226#if($pub_imagen != "")
227 #set($metaTW = {})
228 #set($temp = $metaTW.put("property","twitter:image"))
229 #set($temp = $metaTW.put("content", "$pub_imagen"))
230 $iterVelocityTools.addMetaTag( $metaTW )
231#end
232
233#set($metaTW = {})
234#set($temp = $metaTW.put("property","twitter:url"))
235#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
236$iterVelocityTools.addMetaTag( $metaTW )
237
238#set($metaTW = {})
239#set($temp = $metaTW.put("property","twitter:domain"))
240#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
241$iterVelocityTools.addMetaTag( $metaTW )
242
243#set($ac-url = $articleContext.selectNodes('articlectx/url'))
244#set($xml-url = $ac-url.get(0).text)
245#set($url_actual = $!xml-url )
246##----json----
247
248<style>
249.block_lead{
250
251clear: none;
252 font-weight: bold;
253 line-height: 140%;
254 margin-bottom: 20px;
255 color: #757575;
256 font-size: 1.625rem;
257 text-align: center;
258 max-width: 620px;
259 margin: 0 auto 20px auto;
260 width: 100%;
261 font-weight: 900;
262
263}
264</style>
265
266<div class="template-infinity special detail col-100-top-one-col col-12" id-next="$!art_next.reserved-article-id.data" id-section="$sectionID">
267
268
269 <time hidden itemprop="datePublished" datetime="$dateF"></time>
270 <time hidden itemprop="dateModified" datetime="$dateFb"></time>
271 <time hidden itemprop="dateCreated" datetime="$dateF"></time>
272 <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
273 <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
274 <meta itemprop="url" content="https://vanguardia.com.mx/" />
275 <meta itemprop="name" content="Vanguardia" />
276 <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
277 <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
278 <meta itemprop="width" content="380" />
279 <meta itemprop="height" content="35" />
280 </div>
281 </div>
282
283 <script>
284 var group_id = $request.theme-display.scope-group-id;
285 var id_art_infinity = $reserved-article-id.data;
286 #if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
287 var teaser_first = true;
288 var n_noticia = 1;
289 idart_view = $reserved-article-id.data;
290 #else
291 var teaser_first = false;
292 var n_noticia = n_noticia + 1;
293 #end
294
295
296 document.addEventListener("DOMContentLoaded", function() {
297 // Selecciona el bloque con la clase .author
298 var authorBlock = document.querySelector('.author');
299
300 // Selecciona el bloque con la clase .block_lead.destacado
301 var leadBlock = document.querySelector('.block_lead.destacado');
302
303 // Mueve el bloque .block_lead.destacado debajo del bloque .author
304 if (authorBlock && leadBlock) {
305 authorBlock.insertAdjacentElement('afterend', leadBlock);
306 }
307 });
308
309 </script>
310
311 ## MAPA DE PUBLICIDAD EN PARRAFOS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
312 #set ($addInParagraph ={})
313
314 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
315
316 #set ($temp = $addInParagraph.put("8","vanguardia.com.mx/plantilla_especial/responsive_1"))
317 #set ($temp = $addInParagraph.put("16","vanguardia.com.mx/plantilla_especial/responsive_2"))
318 #set ($temp = $addInParagraph.put("24","vanguardia.com.mx/plantilla_especial/responsive_3"))
319 #set ($temp = $addInParagraph.put("32","vanguardia.com.mx/plantilla_especial/responsive_4"))
320 #if (false)
321 #set ($temp = $addInParagraph.put("40","vanguardia.com.mx/plantilla_especial/responsive_5"))
322 #set ($temp = $addInParagraph.put("48","vanguardia.com.mx/plantilla_especial/responsive_6"))
323 #set ($temp = $addInParagraph.put("56","vanguardia.com.mx/plantilla_especial/responsive_7"))
324 #set ($temp = $addInParagraph.put("64","vanguardia.com.mx/plantilla_especial/responsive_8"))
325 #set ($temp = $addInParagraph.put("72","vanguardia.com.mx/plantilla_especial/responsive_9"))
326 #set ($temp = $addInParagraph.put("80","vanguardia.com.mx/plantilla_especial/responsive_10"))
327 #end
328 <script>console.log('definicion movil');</script>
329 #php_else
330 #set ($temp = $addInParagraph.put("8","vanguardia.com.mx/plantilla_especial/responsive_1"))
331 #set ($temp = $addInParagraph.put("16","vanguardia.com.mx/plantilla_especial/responsive_2"))
332 #set ($temp = $addInParagraph.put("24","vanguardia.com.mx/plantilla_especial/responsive_3"))
333 #set ($temp = $addInParagraph.put("32","vanguardia.com.mx/plantilla_especial/responsive_4"))
334 #if (false)
335 #set ($temp = $addInParagraph.put("40","vanguardia.com.mx/plantilla_especial/responsive_5"))
336 #set ($temp = $addInParagraph.put("48","vanguardia.com.mx/plantilla_especial/responsive_6"))
337 #set ($temp = $addInParagraph.put("56","vanguardia.com.mx/plantilla_especial/responsive_7"))
338 #set ($temp = $addInParagraph.put("64","vanguardia.com.mx/plantilla_especial/responsive_8"))
339 #set ($temp = $addInParagraph.put("72","vanguardia.com.mx/plantilla_especial/responsive_9"))
340 #set ($temp = $addInParagraph.put("80","vanguardia.com.mx/plantilla_especial/responsive_10"))
341 #end
342 #php_end
343
344<article class="mrf-article-body">
345
346 <!-- DATOS PARA SCRIPT DE ACCEDER -->
347
348 #set($NombreAutor = "")
349 #set($IDAutor = "")
350
351 #if($hmAutores && $hmAutores.size() > 0)
352 #foreach ($elem in $hmAutores)
353
354 <div data-author-name="$elem.name" id="NombreAutor" ></div>
355 <div data-author-id="$elem.id" id="IDAutor" ></div>
356
357 #set($NombreAutor = $elem.name)
358 #set($IDAutor = $elem.id)
359 #end
360 #end
361
362 <div id="eww-general" data-events='{
363 "author": "$NombreAutor",
364 "section": "$section",
365 "post_title": "$title",
366 "post_id": "$reserved-article-id.data",
367 "author_id": "$IDAutor"
368 }'>
369 </div>
370
371 <!-- DATOS PARA SCRIPT DE ACCEDER -->
372
373 ##PUBLI
374 ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
375
376 <!-- /1021010/v_top -->
377 <div id="div-gpt-ad-1733160976056-0" class="mt-3 op12" style="min-width: 300px; min-height: 50px;"></div>
378
379 <div id="ImagenPrincipalE" class="container-fluid" itemscope itemprop="image" itemtype="https://schema.org/ImageObject">
380 ## IMAGEN
381 ##getMultimediaMixed_v1("fullcontent", "crop_2000x1125", "800", "auto", "100%")
382 $!articleToolbox.getImageTag2("Image","0","crop_2000x1125","","","","true","$!title","$!title","100%")
383 #set($imgurl = $articleToolbox.getImageURL("Image", "0", "crop_1152x648_detalle"))
384 #set($imgprop = $articleToolbox.getImageProperties($imgurl))
385
386 <meta itemprop="url" content="$imgurl">
387 <meta itemprop="width" content="$imgprop.width">
388 <meta itemprop="height" content="$imgprop.height">
389 </div>
390
391 <div id="container_titleE" class="container title">
392 #set($hmSpec = {})
393 #getAcAssignedCatExtended_v1($hmSpec "marcadores")
394
395 ##HEADLINE
396 <div class="headline">
397
398 #if($hmSpec && $hmSpec.size() > 0 && $hmSpec.get(0).name == "Especial")
399 <div class="box_marc">
400 <div class="marc">Especial</div>
401 </div>
402 #end
403 <h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
404 </div>
405 </div>
406
407 <div class="container2" >
408
409 ##AUTOR
410 <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
411 #set($hmAutores = {})
412 #getAcAssignedCatExtended_v1($hmAutores "Author")
413 #if($hmAutores && $hmAutores.size() > 0)
414 #foreach ($elem in $hmAutores)
415 #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
416 #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","true","",""))
417 <div class="img_author">
418 #if($imgAuthor && $imgAuthor != "")
419 $!imgAuthor
420 #else
421 <img class="img-fluid" src="$AuthorNoFoto"/>
422 #end
423 </div>
424 <div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
425 #end
426 #end
427 </div>
428
429 ##PAYWALL HIT MAS
430 <script>
431 $(document).ready(function() {
432 var title = "$!escapeTool.html($!title)";
433 sendHitUser(title);
434 });
435 </script>
436
437 ##PAYWALL PRODUCT
438 #set($product = "")
439 #set($article_is_restricted = $articleToolbox.article_is_restricted())
440 #if ($article_is_restricted)
441 #foreach($products in $articleToolbox.getProductList())
442 #set($product = $products.get("name"))
443 #end
444 <!-- <div id="type-note" data-id="$product"></div> -->
445 #end
446
447
448 ##USUARIO ANONIMO
449 #if ($environment != 'PREVIEW')
450 #php_if("strlen(getenv('ITER_USER'))===0")
451 #if($product == "registrados")
452 #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
453 #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
454 <script>
455 var cons = ${cons};
456 var total = ${total};
457 var disp = total-cons;
458 $(".paywall-title span").html(disp);
459 </script>
460 #end
461
462 #php_end
463 #end
464
465 ##FIN USUARIO ANONIMO
466
467
468 #set ($Entradilla = $articleToolbox.getTag(null,"Lead").data)
469
470 ##SUBHEADLINE/TOPHEADLINE
471 #set ($tempSubheadline = "#getTeaserSubheadline(true)")
472 #if ($tempSubheadline && $tempSubheadline != "")
473 <h2 class="subheadline" itemprop="alternativeHeadline">#getTeaserSubheadline_v1(false)</h2>
474 #else
475 <h2 class="subheadline" itemprop="alternativeHeadline">$Entradilla</h2>
476 #end
477
478 <!-- /1021010/v_mid1 -->
479 <div id="div-gpt-ad-1733161081350-0" class="op12" style="min-width: 300px; min-height: 50px;"></div>
480
481 <div class="info-rrss">
482 ## SECC / FECHA
483 <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
484 </div>
485
486
487
488 <div class="rrss end d-movil" style="
489 position: sticky;
490 top: 38px;
491 background: white;
492 z-index: 3;">
493 <div class="cab-rrss">COMPARTIR</div>
494 <div class="network-social" style="height: 100px;margin-top: -27px;">
495 <ul class="social-options">
496 <li>
497 <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook">
498 <div class="fab facebook"></div>
499 </a>
500 </li>
501 <li>
502 <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter">
503
504 <div class="fab twitter"></div>
505 </a>
506 </li>
507 <li>
508 <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp">
509 <div class="fab whatsapp"></div>
510 </a>
511 </li>
512 <li>
513 <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin">
514 <div class="fab linkedin"></div>
515 </a>
516 </li>
517 </ul>
518 </div>
519 </div>
520
521
522 <div class="metadatos">
523 #set($hmTemas = {})
524 #getAcAssignedCatExtended_v1($hmTemas "Topic")
525 #set($hmGeografico = {})
526 #getAcAssignedCatExtended_v1($hmGeografico "Location")
527 ## TAGS
528 <div class="temas" temas="$hmTemas.size()">
529 #if($hmTemas && $hmTemas.size() > 0)
530 #foreach ($elem in $hmTemas)
531 <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname"><span class="arrob"></span>$elem.name</a></div>
532 #end
533 #end
534 #if($hmGeografico && $hmGeografico.size() > 0)
535 #foreach ($elem in $hmGeografico)
536 <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname"><span class="arrob"></span>$elem.name</a></div>
537 #end
538 #end
539 </div>
540 </div>
541
542
543 <div class="canonical hidden"></div>
544
545 <!-- acceder save post -->
546
547 <div id="eww-save-post" eww-post-title="$title" data-post-id="$reserved-article-id.data" data-events='{
548 "author": "$NombreAutor",
549 "section": "$section",
550 "post_title": "$title",
551 "post_id": "$reserved-article-id.data",
552 "author_id": "$IDAutor"
553 }' ></div>
554 <!-- acceder save post -->
555
556 <div id="col-60-40-top-one-col" data-post-type="$product" data-section="$section" data-events='{
557 "author": "$NombreAutor",
558 "section": "$section",
559 "post_title": "$title",
560 "post_id": "$reserved-article-id.data",
561 "author_id": "$IDAutor"
562 }'>
563
564 #if($product == "suscripciones" )
565 <meta itemprop="isAccessibleForFree" content="false" />
566 #else
567 <meta itemprop="isAccessibleForFree" content="true" />
568 #end
569
570 ##TEXTO
571 <div class="text resizable lazy-load" itemprop="articleBody">
572 #printHTMLContentArticle_v1($arrayListContenidos, "crop_full", "100%", "100%", "375", $addInParagraph)
573
574 <!-- /1021010/v_mid2 -->
575 <div id="div-gpt-ad-1733161131848-0" class="op12" style="min-width: 300px; min-height: 50px;"></div>
576
577 </div>
578
579 </div>
580
581 ##PUBLI
582 ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
583
584 ##GENÉRICOS
585 #if($Generic && $Generic.getSiblings().size()>0)
586 <ul class="generic">
587 #foreach ($el in $Generic.getSiblings())
588 <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
589 #end
590 </ul>
591 #end
592
593 ##RELACIONADAS EXTERNAS
594 #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
595 #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
596 #if(($urlLink && $urlLink.data != "") && ($titleLink && $titleLink.data != ""))
597 <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
598 <strong>$!titleLink.data</strong>
599 </a>
600 #end
601
602 ##RELACIONADAS INTERNAS
603 #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
604 <div class="link_tpi">
605 <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
606 #foreach ($el in $linkIntTitle.getSiblings())
607 <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
608 #end
609 </div>
610 #end
611
612
613 ##PUBLI
614 ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
615
616
617 ##class="icon_vanguardia"
618 <div class="fb-comments">
619 #set($urlfb = $canonicalUrl)
620 #foreach ($element in $urlfb.split("-"))
621 #set($urlid = $element)
622 #end
623 #set($urlfb = "FB-" + $urlid)
624
625 <fb:comments href="#siteUrl()/$urlfb" num_posts="10" width="100%" colorscheme="light" ></fb:comments>
626
627 <!-- comentarios acceder -->
628
629
630
631 <div style="border-top: solid 1px #80808047;margin-top: 30px;">
632 <h2 style="margin-top: 25px;
633 font-size: 1.1rem;
634 letter-spacing: 0px !important;
635 border-left: 4px solid #F16504;
636 padding-left: 5px;
637 text-transform: uppercase;
638 font-family: 'PT Sans', helvetica, arial, sans-serif;
639 font-weight: 400;
640 max-width: 500px !important;
641 margin-left: auto;
642 margin-right: auto;"
643 >COMENTARIOS <h2></div>
644 <div style="max-width: 500px !important;
645 margin-left: auto;
646 margin-right: auto;" id="eww-comments" data-post-id="$reserved-article-id.data" data-events='{
647 "author": "$NombreAutor",
648 "section": "$section",
649 "post_title": "$title",
650 "post_id": "$reserved-article-id.data",
651 "author_id": "$IDAutor"
652 }'></div>
653 <!-- comentarios acceder -->
654
655 <div id="eww-mailchimp"></div>
656
657 ##openweb
658
659 ##cierra openweb
660
661
662 <!-- /1021010/v_bot -->
663 <div id="div-gpt-ad-1733161178287-0" class="op12" style="min-width: 300px; min-height: 50px;"></div>
664
665 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
666 ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
667 <div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div>
668 #php_end
669
670 ##PUBLI
671 ##<div class="publi">$!iterVelocityTools.getAdContainer("scroll_Top1")</div>
672 </div>
673
674
675 </div>
676
677</article>
678
679
680<!-- Estilo para Lista sin Plublicidad -->
681
682<script>
683 document.addEventListener('DOMContentLoaded', function() {
684 // Obtener todos los div con la clase block_Parrafo_Lista
685 var blocks = document.querySelectorAll('.block_Parrafo_Lista');
686
687 // Iterar a través de los bloques
688 blocks.forEach(function(block) {
689 // Obtener todos los elementos <p> dentro del bloque actual
690 var paragraphs = block.querySelectorAll('p');
691 var combinedContent = '';
692 var elementsToRemove = [];
693
694 // Iterar a través de los elementos <p>
695 paragraphs.forEach(function(paragraph) {
696 // Verificar si el <p> no tiene clase
697 if (!paragraph.classList.length) {
698 // Añadir contenido al texto combinado
699 combinedContent += paragraph.innerHTML.trim() + ' ';
700 // Marcar el elemento <p> para eliminación
701 elementsToRemove.push(paragraph);
702 }
703 });
704
705 // Crear un nuevo <p> para el contenido combinado
706 if (combinedContent.trim()) {
707 var newParagraph = document.createElement('p');
708 newParagraph.innerHTML = combinedContent.trim();
709 block.appendChild(newParagraph);
710 }
711
712 // Eliminar los elementos <p> originales que fueron combinados
713 elementsToRemove.forEach(function(element) {
714 element.remove();
715 });
716 });
717 });
718</script>
719
720<script>
721
722document.addEventListener('DOMContentLoaded', function() {
723 // Selecciona todos los elementos div con las clases "lead destacado"
724 var elements = document.querySelectorAll('div.lead.destacado');
725
726 // Itera sobre cada elemento y agrega el atributo itemprop="description"
727 elements.forEach(function(element) {
728 element.setAttribute('itemprop', 'description');
729 });
730});
731
732</script>
733
734
735<style>
736 div.block_Parrafo_Lista p{
737 margin: 0px !important;
738 }
739 div.block_Parrafo_Lista p b{
740 height: auto;
741 display: block;
742margin-top: 10px;
743 }
744</style>
745<!-- Estilo para Lista sin Plublicidad -->