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 317, 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($TituloEsc = " ")
272
273#set($metaTW = {})
274#set($temp = $metaTW.put("property","twitter:title"))
275#set($temp = $metaTW.put("content", "$TituloEsc"))
276$iterVelocityTools.addMetaTag( $metaTW )
277
278#set($metaTW = {})
279#set($temp = $metaTW.put("property","twitter:description"))
280#set($temp = $metaTW.put("content", "$TextoEsc"))
281$iterVelocityTools.addMetaTag( $metaTW )
282
283
284#set($metaTW = {})
285#set($temp = $metaTW.put("property","twitter:image"))
286#set($temp = $metaTW.put("content", "$pub_imagen1"))
287$iterVelocityTools.addMetaTag( $metaTW )
288
289
290#set($metaTW = {})
291#set($temp = $metaTW.put("property","twitter:url"))
292#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
293$iterVelocityTools.addMetaTag( $metaTW )
294
295#set($metaTW = {})
296#set($temp = $metaTW.put("property","twitter:domain"))
297#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
298$iterVelocityTools.addMetaTag( $metaTW )
299
300#set($ac-url = $articleContext.selectNodes('articlectx/url'))
301#set($xml-url = $ac-url.get(0).text)
302#set($url_actual = $!xml-url )
303
304#if($pub_imagen1)
305 <link rel="preload" href="$pub_imagen1" as="image">
306 <!-- Lazysizes para lazy loading -->
307 <script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/lazysizes.min.js" async></script>
308#end
309
310##Add meta title
311#set($title = $htmlUtil.escape($!title))
312#set($title = $title.replaceAll("\n", ""))
313
314#set($html5Desc = {})
315#set($temp = $html5Desc.put("name","title"))
316#set($temp = $html5Desc.put("content",$title))
317$iterVelocityTools.addMetaTag($html5Desc)
318
319<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">
320
321
322<div class="container">
323
324 <!-- parte de datos estructurados inicio -->
325
326 <time hidden itemprop="datePublished" datetime="$dateF"></time>
327 <time hidden itemprop="dateModified" datetime="$dateFb"></time>
328 <time hidden itemprop="dateCreated" datetime="$dateF"></time>
329 <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
330 <meta itemprop="inLanguage" content="es-MX" />
331 <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization https://schema.org/NewsMediaOrganization">
332 <meta itemprop="url" content="https://vanguardia.com.mx/" />
333 <meta itemprop="name" content="Vanguardia" />
334 <!-- Proporcionar enlaces a las redes sociales o sitio web con "sameAs" -->
335 <a hidden href="https://www.facebook.com/VanguardiaMx/" itemprop="sameAs">Página de Facebook</a>
336 <a hidden href="https://twitter.com/vanguardiamx" itemprop="sameAs">Perfil de Twitter</a>
337 <a hidden href="https://www.linkedin.com/company/vanguardiamx/" itemprop="sameAs">Página de LinkedIn</a>
338 <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
339 <meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
340 <meta itemprop="width" content="380" />
341 <meta itemprop="height" content="35" />
342 </div>
343 </div>
344
345 <!-- parte de datos estructurados inicio fin -->
346
347 <script>
348 var group_id = $request.theme-display.scope-group-id;
349 var id_art_infinity = $reserved-article-id.data;
350 #if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
351 var teaser_first = true;
352 var n_noticia = 1;
353 idart_view = $reserved-article-id.data;
354 #else
355 var teaser_first = false;
356 var n_noticia = n_noticia + 1;
357 #end
358 </script>
359 ## MAPA DE PUBLICIDAD EN PARRAFOS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
360 #set ($addInParagraph ={})
361
362 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
363 #set ($temp = $addInParagraph.put("3","nota_v_top_movil"))
364 #set ($temp = $addInParagraph.put("8","v_desk_nota_mid_1"))
365 #set ($temp = $addInParagraph.put("13","v_desk_nota_mid_2"))
366 #set ($temp = $addInParagraph.put("18","v_desk_nota_mid_3"))
367 #set ($temp = $addInParagraph.put("23","v_desk_nota_mid_4"))
368 #set ($temp = $addInParagraph.put("28","v_desk_nota_mid_5"))
369 #php_else
370 #set ($temp = $addInParagraph.put("6","v_desk_nota_mid_1"))
371 #set ($temp = $addInParagraph.put("11","v_desk_nota_mid_2"))
372 #set ($temp = $addInParagraph.put("16","v_desk_nota_mid_3"))
373 #set ($temp = $addInParagraph.put("21","v_desk_nota_mid_4"))
374 #set ($temp = $addInParagraph.put("26","v_desk_nota_mid_5"))
375 #php_end
376
377 <div class="metadatos">#*
378 *##set($hmTemas = {})#*
379 *##getAcAssignedCatExtended_v1($hmTemas "Topic")#*
380 *##set($hmGeografico = {})#*
381 *##getAcAssignedCatExtended_v1($hmGeografico "Location")#*
382 *##set($hmPersonajes = {})#*
383 *##getAcAssignedCatExtended_v1($hmPersonajes "People")#*
384 *##set($hmAutores = {})#*
385 *##getAcAssignedCatExtended_v1($hmAutores "Author")#*
386 *##if($hmTemas && $hmTemas.size() > 0) #*
387 *##foreach ($elem in $hmTemas)#*
388 *#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="topic" data-voc-id="102924553"/>#*
389 *##end#*
390 *##end#*
391 *##if($hmGeografico && $hmGeografico.size() > 0)#*
392 *##foreach ($elem in $hmGeografico)#*
393 *#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="location" data-voc-id="102922353"/>#*
394 *##end#*
395 *##end#*
396 *##if($hmAutores && $hmAutores.size() > 0)#*
397 *##foreach ($elem in $hmAutores)#*
398 *#<div class="keywords" value="$elem.name" id="$elem.id" data-voc-name="author" data-voc-id="102924559"/>#*
399 *##end#*
400 *##end#*
401 *#</div>
402 <div class="canonical hidden"></div>
403
404
405 ##PAYWALL HIT MAS
406 <script>
407 $(document).ready(function() {
408 var title = "$!escapeTool.html($!title)";
409 sendHitUser(title);
410 });
411 </script>
412
413 ##PAYWALL PRODUCT
414 #set($product = "")
415 #set($article_is_restricted = $articleToolbox.article_is_restricted())
416 #if ($article_is_restricted)
417 #foreach($products in $articleToolbox.getProductList())
418 #set($product = $products.get("name"))
419 #end
420 <div id="type-note" data-id="$product"></div>
421 #end
422 ##USUARIO ANONIMO
423 #*
424 #if ($environment != 'PREVIEW')
425 #php_if("strlen(getenv('ITER_USER'))===0")
426 #if($product == "registrados")
427
428 #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
429 #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
430 <script>
431 var cons = ${cons};
432 var total = ${total};
433 var disp = total-cons;
434 $(".paywall-title span").html(disp);
435 </script>
436 #end
437
438 #php_end
439 #end
440 *#
441 ##FIN USUARIO ANONIMO
442 ##HEADLINE
443
444
445 ##publicidad video
446
447 ##publicidad video
448
449
450
451 <div id='div-gpt-ad-7320176-1' class="op12" style="min-width: 300px; min-height: 50px;">
452 <script>
453 googletag.cmd.push(function() { googletag.display('div-gpt-ad-7320176-1'); });
454 </script>
455 </div>
456
457
458 <article class="mrf-article-body">
459 <h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
460 ## SECC / FECHA
461 <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
462
463 <div id="content_note" style="visibility: hidden" class="row middle">
464 <!-- Columna de articulo padre -->
465 <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">
466
467 #set ($hasImages = $articleToolbox.getNumImageTags("Image", "true"))
468 #if($section == "Opinión" || $section == "Politicón")
469 #if ($hasImages > 0)
470 <div class="image_main" itemprop="image">
471 #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
472 </div>
473 #elseif($hmAutores && $hmAutores.size() > 0)
474 #foreach ($elem in $hmAutores)
475 #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
476 #set($imgColumn = $!articuloInstrumental.getImageTag("ImagenColumnista","0","crop_1152x648_detalle","","","","","true","",""))
477 #if($imgColumn && $imgColumn != "")
478 #set($urlImage = $articuloInstrumental.getImageURL("ImagenColumnista", "0", "crop_1152x648_detalle"))
479 #set($metaImgAuthor = {})
480 ###set($temp = $metaImgAuthor.put("property","og:image"))
481 ###set($temp = $metaImgAuthor.put("content",$urlImage))
482 ###$iterVelocityTools.addMetaTag( $metaImgAuthor )
483 <div class="image_main" itemprop="image">
484 $!imgColumn
485 </div>
486 #end
487 #end
488 #end
489 #else
490 ##IMAGEN
491 <div class="image_main" itemprop="image">
492 #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
493 </div>
494 #end
495
496 <div class="container-fluid">
497 <div class="row middle">
498
499 <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">
500
501 ##AUTOR
502 <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
503 #if($hmAutores && $hmAutores.size() > 0)
504 #foreach ($elem in $hmAutores)
505 #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
506 #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_250x250","","","","","$elem.name","",""))
507 <div class="img_author" itemprop="image">
508 #if($imgAuthor && $imgAuthor != "")
509 $!imgAuthor
510 #else
511 <img class="img-fluid" src="$AuthorNoFoto"/>
512 #end
513 </div>
514 <div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
515 #end
516 #end
517 </div>
518
519 <div class="compartirr">
520
521 <div class="rrss d-desktop">
522 <h2 class="sectiondestacadas " style="margin-bottom: 15px;margin-top: 40px;">COMPARTIR</h2>
523 <div class="network-social">
524 <ul class="social-options">
525 <li>
526 <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook">
527 <div class="fab facebook"></div>
528 <b>Facebook</b>
529 </a>
530 </li>
531 <li>
532 <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter">
533 <div class="fab twitter"></div>
534 <b>Twitter</b>
535 </a>
536 </li>
537 <li>
538 <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp">
539 <div class="fab whatsapp"></div>
540 <b>Whatsapp</b>
541 </a>
542 </li>
543 <li>
544 <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin">
545 <div class="fab linkedin"></div>
546 <b>Linkedin</b>
547 </a>
548 </li>
549 </ul>
550 </div>
551 </div>
552
553 ## TAGS
554 <div class="temas d-desktop" temas="$hmTemas.size()">
555 <h2 class="sectiondestacadas" style="margin-bottom: 15px;" >TEMAS</h2>
556 #if($hmTemas && $hmTemas.size() > 0)
557 #foreach ($elem in $hmTemas)
558 <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
559 #end
560 #end
561 #if($hmGeografico && $hmGeografico.size() > 0)
562 #foreach ($elem in $hmGeografico)
563 <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
564 #end
565 #end
566 </div>
567
568 </div>
569 </div>
570
571
572 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
573 <div class="rrss end d-movil" style="
574 position: sticky;
575 top: 38px;
576 background: white;
577 z-index: 3;">
578 <div class="cab-rrss">COMPARTIR</div>
579 <div class="network-social">
580 <ul class="social-options">
581 <li>
582 <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook">
583 <div class="fab facebook"></div>
584 </a>
585 </li>
586 <li>
587 <a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter">
588 <div class="fab twitter"></div>
589 </a>
590 </li>
591 <li>
592 <a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp">
593 <div class="fab whatsapp"></div>
594 </a>
595 </li>
596 <li>
597 <a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin">
598 <div class="fab linkedin"></div>
599 </a>
600 </li>
601 </ul>
602 </div>
603 </div>
604 #php_end
605
606 <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">
607
608 ##SUBHEADLINE/TOPHEADLINE
609 #set ($tempSubheadline = "#getTeaserSubheadline(true)")
610 #if($tempSubheadline && $tempSubheadline != "")
611 <h2 class="subheadline" itemprop="description">#getTeaserSubheadline_v1(false)</h2>
612 #end
613
614##PUBLI BOX PREMIUM
615
616
617##PUBLI BOX PREMIUM
618#php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
619 <div class="publi">$!iterVelocityTools.getAdContainer("box_premium_mobile")</div>
620#php_end
621
622 ##aqui estaba el paywall inicio
623 ##PAYWALL
624 #php_if("strlen(getenv('ITER_USER'))!==0")
625 <!--Usuario logueado-->
626 #set($islogged = "true")
627 #php_else
628 <!--Usuario no logueado-->
629 #set($islogged = "false")
630 #php_end
631
632 #set($productList = $articleToolbox.getProductList())
633 #set($producto = '')
634 #if ($productList && $productList.size() > 0)
635 #set($producto = $productList.get(0).namebase64)
636 #end
637 <!-- product:$producto -->
638 <!-- reserved-article-id.data:$reserved-article-id.data -->
639 #set($useraccess = "false")
640 #set($article_is_restricted = $articleToolbox.article_is_restricted())
641
642 <!-- TEXTO LIBRE -->
643 ##TEXTO
644 <div class="text resizable lazy-load" itemprop="articleBody">
645
646 #if($section == "Politicón")
647
648 #if($url_actual == "/opinion/politicon/politicon-siguen-pegando-recortes-a-coahuila-EH9584767" || $url_actual == "/opinion/politicon/politicon-persisten-anomalias-financieras-en-la-uadec-EC12457715")
649 <div class="PoliticonNotaslogoSinAcento" style="width: 300px;height: 60px;margin-bottom: 3rem;"></div>
650 #else
651 <div class="PoliticonNotaslogo cambiourll" style="width: 300px;height: 60px;margin-bottom: 3rem;"></div>
652 #end
653 #end
654
655
656 #printHTMLContentArticle_v1_latam($arrayListContenidos, "crop_1152x648", "100%", "100%", "375", $addInParagraph)
657
658 <!-- funcion para leer la nota inicio -->
659 <button hidden id="leer">Leer Texto</button>
660 <!-- -->
661
662 <!-- nuevas tags con estilo de especial + autores inicio -->
663
664 <!-- TAGS MOVIL INICIO -->
665 ## TAGS
666 <div class="temas d-movil" temas="$hmTemas.size()">
667 <div class="cab-temas temasmovil">TEMAS</div>
668 #if($hmTemas && $hmTemas.size() > 0)
669 #foreach ($elem in $hmTemas)
670 <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
671 #end
672 #end
673 #if($hmGeografico && $hmGeografico.size() > 0)
674 #foreach ($elem in $hmGeografico)
675 <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
676 #end
677 #end
678 </div>
679 <!-- TAGS MOVIL FIN -->
680
681 <!-- nuevas tags con estilo de especial + autores fin -->
682
683 </div>
684 <!-- TEXTO LIBRE -->
685
686 ##GENERICO
687 #if($Generic && $Generic.getSiblings().size()>0)
688 <ul class="generic">
689 #foreach ($el in $Generic.getSiblings())
690 <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
691 #end
692 </ul>
693 #end
694
695
696 ## FIN PAYWALL
697 ##aqui estaba el paywall fin
698
699 ## MOVER TEXTO AQUI
700
701 ##RELACIONADAS EXTERNAS
702 #set ($urlLink = $articleToolbox.getTag(null,"linkURL") )
703 #set ($titleLink = $articleToolbox.getTag(null,"linkTitle"))
704 #if(($urlLink && $urlLink.data != "") && ($titleLink && $titleLink.data != ""))
705 <a class="ext_link" href="$!urlLink.data" target="_blank" rel="nofollow">
706 <strong>$!titleLink.data</strong>
707 </a>
708 #end
709 ##RELACIONADAS INTERNAS
710 #if($linkIntTitle && $linkIntTitle.getSiblings().size()>0)
711 <div class="link_tpi">
712 <div class="head_int"><span class="icon"></span> TE PUEDE INTERESAR: </div>
713 #foreach ($el in $linkIntTitle.getSiblings())
714 <div class="item_int"><a href="$!el.linkIntURL.data" >$!el.data</a></div>
715 #end
716 </div>
717 #end
718
719
720 ##openweb
721
722
723
724 ##cierra openweb
725
726 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
727 ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
728 ##<div class="publi">$!iterVelocityTools.getAdContainer("nota_v_bot")</div> ++++++++++++++++
729 #php_end
730
731 </div>
732
733 </div>
734 </div>
735 </div>
736
737 <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">
738
739
740 ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
741 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
742
743 #php_else
744 <!-- <div islogged="$islogged" useraccess="$useraccess"></div>
745 <div class="publi" style="width: 300px; margin: 1rem auto; margin-top: 0px;";>$!iterVelocityTools.getAdContainer("nota_v_sb1")</div> -->
746
747 <div id='div-gpt-ad-8622108-5' style="width: 300px;margin: 1rem auto;margin-top: 0px;">
748 <script>
749 googletag.cmd.push(function() { googletag.display('div-gpt-ad-8622108-5'); });
750 </script>
751 </div>
752 #php_end
753
754 <!-- la enceusta se ve aqui inicio -->
755
756 <div id="" class="portlet-boundary portlet-static-end htmlcontainer-portlet block_newsletter">
757
758 <div class="move-from-a">
759 <h2 hidden class="sectiondestacadas">Encuesta Vanguardia</h2>
760 <div hidden id="encuesta-container" style="margin-bottom: 40px;margin-top: 40px;"></div>
761 </div>
762
763 </div>
764
765 <!-- la enceusta se ve aqui fin -->
766
767 ##RANKING
768 <div class="ranking_infinity lateral_secc c004_003"></div>
769 ##PUBLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
770 #php_if("getenv('ITER_UA_IS_MOBILE')==='true'")
771
772 #php_else
773 <!-- <div class="publi cb" style="width: 300px; margin: 1rem auto";>$!iterVelocityTools.getAdContainer("nota_v_sb2")</div> -->
774 <div id='div-gpt-ad-8622108-6' class="cb" style="width: 300px; margin: 1rem auto">
775 <script>
776 googletag.cmd.push(function() { googletag.display('div-gpt-ad-8622108-6'); });
777 </script>
778 </div>
779 #php_end
780 </div>
781
782 </div>
783 </article>
784 </div>
785
786</div>
787<div class="cl"></div>
788
789
790#set($urlExterna = $articleToolbox.getTag(null,"URLCanonical"))
791#if($urlExterna && $urlExterna.data != "")
792 #set ($urlExternaData = $urlExterna.data)
793 #set ($urlExternaData = $urlExternaData.replaceAll("<.*?>",""))
794 #set($linkCanonical= {})
795 #set($temp = $linkCanonical.put("rel","canonical"))
796 #set($temp = $linkCanonical.put("href",$urlExternaData))
797 $iterVelocityTools.addLinkTag($linkCanonical)
798#end
799
800<!-- <script type="text/javascript" src="https://s7.addthis.com/downloads/ajax_help.min.js" async="async"></script>
801<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-60d3045e05ce9ec5" async="async"></script>-->
802
803<!-- script para iframes pro Datafactory -->
804<script type="text/javascript" src="https://sportsdemo.co/html/v3/htmlCenter/assets/libs/iframeResizer/iframeResizer.min.js" defer></script>
805<script type="text/javascript" defer>
806 document.addEventListener("DOMContentLoaded", function() {
807 iFrameResize({"scrolling": false, "checkOrigin": false}, "iframe");
808 });
809</script>
810<!-- script para iframes pro Datafactory -->
811
812<!-- Script para encuestas -->
813<script defer>
814 document.addEventListener("DOMContentLoaded", function() {
815 // Obtener el día de la semana (0: domingo, 1: lunes, 2: martes, ..., 6: sábado)
816 var dayOfWeek = new Date().getDay();
817
818 // Mapear los días de la semana a los IDs de las encuestas
819 var encuestaIds = {
820 1: "71ca2dd0-e66a-4193-a0f4-08cd1b0ea1cd", // Lunes
821 2: "eee46c11-9560-46b8-8bda-320f623b72ce", // Martes
822 3: "01881361-4fbf-4cd4-89e5-659eb86530dc", // Miércoles
823 4: "dbb58b9e-3ed9-442f-a6a0-5cdd795bd685", // Jueves
824 5: "82c2038b-24e0-44f6-b835-3976ebad1803" // Viernes
825 };
826
827 // Contenedor donde se cargará la encuesta
828 var encuestaContainer = document.getElementById("encuesta-container");
829
830 // Cargar la encuesta correspondiente al día de la semana
831 if (encuestaIds[dayOfWeek]) {
832 var encuestaId = encuestaIds[dayOfWeek];
833 encuestaContainer.setAttribute("data-placement-id", encuestaId);
834 encuestaContainer.setAttribute("data-container", "exco-placement");
835
836 // Cargar el script para la encuesta
837 var script = document.createElement("script");
838 script.textContent = '(window.excoPlacements=window.excoPlacements||[]).push("' + encuestaId + '");';
839 encuestaContainer.appendChild(script);
840 } else {
841 // Si es sábado (6) o domingo (0), no se mostrará ninguna encuesta
842 encuestaContainer.style.display = "none";
843 }
844 });
845</script>
846
847<!-- Newsletter notas -->
848<script>
849 document.addEventListener("DOMContentLoaded", function() {
850 // Definir la cantidad de newsletters
851 const totalNewsletters = 7;
852
853 // Obtener el estado actual del newsletter desde localStorage
854 let newsletterIndex = localStorage.getItem('newsletterIndex');
855 if (newsletterIndex === null) {
856 newsletterIndex = 0; // Valor predeterminado
857 } else {
858 newsletterIndex = parseInt(newsletterIndex);
859 }
860
861 // Mostrar el newsletter correspondiente
862 const newsletterHTML = [
863 `<div>
864 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
865 <style type="text/css">
866 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
867 </style>
868 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
869 <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;">
870 <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>
871 <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>
872 </div>
873 <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="">
874 <div id="mc_embed_signup_scroll">
875 <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>
876 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required="">
877
878 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_60bae9d119" tabindex="-1" value=""></div>
879 <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">
880 </div>
881 </form>
882 </div>
883 </div>`,
884 `<div>
885 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
886 <style type="text/css">
887 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
888 </style>
889 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
890 <div class="row imagenescool" style="background-color: #000000;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
891 <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>
892 <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>
893 </div>
894 <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>
895 <div id="mc_embed_signup_scroll">
896 <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>
897 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
898 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
899 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_d996cb4b89" tabindex="-1" value=""></div>
900 <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">
901 </div>
902 </form>
903 </div>
904 </div>`,
905 `<div>
906 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
907 <style type="text/css">
908 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
909 </style>
910 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
911 <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;">
912 <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>
913 <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>
914 </div>
915 <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="">
916 <div id="mc_embed_signup_scroll">
917 <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>
918 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required="">
919
920 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_7ba13b16b94e60e6e287a91df_8641e54d37" tabindex="-1" value=""></div>
921 <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">
922 </div>
923 </form>
924 </div>
925 </div>`,
926 `<div>
927 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
928 <style type="text/css">
929 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
930 </style>
931 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
932 <div class="row imagenescool" style="background-color: #ffffff;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
933 <div class="col vanguardiamovilnewsletter" style="display: block;padding: 15px;">
934 <div class="ImagenVanguardiaNewsVanguardia" style="height: 30px;width: 60%;margin-top: 0px;margin-right: auto;margin-left: auto;"></div>
935 <div style="width: 80%;height: 1px;margin: 0px auto;border-bottom: 4px solid #ff7e1f;padding: 7px;"> </div>
936 </div>
937 <div class="col columnaVanguardiaMovilNewsleters" style="justify-content: end;display: flex;align-items: center;display: none;">
938 <div class="ImagenVanguardiaNewsL1" style="height: 51px;width: 100%;margin-top: -11px;"></div>
939 </div>
940 </div>
941 <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>
942 <div id="mc_embed_signup_scroll">
943 <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>
944 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
945 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_33e9fe5f1c" tabindex="-1" value=""></div>
946 <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">
947 </div>
948 </form>
949 </div>
950 </div>`,
951 `<div>
952 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
953 <style type="text/css">
954 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
955 </style>
956 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
957 <div class="row imagenescool" style="background-color: #de001f;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
958 <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>
959 <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>
960 </div>
961 <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>
962 <div id="mc_embed_signup_scroll">
963 <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>
964 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
965 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
966 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_11c878846e" tabindex="-1" value=""></div>
967 <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">
968 </div>
969 </form>
970 </div>
971 </div>`,
972 `<div>
973 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
974 <style type="text/css">
975 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
976 </style>
977 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
978 <div class="row imagenescool" style="background-color: #000000;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
979 <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>
980 <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>
981 </div>
982 <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>
983 <div id="mc_embed_signup_scroll">
984 <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>
985 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
986 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
987 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_77ee4ec641" tabindex="-1" value=""></div>
988 <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">
989 </div>
990 </form>
991 </div>
992 </div>`,
993 `<div>
994 <link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
995 <style type="text/css">
996 .block_newsletter #mc_embed_signup form {padding-left:0 !important;}
997 </style>
998 <div class="newsletterform" id="mc_embed_signup" style="margin-bottom: 30px; padding: 0px !important;border-radius: 5px;">
999 <div class="row imagenescool" style="background-color: #657838;padding-left: 13px;height: 60px;border-top-left-radius: 5px;border-top-right-radius: 5px;">
1000 <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>
1001 <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>
1002 </div>
1003 <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>
1004 <div id="mc_embed_signup_scroll">
1005 <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>
1006 <input style="margin: 0% 10px auto; !important" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Correo electrónico" required>
1007 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
1008 <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_372436c882786b2c9a8e7680a_51de90b277" tabindex="-1" value=""></div>
1009 <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">
1010 </div>
1011 </form>
1012 </div>
1013 </div>`
1014
1015 // Agregar otros 3 bloques de HTML para los otros newsletters
1016 ];
1017
1018 // Obtener el elemento <p> con la clase "p_6"
1019 const elementoP = document.querySelector('p.p_4');
1020 if (elementoP) {
1021 // Insertar el bloque de código HTML después del elemento <p>
1022 elementoP.insertAdjacentHTML('afterend', newsletterHTML[newsletterIndex]);
1023 }
1024
1025 // Actualizar el índice del newsletter para la próxima visita
1026 newsletterIndex = (newsletterIndex + 1) % totalNewsletters;
1027 localStorage.setItem('newsletterIndex', newsletterIndex);
1028 });
1029</script>
1030<!-- Newsletter notas -->
1031
1032<!-- apagar o encender scroll infinito -->
1033<div class="content-infinity-off">
1034
1035</div>
1036<!-- apagar o encender scroll infinito -->
1037
1038<!-- speed page -->
1039<script defer>
1040 document.addEventListener("DOMContentLoaded", function() {
1041 const lazyLoadElements = document.querySelectorAll('.lazy-load');
1042
1043 const observer = new IntersectionObserver(entries => {
1044 entries.forEach(entry => {
1045 if (entry.isIntersecting) {
1046 const lazyElement = entry.target;
1047
1048 // Verificar si el elemento ya ha sido marcado como cargado
1049 if (!lazyElement.classList.contains('in-view')) {
1050 // Realizar acciones específicas del elemento aquí
1051 // Por ejemplo, puedes agregar una clase, cargar contenido, etc.
1052 lazyElement.classList.add('in-view');
1053
1054 // Dejar de observar el elemento después de que ha entrado en la vista
1055 observer.unobserve(lazyElement);
1056 }
1057 }
1058 });
1059 });
1060
1061 lazyLoadElements.forEach(element => {
1062 observer.observe(element);
1063 });
1064 });
1065</script>
1066<!-- speed page -->
1067
1068<script defer>
1069// Función para aplicar el estilo fijo al menú al salir de pantalla
1070function fixMenu() {
1071 var menu = document.querySelector('.menu-principal-header.desktop');
1072 var scrollY = window.scrollY || window.pageYOffset;
1073 if (scrollY > 0) {
1074 menu.classList.add('fixed');
1075 } else {
1076 menu.classList.remove('fixed');
1077 }
1078}
1079
1080// Escuchador de eventos de desplazamiento
1081window.addEventListener('scroll', fixMenu);
1082
1083// Llamar a la función al cargar la página
1084fixMenu();
1085</script>
1086
1087<!-- Estilo para Lista sin Plublicidad -->
1088<script>
1089 document.addEventListener('DOMContentLoaded', function() {
1090
1091 // Obtener todos los div con la clase block_Parrafo_Lista
1092 var blocks = document.querySelectorAll('.block_Parrafo_Lista');
1093
1094 // Iterar a través de los bloques
1095 blocks.forEach(function(block) {
1096 // Obtener todos los elementos <p> dentro del bloque actual
1097 var paragraphs = block.querySelectorAll('p');
1098
1099 // Iterar a través de los elementos <p>
1100 paragraphs.forEach(function(paragraph) {
1101 // Verificar si el <p> está vacío
1102 if (paragraph.innerHTML.trim() === '') {
1103 // Agregar altura y display block
1104 paragraph.style.height = '20px';
1105 paragraph.style.display = 'block';
1106 }
1107
1108 // Verificar si el <p> contiene un <b> vacío
1109 var boldElement = paragraph.querySelector('b');
1110 if (boldElement && boldElement.innerHTML.trim() === '') {
1111 // Agregar altura y display block al <b> dentro del <p>
1112 boldElement.style.height = '20px';
1113 boldElement.style.display = 'block';
1114 }
1115 });
1116 });
1117
1118 });
1119</script>
1120<style>
1121 div.block_Parrafo_Lista p{
1122 margin: 0px !important;
1123 }
1124</style>
1125<!-- Estilo para Lista sin Plublicidad -->
1126
1127<script defer>
1128 document.addEventListener('DOMContentLoaded', function() {
1129 // Retrasa la ejecución del código durante 1 segundo (1000 milisegundos)
1130 setTimeout(function() {
1131 // Obtén una referencia a los elementos div con las clases específicas
1132 var resizableDiv = document.querySelector('.text.resizable');
1133 var otherDiv = document.querySelector('#col-60-40-top-two-col');
1134
1135 // Obtén la altura del div redimensionable
1136 //var resizableDivHeight = resizableDiv.offsetHeight;
1137 var altura = resizableDiv.getBoundingClientRect();
1138 // Asigna la altura del div redimensionable al otro div
1139 otherDiv.style.height = altura + 'px';
1140 }, 1000); // 1000 ms = 1 segundo
1141 });
1142</script>
1143
1144
1145
1146<!-- sdk de encuestas ex.co
1147<script defer src="https://smart-placements-sdk.ex.co/v1/4c5d975f-5ccc-422a-967c-bdca2f89738c/sdk.js"></script> -->
1148
1149<script>
1150
1151document.addEventListener('DOMContentLoaded', function() {
1152 // Selecciona todos los elementos div con las clases "lead destacado"
1153 var elements = document.querySelectorAll('div.lead.destacado');
1154
1155 // Itera sobre cada elemento y agrega el atributo itemprop="description"
1156 elements.forEach(function(element) {
1157 element.setAttribute('itemprop', 'description');
1158 });
1159});
1160
1161</script>
1162
1163<p hidden>$pub_imagen1</p>
1164<p hidden>$urlImage</p>
1165
1166#set($imageUrl3 = "")
1167#if($pub_imagen1.startsWith("https"))
1168 #set($imageUrl3 = $pub_imagen1)
1169#elseif($urlImage.startsWith("https"))
1170 #set($imageUrl3 = $urlImage)
1171#else
1172 #set($imageUrl3 = "https://vanguardia.com.mx/base-portlet/webrsrc/theme/13d16cf89ee0b324585019c9998ec6dd.svg")
1173#end
1174
1175<script type="application/ld+json">
1176 {
1177 "@context": "http://schema.org",
1178 "@type": "ImageObject",
1179 "url": "$imageUrl3",
1180 "datePublished": "$dateF",
1181 "dateModified": "$dateFb",
1182 "dateCreated": "$dateF>"
1183 }
1184</script>
1185
1186<div hidden itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
1187<meta hidden itemprop="url" content="$imageUrl3">
1188</div>
1189
1190<script type="text/javascript" async="async">
1191if(isMobileEnvironment == false){
1192 if($(".ranking_infinity").size() > 0){
1193 $(".ranking_infinity").html($(".infinity_ranking .iter-tabview-content").html());
1194 }
1195}
1196</script>
1197##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1198##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1199#*
1200#if($iterVelocityTools.getVelocityVariable("teaseritemposition") != 1)
1201 #set($TituloEsc = $htmlUtil.escape($!Headline.data))
1202 #set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
1203 #set ($tempSubheadline = "#getTeaserSubheadline(false)")
1204 #if($tempSubheadline && $tempSubheadline != "")
1205 #set($Texto = $tempSubheadline )
1206 #else
1207 #set($Texto = "#dameText(200)" )
1208 #end
1209 #set($Texto = $Texto.replaceAll("<.*?>","") )
1210 #set($Texto = $Texto.trim() )
1211
1212 #set($logo = "$iterVelocityTools.getVariable('0','logo_datos')" )
1213 #set($logo = $logo.trim() )
1214 #set($logo = $htmlUtil.escape($logo))
1215 #set($logo = $logo.replaceAll("/","\/") )
1216 #set($section = "")
1217 #set($section_url = "")
1218 #set($ac-sectionDateFrom = $articleContext.selectNodes('articlectx/sections//section[@from]'))
1219 #if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
1220 #foreach ($atrib in $ac-sectionDateFrom.get(0).attributes() )
1221 #if($atrib.name == "name")
1222 #set($section = $!atrib.data)
1223 #end
1224 #if($atrib.name == "url")
1225 #set($section_url = $!atrib.data)
1226 #end
1227
1228 #end
1229 #end
1230 ## ***************AUTOR ********************
1231 #set($autorfinal = "")
1232 #set($urlautorfinal = "")
1233 #if($hmAutores.size() > 0)
1234 #set($hmAutor = $hmAutores.get(0))
1235 #set($autorfinal = $hmAutor.name)
1236 #set($autorfinalEsc = $htmlUtil.escape($autorfinal))
1237 #set($urlautorfinal = "#metadataUrl_v1('autor')${hmAutor.friendlyname}")
1238 #end
1239 #if($autorfinal == "")
1240 #set($autorfinal = "Vanguardia")
1241 #end
1242
1243
1244
1245 <!-- ITEMS EN PAGINA fullaccess: $fullaccess -->
1246 <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
1247 <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
1248 <meta itemprop="url" content="https://vanguardia.com.mx/" />
1249 <meta itemprop="name" content="Vanguardia" />
1250 <div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
1251 <meta itemprop="url" content="$iterVelocityTools.getVariable('0','logo_datos')" />
1252 <meta itemprop="width" content="600" />
1253 <meta itemprop="height" content="60" />
1254 </div>
1255 </div>
1256
1257#end
1258*#
1259##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1260##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Selección de los editores