- 16 noviembre 2024
Se ha producido un error al procesar la plantilla.
Invocation of method 'addMetaTag' in class com.liferay.portal.kernel.velocity.IterVelocityTools threw exception XYZ_E_INVALID_VELOCITY_META_TAGS_MAP_ZYX:Invalid parameters K: 'content' V: 'null' [file IterVelocityTools.java, method addMetaTag, line 886] at 21736/F/SCROLL_INFINITO[line 315, column 20]
1##----Estandar2.0----
2$iterVelocityTools.setRenderArticleMode(1)
3
4#set($sort = "createdate")
5#set($criteria= "desc")
6#set($art_next = $articleToolbox.getSiblingArticle($sort, $criteria, "next"))
7#set($sectionID = "#printAssignedSectionID_v1")
8#set($templateId = $iterVelocityTools.getVelocityVariable("template_id"))
9## CONTENIDOS
10#set($dateMask = "d MMMM yyyy")
11#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
12#set($title = $!articleToolbox.getTag(null,'Headline').data)
13#set($hostName = "#siteUrl()")
14##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15#set ($arrayListContenidos = [])
16
17#set ($element = {})
18#set ($temp = $element.put("name","Titulo_App"))
19#set ($temp = $element.put("type","Tituloapp"))
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","Text"))
26#set ($temp = $element.put("type","paragraph"))
27#set ($temp = $element.put("cssclass","texto"))
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"))
33#set ($temp = $element.put("type","image"))
34#set ($temp = $element.put("cssclass","img text"))
35#set ($temp = $element.put("tag","div"))
36#set($temp = $arrayListContenidos.add($element))
37
38#set ($element = {})
39#set ($temp = $element.put("name","Image_Text_GIF"))
40#set ($temp = $element.put("type","image"))
41#set ($temp = $element.put("cssclass","imagen"))
42#set ($temp = $element.put("tag","div"))
43#set($temp = $arrayListContenidos.add($element))
44
45#set ($element = {})
46#set ($temp = $element.put("name","Lead_Text"))
47#set ($temp = $element.put("type","text"))
48#set ($temp = $element.put("cssclass","intertitulo"))
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#set ($element = {})
172#set ($temp = $element.put("name","Lead"))
173#set ($temp = $element.put("type","text"))
174#set ($temp = $element.put("cssclass","lead destacado"))
175#set ($temp = $element.put("tag","div"))
176#set ($temp = $arrayListContenidos.add($element))
177
178#set ($element = {})
179#set ($temp = $element.put("name","Ficha_Titulo"))
180#set ($temp = $element.put("type","text"))
181#set ($temp = $element.put("cssclass","Ficha_Titulo"))
182#set ($temp = $element.put("tag","div"))
183#set ($temp = $arrayListContenidos.add($element))
184
185#set ($element = {})
186#set ($temp = $element.put("name","Ficha_Foto"))
187#set ($temp = $element.put("type","image"))
188#set ($temp = $element.put("cssclass","Ficha_Foto"))
189#set ($temp = $element.put("tag","div"))
190#set ($temp = $arrayListContenidos.add($element))
191
192#set ($element = {})
193#set ($temp = $element.put("name","Ficha_Texto"))
194#set ($temp = $element.put("type","text"))
195#set ($temp = $element.put("cssclass","Ficha_Texto"))
196#set ($temp = $element.put("tag","div"))
197#set ($temp = $arrayListContenidos.add($element))
198
199#set ($element = {})
200#set ($temp = $element.put("name","Ficha_Social"))
201#set ($temp = $element.put("type","text"))
202#set ($temp = $element.put("cssclass","Ficha_Social"))
203#set ($temp = $element.put("tag","div"))
204#set ($temp = $arrayListContenidos.add($element))
205
206#set ($element = {})
207#set ($temp = $element.put("name","Entrevista_Pregunta"))
208#set ($temp = $element.put("type","text"))
209#set ($temp = $element.put("cssclass","Entrevista_Pregunta"))
210#set ($temp = $element.put("tag","div"))
211#set ($temp = $arrayListContenidos.add($element))
212
213#set ($element = {})
214#set ($temp = $element.put("name","Entrevista_Respuesta"))
215#set ($temp = $element.put("type","text"))
216#set ($temp = $element.put("cssclass","Entrevista_Respuesta"))
217#set ($temp = $element.put("tag","div"))
218#set ($temp = $arrayListContenidos.add($element))
219
220#set ($element = {})
221#set ($temp = $element.put("name","URLCanonical"))
222#set ($temp = $element.put("type","text"))
223#set ($temp = $element.put("cssclass","URLCanonical"))
224#set ($temp = $element.put("tag","div"))
225#set ($temp = $arrayListContenidos.add($element))
226
227
228#set($sectionID = "#printAssignedSectionID_v1")
229#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
230
231#set($section = "#printAssignedSection_v1")
232
233#set ($FacebookText_ = $articleToolbox.getTag(null,"Facebook_Text") )
234#if($FacebookText_ && $FacebookText_.data != "")
235<div id="fb-root"></div>
236<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
237#end
238
239##----json----
240#set($pub_imagen1 = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
241#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
242
243#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
244#set($dateF = $dateF.trim())
245#set($dateM = "#printDateCreate('HH:mm:ss' 'false' 'false')")
246#set($dateM = $dateM.trim())
247#set($dateF = $dateF + "T" + $dateM +"-0600")
248
249
250#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
251#set($dateF1 = $dateF1.trim())
252#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
253#set($dateH = $dateH.trim())
254#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
255
256##METAS TWITTER
257
258#set($TituloEsc = $!articleToolbox.getTag(null,"Headline").data)
259#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
260
261#set($metaTW = {})
262#set($temp = $metaTW.put("property","twitter:card"))
263#set($temp = $metaTW.put("content", "summary_large_image"))
264$iterVelocityTools.addMetaTag( $metaTW )
265
266#set($metaTW = {})
267#set($temp = $metaTW.put("property","twitter:site"))
268#set($temp = $metaTW.put("content", "vanguardiamx"))
269$iterVelocityTools.addMetaTag( $metaTW )
270
271#set($metaTW = {})
272#set($temp = $metaTW.put("property","twitter:title"))
273#set($temp = $metaTW.put("content", "$TituloEsc"))
274$iterVelocityTools.addMetaTag( $metaTW )
275
276#set($metaTW = {})
277#set($temp = $metaTW.put("property","twitter:description"))
278#set($temp = $metaTW.put("content", "$TextoEsc"))
279$iterVelocityTools.addMetaTag( $metaTW )
280
281
282#set($metaTW = {})
283#set($temp = $metaTW.put("property","twitter:image"))
284#set($temp = $metaTW.put("content", "$pub_imagen1"))
285$iterVelocityTools.addMetaTag( $metaTW )
286
287
288#set($metaTW = {})
289#set($temp = $metaTW.put("property","twitter:url"))
290#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
291$iterVelocityTools.addMetaTag( $metaTW )
292
293#set($metaTW = {})
294#set($temp = $metaTW.put("property","twitter:domain"))
295#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
296$iterVelocityTools.addMetaTag( $metaTW )
297
298#set($ac-url = $articleContext.selectNodes('articlectx/url'))
299#set($xml-url = $ac-url.get(0).text)
300#set($url_actual = $!xml-url )
301
302#if($pub_imagen1)
303 <link rel="preload" href="$pub_imagen1" as="image">
304 <!-- Lazysizes para lazy loading -->
305 <script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/lazysizes.min.js" async></script>
306#end
307
308##Add meta title
309#set($title = $htmlUtil.escape($!title))
310#set($title = $title.replaceAll("\n", ""))
311
312#set($html5Desc = {})
313#set($temp = $html5Desc.put("name","title"))
314#set($temp = $html5Desc.put("content",$title))
315$iterVelocityTools.addMetaTag($html5Desc)
316
317<div class="template-infinity idart_$reserved-article-id.data detail col-100-top-one-col col-xs-12 v2" id-next="$!art_next.reserved-article-id.data" id-section="$sectionID">
318
319<style>.block_URLCanonical{display: none;}</style>
320
321<div class="container">
322
323 <!-- parte de datos estructurados inicio -->
324
325 <time hidden itemprop="datePublished" datetime="$dateF"></time>
326 <time hidden itemprop="dateModified" datetime="$dateFb"></time>
327 <time hidden itemprop="dateCreated" datetime="$dateF"></time>
328 <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
329 <meta itemprop="inLanguage" content="es-MX" />
330 <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization https://schema.org/NewsMediaOrganization">
331 <meta itemprop="url" content="https://vanguardia.com.mx/" />
332 <meta itemprop="name" content="Vanguardia" />
333 <!-- Proporcionar enlaces a las redes sociales o sitio web con "sameAs" -->
334 <a hidden href="https://www.facebook.com/VanguardiaMx/" itemprop="sameAs">Página de Facebook</a>
335 <a hidden href="https://twitter.com/vanguardiamx" itemprop="sameAs">Perfil de Twitter</a>
336 <a hidden href="https://www.linkedin.com/company/vanguardiamx/" itemprop="sameAs">Página de LinkedIn</a>
337 <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
338 <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
339 <meta itemprop="width" content="380" />
340 <meta itemprop="height" content="35" />
341 </div>
342 </div>
343
344 <!-- parte de datos estructurados inicio fin -->
345
346 <script>
347 var group_id = $request.theme-display.scope-group-id;
348 var id_art_infinity = $reserved-article-id.data;
349 #if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
350 var teaser_first = true;
351 var n_noticia = 1;
352 idart_view = $reserved-article-id.data;
353 #else
354 var teaser_first = false;
355 var n_noticia = n_noticia + 1;
356 #end
357 </script>
358 ## MAPA DE PUBLICIDAD EN PARRAFOS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
359 #set ($addInParagraph ={})
360
361 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
362 #set ($temp = $addInParagraph.put("3","nota_v_top_movil"))
363 #set ($temp = $addInParagraph.put("8","v_desk_nota_mid_1"))
364 #set ($temp = $addInParagraph.put("13","v_desk_nota_mid_2"))
365 #set ($temp = $addInParagraph.put("18","v_desk_nota_mid_3"))
366 #set ($temp = $addInParagraph.put("23","v_desk_nota_mid_4"))
367 #set ($temp = $addInParagraph.put("28","v_desk_nota_mid_5"))
368 #php_else
369 #set ($temp = $addInParagraph.put("6","v_desk_nota_mid_1"))
370 #set ($temp = $addInParagraph.put("11","v_desk_nota_mid_2"))
371 #set ($temp = $addInParagraph.put("16","v_desk_nota_mid_3"))
372 #set ($temp = $addInParagraph.put("21","v_desk_nota_mid_4"))
373 #set ($temp = $addInParagraph.put("26","v_desk_nota_mid_5"))
374 #php_end
375
376 <div class="metadatos">#*
377 *##set($hmTemas = {})#*
378 *##getAcAssignedCatExtended_v1($hmTemas "Topic")#*
379 *##set($hmGeografico = {})#*
380 *##getAcAssignedCatExtended_v1($hmGeografico "Location")#*
381 *##set($hmPersonajes = {})#*
382 *##getAcAssignedCatExtended_v1($hmPersonajes "People")#*
383 *##set($hmAutores = {})#*
384 *##getAcAssignedCatExtended_v1($hmAutores "Author")#*
385 *##if($hmTemas && $hmTemas.size() > 0) #*
386 *##foreach ($elem in $hmTemas)#*
387 *#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="topic" data-voc-id="102924553"/>#*
388 *##end#*
389 *##end#*
390 *##if($hmGeografico && $hmGeografico.size() > 0)#*
391 *##foreach ($elem in $hmGeografico)#*
392 *#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="location" data-voc-id="102922353"/>#*
393 *##end#*
394 *##end#*
395 *##if($hmAutores && $hmAutores.size() > 0)#*
396 *##foreach ($elem in $hmAutores)#*
397 *#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="author" data-voc-id="102924559"/>#*
398 *##end#*
399 *##end#*
400 *#</div>
401 <div class="canonical hidden"></div>
402
403
404 ##PAYWALL HIT MAS
405 <script>
406 $(document).ready(function() {
407 var title = "$!escapeTool.html($!title)";
408 sendHitUser(title);
409 });
410 </script>
411
412 ##PAYWALL PRODUCT
413 #set($product = "")
414 #set($article_is_restricted = $articleToolbox.article_is_restricted())
415 #if ($article_is_restricted)
416 #foreach($products in $articleToolbox.getProductList())
417 #set($product = $products.get("name"))
418 #end
419 <!-- <div id="type-note" data-id="$product"></div> -->
420 #end
421 ##USUARIO ANONIMO
422 #*
423 #if ($environment != 'PREVIEW')
424 #php_if("strlen(getenv('ITER_USER'))===0")
425 #if($product == "registrados")
426
427 #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
428 #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
429 <script>
430 var cons = ${cons};
431 var total = ${total};
432 var disp = total-cons;
433 $(".paywall-title span").html(disp);
434 </script>
435 #end
436
437 #php_end
438 #end
439 *#
440 ##FIN USUARIO ANONIMO
441 ##HEADLINE
442
443
444 ##publicidad video
445
446 ##publicidad video
447
448
449
450<!-- /1021010/v_top -->
451<div id='div-gpt-ad-1731442118904-0' class="mt-3 op12" style='min-width: 300px; min-height: 50px;'>
452 <script>
453 googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442118904-0'); });
454 </script>
455</div>
456
457
458 <article class="mrf-article-body">
459
460 <!-- DATOS PARA SCRIPT DE ACCEDER -->
461
462 #set($NombreAutor = "")
463 #set($IDAutor = "")
464
465 #if($hmAutores && $hmAutores.size() > 0)
466 #foreach ($elem in $hmAutores)
467
468 <div data-author-name="$elem.name" id="NombreAutor" ></div>
469 <div data-author-id="$elem.id" id="IDAutor" ></div>
470
471 #set($NombreAutor = $elem.name)
472 #set($IDAutor = $elem.id)
473 #end
474 #end
475
476 <div id="eww-general" data-events='{
477 "author": "$NombreAutor",
478 "section": "$section",
479 "post_title": "$title",
480 "post_id": "$reserved-article-id.data",
481 "author_id": "$IDAutor"
482 }'>
483 </div>
484
485 <!-- DATOS PARA SCRIPT DE ACCEDER -->
486
487 <h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
488 ## SECC / FECHA
489 <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
490
491 <div class="row middle">
492 <!-- Columna de articulo padre -->
493 <div class="col-60-40-top-one-col col-xs-12 col-md-8 col-lg-8 portlet-column nopadding" id="col-60-40-top-one-col">
494
495 #set ($hasImages = $articleToolbox.getNumImageTags("Image", "true"))
496 #if($section == "Opinión" || $section == "Politicón")
497 #if ($hasImages > 0)
498 <div class="image_main" itemprop="image">
499 #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
500 </div>
501 #elseif($hmAutores && $hmAutores.size() > 0)
502 #foreach ($elem in $hmAutores)
503 #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
504 #set($imgColumn = $!articuloInstrumental.getImageTag("ImagenColumnista","0","crop_1152x648_detalle","","","","","true","",""))
505 #if($imgColumn && $imgColumn != "")
506 #set($urlImage = $articuloInstrumental.getImageURL("ImagenColumnista", "0", "crop_1152x648_detalle"))
507 #set($metaImgAuthor = {})
508 ###set($temp = $metaImgAuthor.put("property","og:image"))
509 ###set($temp = $metaImgAuthor.put("content",$urlImage))
510 ###$iterVelocityTools.addMetaTag( $metaImgAuthor )
511 <div class="image_main" itemprop="image">
512 $!imgColumn
513 </div>
514 #end
515 #end
516 #end
517 #else
518 ##IMAGEN
519 <div class="image_main" itemprop="image">
520 #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
521 </div>
522 #end
523
524 <div class="container-fluid">
525 <div class="row middle">
526
527 <div class="col-60-40-top-two-col col-xs-12 col-md-3 col-lg-3 portlet-column nopadding" id="col-60-40-top-two-col">
528
529 ##AUTOR
530 <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
531 #if($hmAutores && $hmAutores.size() > 0)
532 #foreach ($elem in $hmAutores)
533 #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
534 #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","$elem.name","",""))
535 <div class="img_author">
536 #if($imgAuthor && $imgAuthor != "")
537 $!imgAuthor
538 #else
539 <img class="img-fluid" src="$AuthorNoFoto"/>
540 #end
541 </div>
542 <div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
543
544 <div data-author-name="$elem.name" id="NombreAutor" ></div>
545 <div data-author-id="$elem.id" id="IDAutor" ></div>
546
547 #set($NombreAutor = $elem.name)
548 #set($IDAutor = $elem.id)
549 #end
550 #end
551 </div>
552
553 <div class="compartirr">
554
555 <div class="rrss d-desktop">
556 <h2 class="sectiondestacadas " style="margin-bottom: 15px;margin-top: 40px;">COMPARTIR</h2>
557 <div class="network-social">
558 <ul class="social-options">
559 <li>
560 <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook">
561 <div class="fab facebook"></div>
562 <b>Facebook</b>
563 </a>
564 </li>
565 <li>
566 <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter">
567 <div class="fab twitter"></div>
568 <b>Twitter</b>
569 </a>
570 </li>
571 <li>
572 <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp">
573 <div class="fab whatsapp"></div>
574 <b>Whatsapp</b>
575 </a>
576 </li>
577 <li>
578 <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin">
579 <div class="fab linkedin"></div>
580 <b>Linkedin</b>
581 </a>
582 </li>
583 </ul>
584 </div>
585 </div>
586
587 ## TAGS
588 <div class="temas d-desktop" temas="$hmTemas.size()">
589 <h2 class="sectiondestacadas" style="margin-bottom: 15px;" >TEMAS</h2>
590 #if($hmTemas && $hmTemas.size() > 0)
591 #foreach ($elem in $hmTemas)
592 <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
593 #end
594 #end
595 #if($hmGeografico && $hmGeografico.size() > 0)
596 #foreach ($elem in $hmGeografico)
597 <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
598 #end
599 #end
600 #if($hmPersonajes && $hmPersonajes.size() > 0)
601 #foreach ($elem in $hmPersonajes)
602 <div class="item_tema t_$hmPersonajes.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
603 #end
604 #end
605 </div>
606
607 </div>
608 </div>
609
610
611 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
612 <div class="rrss end d-movil" style="
613 position: sticky;
614 top: 38px;
615 background: white;
616 z-index: 3;">
617 <div class="cab-rrss">COMPARTIR</div>
618 <div class="network-social">
619 <ul class="social-options">
620 <li>
621 <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook">
622 <div class="fab facebook"></div>
623 </a>
624 </li>
625 <li>
626 <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter">
627 <div class="fab twitter"></div>
628 </a>
629 </li>
630 <li>
631 <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp">
632 <div class="fab whatsapp"></div>
633 </a>
634 </li>
635 <li>
636 <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin">
637 <div class="fab linkedin"></div>
638 </a>
639 </li>
640 </ul>
641 </div>
642 </div>
643 #php_end
644
645 <!-- acceder bloque texto -->
646
647 <div class="col-60-40-top-one-col col-xs-12 col-md-9 col-lg-9 portlet-column nopadding" id="col-60-40-top-one-col" data-post-type="$product" data-section="$section" data-events='{
648 "author": "$NombreAutor",
649 "section": "$section",
650 "post_title": "$title",
651 "post_id": "$reserved-article-id.data",
652 "author_id": "$IDAutor"
653 }'>
654
655 <!-- acceder bloque texto -->
656
657
658 #if($product == "suscripciones" )
659 <meta itemprop="isAccessibleForFree" content="false" />
660 #else
661 <meta itemprop="isAccessibleForFree" content="true" />
662 #end
663
664
665
666 ##SUBHEADLINE/TOPHEADLINE
667 #set ($tempSubheadline = "#getTeaserSubheadline(true)")
668 #if($tempSubheadline && $tempSubheadline != "")
669 <h2 class="subheadline" itemprop="description">#getTeaserSubheadline_v1(false)</h2>
670 #end
671
672 <!-- /1021010/v_mid1 -->
673 <div id='div-gpt-ad-1731442625533-0' class="op12" style='min-width: 300px; min-height: 50px;'>
674 <script>
675 googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442625533-0'); });
676 </script>
677 </div>
678
679 <!-- acceder save post -->
680
681 <div id="eww-save-post" eww-post-title="$title" data-post-id="$reserved-article-id.data" data-events='{
682 "author": "$NombreAutor",
683 "section": "$section",
684 "post_title": "$title",
685 "post_id": "$reserved-article-id.data",
686 "author_id": "$IDAutor"
687 }' ></div>
688 <!-- acceder save post -->
689
690 ##PUBLI BOX PREMIUM
691
692
693 ##PUBLI BOX PREMIUM
694 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
695 <div class="publi">$!iterVelocityTools.getAdContainer("box_premium_mobile")</div>
696 #php_end
697
698 ##aqui estaba el paywall inicio
699 ##PAYWALL
700 #php_if("strlen(getenv('ITER_USER'))!==0")
701 <!--Usuario logueado-->
702 #set($islogged = "true")
703 #php_else
704 <!--Usuario no logueado-->
705 #set($islogged = "false")
706 #php_end
707
708 #set($productList = $articleToolbox.getProductList())
709 #set($producto = '')
710 #if ($productList && $productList.size() > 0)
711 #set($producto = $productList.get(0).namebase64)
712 #end
713 <!-- product:$producto -->
714 <!-- reserved-article-id.data:$reserved-article-id.data -->
715 #set($useraccess = "false")
716 #set($article_is_restricted = $articleToolbox.article_is_restricted())
717
718 <!-- TEXTO LIBRE -->
719 ##TEXTO
720 <div class="text resizable lazy-load" itemprop="articleBody">
721
722 #if($section == "Politicón")
723
724 #if($url_actual == "/opinion/politicon/politicon-siguen-pegando-recortes-a-coahuila-EH9584767" || $url_actual == "/opinion/politicon/politicon-persisten-anomalias-financieras-en-la-uadec-EC12457715")
725 <div class="PoliticonNotaslogoSinAcento" style="width: 300px;height: 60px;margin-bottom: 3rem;"></div>
726 #else
727 <div class="PoliticonNotaslogo cambiourll" style="width: 300px;height: 60px;margin-bottom: 3rem;"></div>
728 #end
729 #end
730
731 #printHTMLContentArticle_v1_latam($arrayListContenidos, "crop_1152x648", "100%", "100%", "375", $addInParagraph)
732
733 <!-- /1021010/v_mid2 -->
734 <div id='div-gpt-ad-1731442700127-0' class="op12" style='min-width: 300px; min-height: 50px;'>
735 <script>
736 googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442700127-0'); });
737 </script>
738 </div>
739
740 <!-- funcion para leer la nota inicio -->
741 <button hidden id="leer">Leer Texto</button>
742 <!-- -->
743
744 <!-- nuevas tags con estilo de especial + autores inicio -->
745
746 <!-- TAGS MOVIL INICIO -->
747 ## TAGS
748 <div class="temas d-movil" temas="$hmTemas.size()">
749 <div class="cab-temas temasmovil">TEMAS</div>
750 #if($hmTemas && $hmTemas.size() > 0)
751 #foreach ($elem in $hmTemas)
752 <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
753 #end
754 #end
755 #if($hmGeografico && $hmGeografico.size() > 0)
756 #foreach ($elem in $hmGeografico)
757 <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
758 #end
759 #end
760 #if($hmPersonajes && $hmPersonajes.size() > 0)
761 #foreach ($elem in $hmPersonajes)
762 <div class="item_tema t_$hmPersonajes.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
763 #end
764 #end
765 </div>
766 <!-- TAGS MOVIL FIN -->
767
768 <!-- nuevas tags con estilo de especial + autores fin -->
769
770 </div>
771 <!-- TEXTO LIBRE -->
772
773 ##GENERICO
774 #if($Generic && $Generic.getSiblings().size()>0)
775 <ul class="generic">
776 #foreach ($el in $Generic.getSiblings())
777 <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
778 #end
779 </ul>
780 #end
781
782
783 ## FIN PAYWALL
784 ##aqui estaba el paywall fin
785
786 ## MOVER TEXTO AQUI
787
788 ##RELACIONADAS EXTERNAS
789 #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
790 #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
791 #if(($urlLink && $urlLink.data != "") && ($titleLink && $titleLink.data != ""))
792 <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
793 <strong>$!titleLink.data</strong>
794 </a>
795 #end
796 ##RELACIONADAS INTERNAS
797 #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
798 <div class="link_tpi">
799 <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
800 #foreach ($el in $linkIntTitle.getSiblings())
801 <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
802 #end
803 </div>
804 #end
805
806 <!-- comentarios acceder -->
807
808 <!-- /1021010/v_mid3 -->
809 <div id='div-gpt-ad-1731442775467-0' class="op12" style='min-width: 300px; min-height: 50px;'>
810 <script>
811 googletag.cmd.push(function() { googletag.display('div-gpt-ad-1731442775467-0'); });
812 </script>
813 </div>
814
815 <div style="border-top: solid 1px #80808047;margin-top: 30px;">
816 <h2 style="margin-top: 25px;
817 font-size: 1.1rem;
818 letter-spacing: 0px !important;
819 border-left: 4px solid #F16504;
820 padding-left: 5px;
821 text-transform: uppercase;
822 font-family: 'PT Sans', helvetica, arial, sans-serif;
823 font-weight: 400;"
824 >COMENTARIOS <h2></div>
825 <div id="eww-comments" data-post-id="$reserved-article-id.data" data-events='{
826 "author": "$NombreAutor",
827 "section": "$section",
828 "post_title": "$title",
829 "post_id": "$reserved-article-id.data",
830 "author_id": "$IDAutor"
831 }'></div>
832 <!-- comentarios acceder -->
833
834 <div id="eww-mailchimp"></div>
835
836 ##openweb
837
838
839
840 ##cierra openweb
841
842 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
843 ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
844 ##<div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div> ++++++++++++++++
845 #php_end
846
847 </div>
848
849 </div>
850 </div>
851 </div>
852
853 <div class="col-60-40-top-two-col col-xs-12 col-md-4 col-lg-4 portlet-column nopadding" id="col-60-40-top-two-col">
854
855
856 ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
857 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
858
859 #php_else
860 <!-- <div islogged="$islogged" useraccess="$useraccess"></div>
861 <div class="publi" style="width: 300px; margin: 1rem auto; margin-top: 0px;";>$!iterVelocityTools.getAdContainer("nota_v_sb1")</div>
862
863 <div id='div-gpt-ad-8622108-5' style="width: 300px;margin: 1rem auto;margin-top: 0px;">
864 <script>
865 googletag.cmd.push(function() { googletag.display('div-gpt-ad-8622108-5'); });
866 </script>
867 </div> -->
868 #php_end
869
870 <!-- la enceusta se ve aqui inicio -->
871
872 <div id="" class="portlet-boundary portlet-static-end htmlcontainer-portlet block_newsletter">
873
874 <div class="move-from-a">
875 <h2 hidden class="sectiondestacadas">Encuesta Vanguardia</h2>
876 <div hidden id="encuesta-container" style="margin-bottom: 40px;margin-top: 40px;"></div>
877 </div>
878
879 </div>
880
881 <!-- la enceusta se ve aqui fin -->
882
883 ##RANKING
884 <div class="ranking_infinity lateral_secc c004_003"></div>
885 ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
886 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
887
888 #php_else
889 <!-- <div class="publi cb" style="width: 300px; margin: 1rem auto";>$!iterVelocityTools.getAdContainer("nota_v_sb2")</div>
890 <div id='div-gpt-ad-8622108-6' class="cb" style="width: 300px; margin: 1rem auto">
891 <script>
892 googletag.cmd.push(function() { googletag.display('div-gpt-ad-8622108-6'); });
893 </script>
894 </div> -->
895 #php_end
896 </div>
897
898 </div>
899 </article>
900 </div>
901
902</div>
903<div class="cl"></div>
904
905
906#set($urlExterna = $articleToolbox.getTag(null,"URLCanonical"))
907#if($urlExterna && $urlExterna.data != "")
908 #set ($urlExternaData = $urlExterna.data)
909 #set ($urlExternaData = $urlExternaData.replaceAll("<.*?>",""))
910 #set($linkCanonical= {})
911 #set($temp = $linkCanonical.put("rel","canonical"))
912 #set($temp = $linkCanonical.put("href",$urlExternaData))
913 $iterVelocityTools.addLinkTag($linkCanonical)
914#end
915
916<!-- <script type="text/javascript" src="https://s7.addthis.com/downloads/ajax_help.min.js" async="async"></script>
917<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-60d3045e05ce9ec5" async="async"></script>-->
918
919<!-- script para iframes pro Datafactory -->
920<script type="text/javascript" src="https://sportsdemo.co/html/v3/htmlCenter/assets/libs/iframeResizer/iframeResizer.min.js" defer></script>
921<script type="text/javascript" defer>
922 document.addEventListener("DOMContentLoaded", function() {
923 iFrameResize({"scrolling": false, "checkOrigin": false}, "iframe");
924 });
925</script>
926<!-- script para iframes pro Datafactory -->
927
928<!-- Script para encuestas -->
929<script defer>
930 document.addEventListener("DOMContentLoaded", function() {
931 // Obtener el día de la semana (0: domingo, 1: lunes, 2: martes, ..., 6: sábado)
932 var dayOfWeek = new Date().getDay();
933
934 // Mapear los días de la semana a los IDs de las encuestas
935 var encuestaIds = {
936 1: "71ca2dd0-e66a-4193-a0f4-08cd1b0ea1cd", // Lunes
937 2: "eee46c11-9560-46b8-8bda-320f623b72ce", // Martes
938 3: "01881361-4fbf-4cd4-89e5-659eb86530dc", // Miércoles
939 4: "dbb58b9e-3ed9-442f-a6a0-5cdd795bd685", // Jueves
940 5: "82c2038b-24e0-44f6-b835-3976ebad1803" // Viernes
941 };
942
943 // Contenedor donde se cargará la encuesta
944 var encuestaContainer = document.getElementById("encuesta-container");
945
946 // Cargar la encuesta correspondiente al día de la semana
947 if (encuestaIds[dayOfWeek]) {
948 var encuestaId = encuestaIds[dayOfWeek];
949 encuestaContainer.setAttribute("data-placement-id", encuestaId);
950 encuestaContainer.setAttribute("data-container", "exco-placement");
951
952 // Cargar el script para la encuesta
953 var script = document.createElement("script");
954 script.textContent = '(window.excoPlacements=window.excoPlacements||[]).push("' + encuestaId + '");';
955 encuestaContainer.appendChild(script);
956 } else {
957 // Si es sábado (6) o domingo (0), no se mostrará ninguna encuesta
958 encuestaContainer.style.display = "none";
959 }
960 });
961</script>
962
963<!-- Newsletter notas -->
964<script>
965 document.addEventListener("DOMContentLoaded", function() {
966 // Definir la cantidad de newsletters
967 const totalNewsletters = 7;
968
969 // Obtener el estado actual del newsletter desde localStorage
970 let newsletterIndex = localStorage.getItem('newsletterIndex');
971 if (newsletterIndex === null) {
972 newsletterIndex = 0; // Valor predeterminado
973 } else {
974 newsletterIndex = parseInt(newsletterIndex);
975 }
976
977 // Mostrar el newsletter correspondiente
978 const newsletterHTML = [
979 `<div>
980 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
981 <style type="text/css">
982 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
983 </style>
984 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
985 <div class="row imagenescool" style="background-color: #ffffff;padding-left: 15px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;padding-right: 15px;">
986 <div class="col" style="justify-content: start;display: flex;align-items: center;border-bottom: 1px solid #f16504;"><div class="RodeoNewsleteres" style="height: 27px;width: 100%;margin-top: 19px;"></div></div>
987 <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;border-bottom: 1px solid #f16504;"><div class="ImagenVanguardiaNewsL1Black" style="height: 20px;width: 89%;margin-top: 15px;margin-right: auto;margin-left: auto;"></div></div>
988 </div>
989 <form style="padding: 12px !important;" action="https://rodeocapital.us12.list-manage.com/subscribe/post?u=7ba13b16b94e60e6e287a91df&id=60bae9d119&f_id=001053e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaRodeoCapital" target="_self" novalidate="">
990 <div id="mc_embed_signup_scroll">
991 <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: "PT Serif",Georgia,serif!important;margin-left: 10px;"> Rompe los límites y recibe un adelanto exclusivo de Rodeo Capital. Suscríbete a la primera newsletter para quienes desafían lo ordinario y celebran la auténtica tradición vaquera de México. </p>
992 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required="">
993
994 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_60bae9d119" tabindex="-1" value=""></div>
995 <input type="submit" style="background-color: #f16504 !important;margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
996 </div>
997 </form>
998 </div>
999 </div>`,
1000 `<div>
1001 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
1002 <style type="text/css">
1003 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
1004 </style>
1005 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
1006 <div class="row imagenescool" style="background-color: #000000;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
1007 <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="TribunaPoliticaVMX" style="height: 40px;width: 100%;margin-top: 0px;"></div></div>
1008 <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
1009 </div>
1010 <form style="padding: 12px !important;" action="https://vanguardia.us12.list-manage.com/subscribe/post?u=7ba13b16b94e60e6e287a91df&id=d996cb4b89&f_id=001353e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaTribunaPolitica" target="_self" novalidate>
1011 <div id="mc_embed_signup_scroll">
1012 <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: "PT Serif",Georgia,serif!important;margin-left: 10px;"> Recibe cada martes Tribuna Política: la newsletter de opinión que conecta con la política que mueve a México y el mundo. ¡Únete a la conversación! </p>
1013 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
1014 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
1015 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_d996cb4b89" tabindex="-1" value=""></div>
1016 <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
1017 </div>
1018 </form>
1019 </div>
1020 </div>`,
1021 `<div>
1022 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
1023 <style type="text/css">
1024 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
1025 </style>
1026 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
1027 <div class="row imagenescool" style="background-color: #ffffff;padding-left: 15px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;padding-right: 15px;">
1028 <div class="col" style="justify-content: start;display: flex;align-items: center;border-bottom: 1px solid #f18078;"><div class="VMASVMX" style="height: 40px;width: 100%;margin-top: 0px;"></div></div>
1029 <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;border-bottom: 1px solid #f18078;"><div class="ImagenVanguardiaNewsL1gris" style="height: 20px;width: 100%;margin-top: 15px;"></div></div>
1030 </div>
1031 <form style="padding: 12px !important;" action="https://vanguardia.us12.list-manage.com/subscribe/post?u=7ba13b16b94e60e6e287a91df&id=8641e54d37&f_id=001253e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaVmas" target="_self" novalidate="">
1032 <div id="mc_embed_signup_scroll">
1033 <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: "PT Serif",Georgia,serif!important;margin-left: 10px;">¡Descubre, elige y date un gusto con V+LIST! Los jueves, cada 15 días, recibe una selección exclusiva de ofertas en línea: desde esenciales para el hogar y lo mejor para tu mascota, hasta los imperdibles de temporada. </p>
1034 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required="">
1035
1036 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_8641e54d37" tabindex="-1" value=""></div>
1037 <input type="submit" style="background-color: #2b62ff !important;margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
1038 </div>
1039 </form>
1040 </div>
1041 </div>`,
1042 `<div>
1043 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
1044 <style type="text/css">
1045 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
1046 </style>
1047 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
1048 <div class="row imagenescool" style="background-color: #ffffff;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
1049 <div class="col vanguardiamovilnewsletter" style="display: block;padding: 15px;">
1050 <div class="ImagenVanguardiaNewsVanguardia" style="height: 30px;width: 60%;margin-top: 0px;margin-right: auto;margin-left: auto;"></div>
1051 <div style="width: 80%;height: 1px;margin: 0px auto;border-bottom: 4px solid #ff7e1f;padding: 7px;"> </div>
1052 </div>
1053 <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;display: none;">
1054 <div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div>
1055 </div>
1056 </div>
1057 <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&id=33e9fe5f1c" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaVanguardia" target="_self" novalidate>
1058 <div id="mc_embed_signup_scroll">
1059 <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: "PT Serif",Georgia,serif!important;margin-left: 10px;">¡Comienza tus mañanas bien informado! Obtén nuestra selección diaria de noticias locales y nacionales para mantenerte actualizado desde el amanecer.</p>
1060 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
1061 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_33e9fe5f1c" tabindex="-1" value=""></div>
1062 <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnVanguardia">
1063 </div>
1064 </form>
1065 </div>
1066 </div>`,
1067 `<div>
1068 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
1069 <style type="text/css">
1070 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
1071 </style>
1072 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
1073 <div class="row imagenescool" style="background-color: #de001f;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
1074 <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsSemanario" style="height: 40px;width: 100%;margin-top: 0px;"></div></div>
1075 <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
1076 </div>
1077 <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&id=11c878846e" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaSemanario" target="_self" novalidate>
1078 <div id="mc_embed_signup_scroll">
1079 <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: "PT Serif",Georgia,serif!important;margin-left: 10px;">¡No te pierdas nuestras investigaciones exclusivas! Conoce los motivos del reportaje, directamente de sus autores, con nuestra newsletter semanal.</p>
1080 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
1081 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
1082 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_11c878846e" tabindex="-1" value=""></div>
1083 <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnSemanario">
1084 </div>
1085 </form>
1086 </div>
1087 </div>`,
1088 `<div>
1089 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
1090 <style type="text/css">
1091 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
1092 </style>
1093 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
1094 <div class="row imagenescool" style="background-color: #000000;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
1095 <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsNYT" style="height: 25px;width: 100%;margin-top: 0px;filter: invert(1) brightness(2);"></div></div>
1096 <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
1097 </div>
1098 <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&id=77ee4ec641&f_id=0061c3e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaTNYT" target="_self" novalidate>
1099 <div id="mc_embed_signup_scroll">
1100 <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: "PT Serif",Georgia,serif!important;margin-left: 10px;"> ¡Informate con lo mejor del periodismo internacional cada sábado! Suscríbete a nuestra Newsletter y recibe las noticias más destacadas del New York Times, traducidas especialmente para ti.</p>
1101 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
1102 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
1103 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_77ee4ec641" tabindex="-1" value=""></div>
1104 <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnTNYT">
1105 </div>
1106 </form>
1107 </div>
1108 </div>`,
1109 `<div>
1110 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
1111 <style type="text/css">
1112 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
1113 </style>
1114 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
1115 <div class="row imagenescool" style="background-color: #657838;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
1116 <div class="col" style="justify-content: start;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL4" style="height: 36px;width: 100%;margin-top: 0px;"></div></div>
1117 <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;"><div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div></div>
1118 </div>
1119 <form style="padding: 12px !important;" action="https://vanguardia.us3.list-manage.com/subscribe/post?u=372436c882786b2c9a8e7680a&id=51de90b277&f_id=006dc3e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate FormNotaCoahuilanatural" target="_self" novalidate>
1120 <div id="mc_embed_signup_scroll">
1121 <p style="color: rgb(0, 0, 0);font-size: 16px !important;font-family: "PT Serif",Georgia,serif!important;margin-left: 10px;"> ¡Descubre el fascinante newsletter de Vanguardia y enamórate de la naturaleza del sureste de Coahuila! Únete para vivir aventuras, experiencias únicas y aprender todo sobre el senderismo.</p>
1122 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
1123 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
1124 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_51de90b277" tabindex="-1" value=""></div>
1125 <input type="submit" style="margin-top: 12px;right: 0% !important;position: relative !important;" value="Registrarme ahora" name="subscribe" id="mc-embedded-subscribe" class="button cnnCoahuilanatural">
1126 </div>
1127 </form>
1128 </div>
1129 </div>`
1130
1131 // Agregar otros 3 bloques de HTML para los otros newsletters
1132 ];
1133
1134// Esperar 2 segundos antes de ejecutar el script
1135setTimeout(() => {
1136 // Verificar si existe un div con la clase "css-15l1kde"
1137 const divElemento = document.querySelector('div.css-15l1kde');
1138
1139 if (!divElemento) {
1140 // Obtener el elemento <p> con la clase "p_4"
1141 const elementoP = document.querySelector('p.p_4');
1142 if (elementoP) {
1143 // Insertar el bloque de código HTML después del elemento <p>
1144 elementoP.insertAdjacentHTML('afterend', newsletterHTML[newsletterIndex]);
1145 } else {
1146 console.log("no hay elementos p_4");
1147 }
1148 } else {
1149 console.log("El div con la clase css-15l1kde está presente. El script no se ejecutará.");
1150 }
1151}, 2000); // 2000 milisegundos = 2 segundos
1152
1153 // Actualizar el índice del newsletter para la próxima visita
1154 newsletterIndex = (newsletterIndex + 1) % totalNewsletters;
1155 localStorage.setItem('newsletterIndex', newsletterIndex);
1156 });
1157</script>
1158<!-- Newsletter notas -->
1159
1160<!-- apagar o encender scroll infinito -->
1161<div class="content-infinity-off">
1162
1163</div>
1164<!-- apagar o encender scroll infinito -->
1165
1166<!-- speed page -->
1167<script defer>
1168 document.addEventListener("DOMContentLoaded", function() {
1169 const lazyLoadElements = document.querySelectorAll('.lazy-load');
1170
1171 const observer = new IntersectionObserver(entries => {
1172 entries.forEach(entry => {
1173 if (entry.isIntersecting) {
1174 const lazyElement = entry.target;
1175
1176 // Verificar si el elemento ya ha sido marcado como cargado
1177 if (!lazyElement.classList.contains('in-view')) {
1178 // Realizar acciones específicas del elemento aquí
1179 // Por ejemplo, puedes agregar una clase, cargar contenido, etc.
1180 lazyElement.classList.add('in-view');
1181
1182 // Dejar de observar el elemento después de que ha entrado en la vista
1183 observer.unobserve(lazyElement);
1184 }
1185 }
1186 });
1187 });
1188
1189 lazyLoadElements.forEach(element => {
1190 observer.observe(element);
1191 });
1192 });
1193</script>
1194<!-- speed page -->
1195
1196<script defer>
1197// Función para aplicar el estilo fijo al menú al salir de pantalla
1198function fixMenu() {
1199 var menu = document.querySelector('.menu-principal-header.desktop');
1200 var scrollY = window.scrollY || window.pageYOffset;
1201 if (scrollY > 0) {
1202 menu.classList.add('fixed');
1203 } else {
1204 menu.classList.remove('fixed');
1205 }
1206}
1207
1208// Escuchador de eventos de desplazamiento
1209window.addEventListener('scroll', fixMenu);
1210
1211// Llamar a la función al cargar la página
1212fixMenu();
1213</script>
1214
1215<!-- Estilo para Lista sin Plublicidad -->
1216<script>
1217 document.addEventListener('DOMContentLoaded', function() {
1218
1219 // Obtener todos los div con la clase block_Parrafo_Lista
1220 var blocks = document.querySelectorAll('.block_Parrafo_Lista');
1221
1222 // Iterar a través de los bloques
1223 blocks.forEach(function(block) {
1224 // Obtener todos los elementos <p> dentro del bloque actual
1225 var paragraphs = block.querySelectorAll('p');
1226
1227 // Iterar a través de los elementos <p>
1228 paragraphs.forEach(function(paragraph) {
1229 // Verificar si el <p> está vacío
1230 if (paragraph.innerHTML.trim() === '') {
1231 // Agregar altura y display block
1232 paragraph.style.height = '20px';
1233 paragraph.style.display = 'block';
1234 }
1235
1236 // Verificar si el <p> contiene un <b> vacío
1237 var boldElement = paragraph.querySelector('b');
1238 if (boldElement && boldElement.innerHTML.trim() === '') {
1239 // Agregar altura y display block al <b> dentro del <p>
1240 boldElement.style.height = '20px';
1241 boldElement.style.display = 'block';
1242 }
1243 });
1244 });
1245
1246 });
1247</script>
1248<style>
1249 div.block_Parrafo_Lista p{
1250 margin: 0px !important;
1251 }
1252</style>
1253<!-- Estilo para Lista sin Plublicidad -->
1254
1255<script defer>
1256 document.addEventListener('DOMContentLoaded', function() {
1257 // Retrasa la ejecución del código durante 1 segundo (1000 milisegundos)
1258 setTimeout(function() {
1259 // Obtén una referencia a los elementos div con las clases específicas
1260 var resizableDiv = document.querySelector('.text.resizable');
1261 var otherDiv = document.querySelector('#col-60-40-top-two-col');
1262
1263 // Obtén la altura del div redimensionable
1264 //var resizableDivHeight = resizableDiv.offsetHeight;
1265 var altura = resizableDiv.getBoundingClientRect();
1266 // Asigna la altura del div redimensionable al otro div
1267 otherDiv.style.height = altura + 'px';
1268 }, 1000); // 1000 ms = 1 segundo
1269 });
1270</script>
1271
1272
1273
1274<!-- sdk de encuestas ex.co
1275<script defer src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script> -->
1276
1277<script>
1278
1279document.addEventListener('DOMContentLoaded', function() {
1280 // Selecciona todos los elementos div con las clases "lead destacado"
1281 var elements = document.querySelectorAll('div.lead.destacado');
1282
1283 // Itera sobre cada elemento y agrega el atributo itemprop="description"
1284 elements.forEach(function(element) {
1285 element.setAttribute('itemprop', 'description');
1286 });
1287});
1288
1289</script>
1290
1291<p hidden>$pub_imagen1</p>
1292<p hidden>$urlImage</p>
1293
1294#set($imageUrl3 = "")
1295#if($pub_imagen1.startsWith("https"))
1296 #set($imageUrl3 = $pub_imagen1)
1297#elseif($urlImage.startsWith("https"))
1298 #set($imageUrl3 = $urlImage)
1299#else
1300 #set($imageUrl3 = "https://vanguardia.com.mx/base-portlet/webrsrc/theme/13d16cf89ee0b324585019c9998ec6dd.svg")
1301#end
1302
1303<script type="application/ld+json">
1304 {
1305 "@context": "http://schema.org",
1306 "@type": "ImageObject",
1307 "url": "$imageUrl3",
1308 "datePublished": "$dateF",
1309 "dateModified": "$dateFb",
1310 "dateCreated": "$dateF>"
1311 }
1312</script>
1313
1314<div hidden itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
1315<meta hidden itemprop="url" content="$imageUrl3">
1316</div>
1317
1318<script type="text/javascript" async="async">
1319if(isMobileEnvironment == false){
1320 if($(".ranking_infinity").size() > 0){
1321 $(".ranking_infinity").html($(".infinity_ranking .iter-tabview-content").html());
1322 }
1323}
1324</script>
1325##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1326##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1327#*
1328#if($iterVelocityTools.getVelocityVariable("teaseritemposition") != 1)
1329 #set($TituloEsc = $htmlUtil.escape($!Headline.data))
1330 #set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
1331 #set ($tempSubheadline = "#getTeaserSubheadline(false)")
1332 #if($tempSubheadline && $tempSubheadline != "")
1333 #set($Texto = $tempSubheadline )
1334 #else
1335 #set($Texto = "#dameText(200)" )
1336 #end
1337 #set($Texto = $Texto.replaceAll("<.*?>","") )
1338 #set($Texto = $Texto.trim() )
1339
1340 #set($logo = "$iterVelocityTools.getVariable('0','logo_datos')" )
1341 #set($logo = $logo.trim() )
1342 #set($logo = $htmlUtil.escape($logo))
1343 #set($logo = $logo.replaceAll("/","\/") )
1344 #set($section = "")
1345 #set($section_url = "")
1346 #set($ac-sectionDateFrom = $articleContext.selectNodes('articlectx/sections//section[@from]'))
1347 #if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
1348 #foreach ($atrib in $ac-sectionDateFrom.get(0).attributes() )
1349 #if($atrib.name == "name")
1350 #set($section = $!atrib.data)
1351 #end
1352 #if($atrib.name == "url")
1353 #set($section_url = $!atrib.data)
1354 #end
1355
1356 #end
1357 #end
1358 ## ***************AUTOR ********************
1359 #set($autorfinal = "")
1360 #set($urlautorfinal = "")
1361 #if($hmAutores.size() > 0)
1362 #set($hmAutor = $hmAutores.get(0))
1363 #set($autorfinal = $hmAutor.name)
1364 #set($autorfinalEsc = $htmlUtil.escape($autorfinal))
1365 #set($urlautorfinal = "#metadataUrl_v1('autor')${hmAutor.friendlyname}")
1366 #end
1367 #if($autorfinal == "")
1368 #set($autorfinal = "Vanguardia")
1369 #end
1370
1371
1372
1373 <!-- ITEMS EN PAGINA fullaccess: $fullaccess -->
1374 <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
1375 <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
1376 <meta itemprop="url" content="https://vanguardia.com.mx/" />
1377 <meta itemprop="name" content="Vanguardia" />
1378 <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
1379 <meta itemprop="url" content="$iterVelocityTools.getVariable('0','logo_datos')" />
1380 <meta itemprop="width" content="600" />
1381 <meta itemprop="height" content="60" />
1382 </div>
1383 </div>
1384
1385#end
1386*#
1387##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1388##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
NUESTRO CONTENIDO PREMIUM