An error occurred while processing the template.
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 874] at 21736/F/NOTA_360[line 139, column 20]
1##----nota 360----
2##----Plantilla estandar----
3
4$iterVelocityTools.setRenderArticleMode(1)
5#set($dateMask = "d MMMM yyyy")
6#set($hostName = "#siteUrl()")
7#set ($arrayListContenidos = [])
8
9#set ($element = {})
10#set ($temp = $element.put("name","Text"))
11#set ($temp = $element.put("type","paragraph"))
12#set ($temp = $element.put("cssclass","texto"))
13#set ($temp = $element.put("tag","div"))
14#set ($temp = $arrayListContenidos.add($element))
15
16#set ($element = {})
17#set ($temp = $element.put("name","Lead"))
18#set ($temp = $element.put("type","text"))
19#set ($temp = $element.put("cssclass","lead destacado"))
20#set ($temp = $element.put("tag","div"))
21#set ($temp = $arrayListContenidos.add($element))
22
23#set ($element = {})
24#set ($temp = $element.put("name","Image_Text"))
25#set ($temp = $element.put("type","image"))
26#set ($temp = $element.put("cssclass","img_text"))
27#set ($temp = $element.put("tag","div"))
28#set( $temp = $arrayListContenidos.add($element))
29
30#set ($element = {})
31#set ($temp = $element.put("name","Youtube_Text"))
32#set ($temp = $element.put("type","youtube"))
33#set ($temp = $element.put("cssclass","youtube_video ratio ratio-16x9"))
34#set ($temp = $element.put("tag","div"))
35#set ($temp = $arrayListContenidos.add($element))
36
37#set ($element = {})
38#set ($temp = $element.put("name","Multimedia_Text"))
39#set ($temp = $element.put("type","multimedia"))
40#set ($temp = $element.put("cssclass","jwplayer_video"))
41#set ($temp = $element.put("tag","div"))
42#set ($temp = $arrayListContenidos.add($element))
43
44#set ($element = {})
45#set ($temp = $element.put("name","Image_Text_GIF"))
46#set ($temp = $element.put("type","image"))
47#set ($temp = $element.put("cssclass","imagen"))
48#set ($temp = $element.put("tag","div"))
49#set ($temp = $arrayListContenidos.add($element))
50
51#set ($element = {})
52#set ($temp = $element.put("name","Facebook_Text"))
53#set ($temp = $element.put("type","facebook"))
54#set ($temp = $element.put("cssclass","facebook_text"))
55#set ($temp = $element.put("tag","div"))
56#set ($temp = $arrayListContenidos.add($element))
57
58#set ($element = {})
59#set ($temp = $element.put("name","Twitter_Text"))
60#set ($temp = $element.put("type","twitter"))
61#set ($temp = $element.put("cssclass","twitter_text"))
62#set ($temp = $element.put("tag","div"))
63#set ($temp = $arrayListContenidos.add($element))
64
65#set ($element = {})
66#set ($temp = $element.put("name","Instagram_Text"))
67#set ($temp = $element.put("type","instagram"))
68#set ($temp = $element.put("cssclass","instagram_text"))
69#set ($temp = $element.put("tag","div"))
70#set ($temp = $arrayListContenidos.add($element))
71
72#set ($element = {})
73#set ($temp = $element.put("name","HTML_Text"))
74#set ($temp = $element.put("type","html"))
75#set ($temp = $element.put("cssclass","html_text"))
76#set ($temp = $element.put("tag","div"))
77#set ($temp = $arrayListContenidos.add($element))
78
79#set ($element = {})
80#set ($temp = $element.put("name","Quote"))
81#set ($temp = $element.put("type","text"))
82#set ($temp = $element.put("cssclass","quote"))
83#set ($temp = $element.put("tag","div"))
84#set ($temp = $arrayListContenidos.add($element))
85
86#set ($element = {})
87#set ($temp = $element.put("name","title_list"))
88#set ($temp = $element.put("type","microformat"))
89#set ($temp = $element.put("cssclass","microformat"))
90#set ($temp = $element.put("tag","div"))
91#set ($temp = $arrayListContenidos.add($element))
92
93#set ($element = {})
94#set ($temp = $element.put("name","Lead_Text"))
95#set ($temp = $element.put("type","text"))
96#set ($temp = $element.put("cssclass","intertitulo"))
97#set ($temp = $element.put("tag","div"))
98#set ($temp = $arrayListContenidos.add($element))
99
100#set ($element = {})
101#set ($temp = $element.put("name","linkTitle_Text"))
102#set ($temp = $element.put("type","text"))
103#set ($temp = $element.put("cssclass","link_tpi"))
104#set ($temp = $element.put("tag","div"))
105#set ($temp = $arrayListContenidos.add($element))
106
107#set ($element = {})
108#set ($temp = $element.put("name","Flourish_Text"))
109#set ($temp = $element.put("type","text"))
110#set ($temp = $element.put("cssclass","flourish_text"))
111#set ($temp = $element.put("tag","div"))
112#set ($temp = $arrayListContenidos.add($element))
113
114#set ($element = {})
115#set ($temp = $element.put("name","Parrafo_Lista"))
116#set ($temp = $element.put("type","text"))
117#set ($temp = $element.put("cssclass","Parrafo_Lista"))
118#set ($temp = $element.put("tag","div"))
119#set ($temp = $arrayListContenidos.add($element))
120
121#set($hmTemas = {})
122#getAcAssignedCatExtended_v1($hmTemas "Topics")
123#set($hmAutores = {})
124#getAcAssignedCatExtended_v1($hmAutores "Author")
125
126#set($section = "#printAssignedSection_v1")
127#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
128
129##HEADLINE
130
131##Add meta title
132#set($title = $articleToolbox.getTag(null,"Headline").data)
133#set($title = $htmlUtil.escape($!title))
134#set($title = $title.replaceAll("\n", ""))
135
136#set($html5Desc = {})
137#set($temp = $html5Desc.put("name","title"))
138#set($temp = $html5Desc.put("content",$title))
139$iterVelocityTools.addMetaTag($html5Desc)
140
141<div class="detail-top">
142
143
144 </div>
145 <h1 class="headline font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
146
147 </div>
148
149 ## SECC / FECHA
150 <div class="info"><span class="secc"> #printTopcontainer_v1("section" "")</span> / <span class="date">#printDateAgo($dateMask "Hace" "minuto" "hora")</span> </div>
151 <div class="image_main">
152 #getMultimediaMixed_v1("fullcontent", "crop_1152x648_detalle", "100%", "432", "100%")
153 </div>
154
155
156##PAYWALL HIT MAS
157 <script>
158 $(document).ready(function() {
159 var title = "$!escapeTool.html($!title)";
160 sendHitUser(title);
161 });
162 </script>
163
164##PAYWALL PRODUCT
165 #set($product = "")
166 #set($article_is_restricted = $articleToolbox.article_is_restricted())
167 #if ($article_is_restricted)
168 #foreach($products in $articleToolbox.getProductList())
169 #set($product = $products.get("name"))
170 #end
171 <div class="product" data="$product"></div>
172 #end
173##USUARIO ANONIMO
174 #if ($environment != 'PREVIEW')
175 #php_if("strlen(getenv('ITER_USER'))===0")
176 #if($product == "registrados")
177 <div class="paywall-msg mb-3" style="">
178 <div class="paywall-title">
179 <div class="msg font-2 fs14">Te quedan <span></span> artículos para leer en este mes. El registro es gratis.</div>
180 <div class="suscribe font-2 bold fs14" onclick="ITER.SUBSCRIPTION.SHOP.login()">Regístrate | Login</div>
181 </div>
182 </div>
183 #set($cons = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_CONSUMED')")
184 #set($total = "#echoCookieField('ITER-PAYWALL_PRODUCT_INFO-BHJ-ARTS_TOTAL')")
185 <script>
186 var cons = ${cons};
187 var total = ${total};
188 var disp = total-cons;
189 $(".paywall-title span").html(disp);
190 </script>
191 #end
192 #if($product == "exclusivos")
193 <div class="paywall-msg mb-3" style="">
194 <div class="paywall-title">
195 <div class="msg font-2 fs14">Para continuar leyendo nuestro contenido exclusivo por favor regístrate. Es gratis.</div>
196 <div class="suscribe font-2 bold fs14" onclick="ITER.SUBSCRIPTION.SHOP.login()">Regístrate | Login</div>
197 </div>
198 </div>
199 #end
200 #php_end
201 #end
202
203##FIN USUARIO ANONIMO
204
205
206
207 </div>
208</div>
209
210
211<div class="detail-standard">
212
213<div class="rrss d-desktop">
214 <div class="network-social">
215 <ul class="social-options">
216 <li class="face">
217 <a class="face1" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook">
218
219 <i class="fab fa-facebook-f"></i>
220 </a>
221 </li>
222 <li class="tweet" >
223 <a class="twitter1" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter">
224
225 <i class="fab fa-twitter"></i>
226 </a>
227 </li>
228
229 </ul>
230 </div>
231 </div>
232 </div>
233
234 <div class="block-title">
235
236
237#set ($tempSubheadline = "#getTeaserSubheadline(true)")
238 #if($tempSubheadline && $tempSubheadline != "")
239 <h2 class="subheadline" itemprop="alternativeHeadline">#getTeaserSubheadline_v1(false)</h2>
240 #end
241
242 <div class="author" itemscope="" itemprop="author" itemtype="http://schema.org/Person">
243 #if($hmAutores && $hmAutores.size() > 0)
244 #foreach ($elem in $hmAutores)
245 #set($articuloInstrumental = $aboutCategoryArticles.getArticle($elem.id))
246 #set($imgAuthor = $!articuloInstrumental.getImageTag("Image","0","crop_100_100","","","","","true","",""))
247 <div class="img_author">
248 #if($imgAuthor && $imgAuthor != "")
249 $!imgAuthor
250 #end
251 </div><div class="text_author">por <span class="name_author" itemprop="name"><a itemprop="url" href="/autor/-/meta/$elem.friendlyname">$elem.name</a></span></div>
252 #end
253 #end
254 </div>
255 <div class="inf2">
256 #printInfo_v1("date", " ", "dd MMMM yyyy")
257 </div>
258 </div>
259 <script>
260 var group_id = $request.theme-display.scope-group-id;
261 var id_art_infinity = $reserved-article-id.data;
262 #if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
263 var teaser_first = true;
264 var n_noticia = 1;
265 idart_view = $reserved-article-id.data;
266 #else
267 var teaser_first = false;
268 var n_noticia = n_noticia + 1;
269 #end
270 </script>
271
272
273
274 ##PAYWALL
275 #php_if("strlen(getenv('ITER_USER'))!==0")
276 <!--Usuario logueado-->
277 #php_else
278 <!--Usuario no logueado-->
279 #php_end
280
281 #set($productList = $articleToolbox.getProductList())
282 #set($producto = '')
283 #if ($productList && $productList.size() > 0)
284 #set($producto = $productList.get(0).namebase64)
285 #end
286 <!-- product:$producto -->
287 <!-- reserved-article-id.data:$reserved-article-id.data -->
288 #set($article_is_restricted = $articleToolbox.article_is_restricted())
289 #if ($article_is_restricted)
290 <!-- is_restricted = $article_is_restricted -->
291 <?php if (user_has_access_to_any_of_these_products( "$reserved-article-id.data", array("$producto"), "" )===true){ ?>
292 <!--Usuario CON acceso al contenido-->
293 ##TEXTO
294 <div class="text resizable">
295 #printHTMLContentArticle_v1($arrayListContenidos, "crop_full", "100%", "100%", "375", $addInParagraph)
296 </div>
297
298 ##IFRAME
299 ##<div class="iframe_box">
300 ## <iframe src="https://docs.google.com/forms/d/e/1FAIpQLSdDkRXeABeYG_ulTO2X1mNIL-1KdlISOS2yAx7ZRQh9V_epbA/viewform?embedded=true" width="100%" height="100%" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">Cargando…</iframe>
301 ##</div>
302
303 #if($Generic && $Generic.getSiblings().size()>0)
304 <ul class="generic">
305 #foreach ($el in $Generic.getSiblings())
306 <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
307 #end
308 </ul>
309 #end
310 <?php } else { ?>
311 <!--Usuario SIN acceso al contenido-->
312 #if ($environment != 'PREVIEW')
313 ##PAYWALL HIT MAS
314 #set($statuspaywall = "#echoCookieField('ITER_PAYWALL_STATUS')")
315 #if("$!statuspaywall" == "")
316 #set($statuspaywall = "0")
317 #end
318 <script>
319 var spw = $statuspaywall;
320 var title = "$!escapeTool.html($!title)";
321 sendHitEventMAS(spw,title);
322 </script>
323
324 <div class="restricted" style="min-height:200px;overflow:hidden;">
325 <div class="text resizable" itemprop="text" style="height:200px;">
326 <div class="paragraph texto">
327 #set($tc = $articleToolbox.getTag(null,"Text"))
328 #set ($arraText = [])
329 #recuperarParrafosTexto_v1($tc true true $arraText)
330 #set($textoRecortado = "")
331 #recortarTexto_v1($arraText 400 $textoRecortado)
332 </div>
333 </div>
334 <div class="velo_restricted" idusu="$idUser" is_restricted="$article_is_restricted"></div>
335 <div class="ayudamsg">
336 <div class="sus_user">
337 <div class="sus_user_text">
338 <div class="sus_user_text_thanks">
339 Regístrate <span class="gratis">GRATIS</span> para continuar leyendo
340 </div>
341 <div class="sus_user_text_session">
342 Gracias por leer Vanguardia MX
343 </div>
344 </div>
345 <div class="user_btns">
346 <a href="https://vanguardia.com.mx/account?page=https%3A%2F%2Fsuscripciones.vanguardia.com.mx%2Findex.php%3Fcontroller%3Dauthentication%26create_account%3D1&redirect="><div class="button reg">Regístrate</div></a>
347 <div class="button login" onclick="ITER.SUBSCRIPTION.SHOP.login()">Iniciar Sesión </div></div>
348
349 <div class="sus_user_text_session"><b><br>¿Tienes problemas para registrarte?<br>Aquí te ayudamos<br/></b>
350 <span align="center" class="textowhatsapp"><a href="https://api.whatsapp.com/send?phone=528443800838" target="_blank">#set($logow = $iterVelocityTools.getVariable("0","whatsapp_logo")) <img src="$logow" width="200" height="71" alt="Ayuda whatsapp"/></a></span>
351 <span align="center" class="textoaviso"><a href="https://vanguardia.com.mx/aviso-de-privacidad" target="_blank">Aviso de Privacidad</a></span>
352 </div>
353 </div>
354 ##<a href="https://vanguardia.com.mx/account?page=login&redirect=${hostName}$articleToolbox.getArticleViewer('canonical')"><div class="button login">INICIAR SESIÓN</div></a>
355 </div>
356 </div>
357 </div>
358 #end
359 <?php } ?>
360 #else
361 <!-- TEXTO LIBRE -->
362 ##TEXTO
363 <div class="text resizable" itemprop="text">
364 #printHTMLContentArticle_v1($arrayListContenidos, "crop_full", "100%", "100%", "375", $addInParagraph)
365 </div>
366
367
368 ##GENERICO
369 #if($Generic && $Generic.getSiblings().size()>0)
370 <ul class="generic">
371 #foreach ($el in $Generic.getSiblings())
372 <li><span class="icon"></span><a href="$!el.Document.data" >$!el.data ($el.Extension.data)</a></li>
373 #end
374 </ul>
375 #end
376 #end
377
378## FIN PAYWALL
379
380## TAGS
381 <div class="temas1">
382 <div class="temas d-desktop" temas="$hmTemas.size()">
383 #if($hmTemas && $hmTemas.size() > 0)
384 #foreach ($elem in $hmTemas)
385 <div class="item_tema t_$hmTemas.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
386 #end
387 #end
388 #if($hmGeografico && $hmGeografico.size() > 0)
389 #foreach ($elem in $hmGeografico)
390 <div class="item_tema t_$hmGeografico.size() keywords" itemprop="keywords"><a href="/topic/-/meta/$elem.friendlyname">$elem.name</a></div>
391 #end
392 #end
393 </div>
394 </div>
395
396
397 ##FACEBOOK
398
399 <div class="fb-comments">
400
401 #set($urlfb = $canonicalUrl)
402 #foreach ($element in $urlfb.split("-"))
403 #set($urlid = $element)
404 #end
405 #set($urlfb = "FB-" + $urlid)
406##openweb
407
408
409 ##cierra openweb
410 <div data-spotim-app="reactions" data-spot-id="sp_wVRiLLf2" data-post-id="$urlfb" data-theme="Círculo de Oro 2" ></div>
411<script
412 async
413 src="https://launcher.spot.im/spot/sp_wVRiLLf2"
414 data-spotim-module="spotim-launcher"
415 data-post-url="https://vanguardia.com.mx/$urlfb"
416 data-article-tags="NFL, FOOTBALL"
417 data-post-id="$urlfb">
418 </script>
419
420
421
422</div> Selección de los editores