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_OPINION[line 122, column 20]
1##----D_TIT_INF2_MULT----
 
2
 
3<script type="text/javascript" src="https://s7.addthis.com/downloads/ajax_help.min.js" async="async"></script>
 
4<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-60d3045e05ce9ec5" async="async"></script>
 
5
 
6#set($sort = "createdate")
 
7#set($criteria= "desc")
 
8#set($art_next = $articleToolbox.getSiblingArticle($sort, $criteria, "next"))
 
9#set($sectionID = "#printAssignedSectionID_v1")
 
10#set($templateId = $iterVelocityTools.getVelocityVariable("template_id")) 
 
11## CONTENIDOS
 
12#set($canonicalUrl = $articleToolbox.getArticleViewer('canonical'))
 
13#set($title = $!articleToolbox.getTag(null,'Headline').data)
 
14#set($hostName = "#siteUrl()")
 
15##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
16
 
17#set ($arrayListContenidos = [])
 
18
 
19#set ($element = {})
 
20#set ($temp = $element.put("name","Text"))
 
21#set ($temp = $element.put("type","paragraph"))
 
22#set ($temp = $element.put("cssclass","texto"))
 
23#set ($temp = $element.put("tag","div"))
 
24#set ($temp = $arrayListContenidos.add($element))
 
25
 
26#set ($element = {})
 
27#set ($temp = $element.put("name","linkTitle_Text"))
 
28#set ($temp = $element.put("type","text"))
 
29#set ($temp = $element.put("cssclass","link_tpi"))
 
30#set ($temp = $element.put("tag","div"))
 
31#set ($temp = $arrayListContenidos.add($element))
 
32
 
33#set ($element = {})
 
34#set ($temp = $element.put("name","Titulo_News"))
 
35#set ($temp = $element.put("type","text"))
 
36#set ($temp = $element.put("cssclass","titulo_news"))
 
37#set ($temp = $element.put("tag","div"))
 
38#set ($temp = $arrayListContenidos.add($element))
 
39
 
40#set ($element = {})
 
41#set ($temp = $element.put("name","Resumen_News"))
 
42#set ($temp = $element.put("type","text"))
 
43#set ($temp = $element.put("cssclass","resumen_news"))
 
44#set ($temp = $element.put("tag","div"))
 
45#set ($temp = $arrayListContenidos.add($element))
 
46
 
47#set($sectionID = "#printAssignedSectionID_v1")
 
48#set ($AuthorNoFoto = $!iterVelocityTools.getVariable($sectionID , "authorNoFoto"))
 
49
 
50#set($section = "#printAssignedSection_v1")
 
51
 
52#set($section = "#printAssignedSection_v1")
 
53
 
54##----json----
 
55#set($pub_imagen = $articleToolbox.getImageURL("Image","0","crop_1200x801"))
 
56#set($videoyoutube = $articleToolbox.getTag(null,"HTML_Text").data)
 
57
 
58#set($dateF = "#printDateCreate('yyyy-MM-dd' 'false' '')")
 
59#set($dateF = $dateF.trim())
 
60#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
 
61#set($dateM = $dateM.trim())
 
62#set($dateF = $dateF + "T" + $dateM +"-0600")
 
63
 
64
 
65#set($dateF1 = "#printDateModif('yyyy-MM-dd' 'false' '')")
 
66#set($dateF1 = $dateF1.trim())
 
67#set($dateH = "#printDateModif('HH:mm:ss' 'false' '')")
 
68#set($dateH = $dateH.trim())
 
69#set($dateFb = $dateF1 + "T" + $dateH +"-0600")
 
70
 
71##METAS TWITTER
 
72
 
73#set($metaTW = {})
 
74#set($temp = $metaTW.put("property","twitter:card"))
 
75#set($temp = $metaTW.put("content", "summary_large_image"))
 
76$iterVelocityTools.addMetaTag( $metaTW )
 
77
 
78#set($metaTW = {})
 
79#set($temp = $metaTW.put("property","twitter:site"))
 
80#set($temp = $metaTW.put("content", "vanguardiamx"))
 
81$iterVelocityTools.addMetaTag( $metaTW )
 
82
 
83#set($metaTW = {})
 
84#set($temp = $metaTW.put("property","twitter:title"))
 
85#set($temp = $metaTW.put("content", "$!TituloEsc"))
 
86$iterVelocityTools.addMetaTag( $metaTW )
 
87
 
88#set($metaTW = {})
 
89#set($temp = $metaTW.put("property","twitter:description"))
 
90#set($temp = $metaTW.put("content", "$TextoEsc"))
 
91$iterVelocityTools.addMetaTag( $metaTW )
 
92
 
93#if($pub_imagen != "")
 
94	#set($metaTW = {})
 
95	#set($temp = $metaTW.put("property","twitter:image"))
 
96	#set($temp = $metaTW.put("content", "$pub_imagen"))
 
97	$iterVelocityTools.addMetaTag( $metaTW )
 
98#end
 
99
 
100#set($metaTW = {})
 
101#set($temp = $metaTW.put("property","twitter:url"))
 
102#set($temp = $metaTW.put("content", "https://twitter.com/vanguardiamx"))
 
103$iterVelocityTools.addMetaTag( $metaTW )
 
104
 
105#set($metaTW = {})
 
106#set($temp = $metaTW.put("property","twitter:domain"))
 
107#set($temp = $metaTW.put("content", "https://vanguardia.com.mx"))
 
108$iterVelocityTools.addMetaTag( $metaTW )
 
109
 
110#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
111#set($xml-url = $ac-url.get(0).text)
 
112#set($url_actual = $!xml-url )
 
113##----json----
 
114
 
115##Add meta title
 
116#set($title = $htmlUtil.escape($!title))
 
117#set($title = $title.replaceAll("\n", ""))
 
118
 
119#set($html5Desc = {})
 
120#set($temp = $html5Desc.put("name","title"))
 
121#set($temp = $html5Desc.put("content",$title))
 
122$iterVelocityTools.addMetaTag($html5Desc)
 
123
 
124<div class="D_TIT_INF2_MULT 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">
 
125	<h1 class="headline artit font-1 medium bold" itemprop="headline" canonicalUrl="$articleToolbox.getArticleViewer('canonical')" idart="$reserved-article-id.data">#getTitle_v1</h1>
 
126<div class="container">
 
127##publicidad video
 
128
 
129##publicidad video
 
130
 
131<script type="application/ld+json">
 
132    {
 
133    "@context": "http://schema.org",
 
134    "@type": "ImageObject",
 
135    "url": "$pub_imagen",
 
136    "width": 1200,
 
137    "height": 597}
 
138</script>
 
139
 
140<span hidden class="secc"> #printTopcontainer_v1("section" "")</span>
 
141
 
142
 
143	    <time hidden itemprop="datePublished" datetime="$dateF"></time>
 
144	    <time hidden itemprop="dateModified" datetime="$dateFb"></time>
 
145	    <time hidden itemprop="dateCreated" datetime="$dateF"></time>
 
146            <meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
147	    <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
148		<meta itemprop="url" content="https://vanguardia.com.mx/" />
 
149		<meta itemprop="name" content="Vanguardia" />
 
150		<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
151			<meta itemprop="url" content="https://vanguardia.com.mx/base-portlet/webrsrc/ctxvar/9d387887-99eb-4c1e-bb4a-7cbec97451dd.png" />
 
152			<meta itemprop="width" content="600" />
 
153			<meta itemprop="height" content="60" />
 
154		</div>
 
155	     </div>
 
156
 
157
 
158<style>
 
159.D_TIT_INF2_MULT .headline {
 
160    float: left;
 
161    width: 100%;
 
162    text-align: center;
 
163    margin: 2rem 0;
 
164    font-size: 3.25rem;
 
165    font-family: "PT Serif",Georgia,serif;
 
166    font-weight: 400;
 
167    line-height: 110%;
 
168    font-size: 3.125rem;
 
169}
 
170
 
171</style>
 
172		<script>
 
173			var group_id = $request.theme-display.scope-group-id;
 
174			var id_art_infinity = $reserved-article-id.data;
 
175			#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
176				var teaser_first = true;
 
177				var n_noticia = 1;
 
178				idart_view = $reserved-article-id.data;
 
179			#else
 
180				var teaser_first = false;
 
181				var n_noticia = n_noticia + 1;
 
182			#end
 
183		</script>
 
184	
 
185
 
186	        ##AUTOR
 
187	        <div class="inf2_author">
 
188		        #set($hmAutores = {})
 
189		        #getAcAssignedCatExtended_v1($hmAutores "Author")
 
190		        #if($hmAutores.size() > 0)
 
191		            <div class="author" itemprop="author">
 
192		                #set($hmAutor = $hmAutores.get(0))
 
193		                <li class="byline">
 
194		                    <span>por</span><a itemprop="url" href="/autor/-/meta/${hmAutor.friendlyname}"><span itemprop="name">$hmAutor.name</span></a>
 
195		                </li>
 
196		            </div>
 
197		        #end
 
198	        </div>
 
199	        ##DATE
 
200	        <div class="date">
 
201			<a href="/opinion/cartones">CARTONES / </a>
 
202			#printDateFrom_v1("EEEE, MMMM dd, yyyy - hh:mm")
 
203			##INF2-RRSS 	
 
204			
 
205		</div>
 
206
 
207		##MULTIMEDIA IMG
 
208		<div class="row">
 
209		<div class="multimedia" itemprop="image">
 
210			#getMultimediaMixed_v1("" "crop_780xfree" "100%" "450" "100%")
 
211		</div> <!-- multimedia -->
 
212                						
 
213							##TEXTO
 
214							<div class="text resizable">
 
215								#printHTMLContentArticle_v1($arrayListContenidos, "crop_1152x648", "100%", "100%", "375", $addInParagraph)
 
216								
 
217								
 
218								
 
219		</div>
 
220		
 
221
 
222		<div class="rrss">
 
223			<div class="network-social"> 
 
224				<ul class="social-options"> 
 
225					<li> 
 
226						<a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Facebook"> 
 
227							<div class="fab facebook"></div>
 
228							<b>Facebook</b> 
 
229						</a> 
 
230					</li> 
 
231					<li> 
 
232						<a class="twitter" href="https://twitter.com/intent/tweet?text=$!escapeTool.html($!title)&amp;url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Twitter"> 
 
233							<div class="fab twitter"></div>
 
234							<b>Twitter</b> 
 
235						</a> 
 
236					</li>  
 
237					<li> 
 
238						<a class="whatsapp" href="https://api.whatsapp.com/send?text=$!escapeTool.html($!title) - ${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Whatsapp"> 
 
239							<div class="fab whatsapp"></div>
 
240							<b>Whatsapp</b> 
 
241						</a> 
 
242					</li>
 
243                                        <li> 
 
244						<a class="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=${hostName}$articleToolbox.getArticleViewer('canonical')" target="_blank" title="Compartir en Linkedin"> 
 
245							<div class="fab linkedin"></div>
 
246                                                        <b>Linkedin</b> 
 
247						</a> 
 
248					</li> 
 
249				</ul> 
 
250			</div>							                            
 
251		</div>
 
252
 
253
 
254		#if($iterVelocityTools.getVelocityVariable("teaseritemposition") == 1)
 
255		
 
256		#end
 
257	</div>
 
258	<div class="end-detail"></div>
 
259 
 
260##openweb
 
261
 
262
 
263
 
264<div class="cl"></div>
 
265<!-- apagar o encender scroll infinito -->
 
266<div class="content-infinity-off">
 
267<!-- apagar o encender scroll infinito -->
 
268</div>
 
269
 
270##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
271##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
272#if($iterVelocityTools.getVelocityVariable("teaseritemposition") != 1)
 
273	#set($TituloEsc = $htmlUtil.escape($!Headline.data))
 
274	#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
275	#set ($tempSubheadline = "#getTeaserSubheadline(false)")
 
276	#set($logo = "$iterVelocityTools.getVariable('0','logo_datos')" )
 
277	#set($logo = $logo.trim() )
 
278	#set($logo = $htmlUtil.escape($logo))
 
279	#set($logo = $logo.replaceAll("/","\/") )
 
280	#set($section = "")
 
281	#set($section_url = "")
 
282	#set($ac-sectionDateFrom =  $articleContext.selectNodes('articlectx/sections//section[@from]'))
 
283	#if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
 
284		#foreach ($atrib in $ac-sectionDateFrom.get(0).attributes()  )
 
285			#if($atrib.name == "name")
 
286				#set($section = $!atrib.data)
 
287			#end
 
288			#if($atrib.name == "url")
 
289				#set($section_url = $!atrib.data)
 
290			#end
 
291			
 
292		#end
 
293	#end
 
294	## ***************AUTOR ********************
 
295	#set($autorfinal = "")
 
296	#set($urlautorfinal = "")
 
297	#if($hmAutores.size() > 0)
 
298		#set($hmAutor = $hmAutores.get(0))
 
299		#set($autorfinal = $hmAutor.name)
 
300		#set($autorfinalEsc = $htmlUtil.escape($autorfinal))
 
301		#set($urlautorfinal = "#metadataUrl_v1('autor')${hmAutor.friendlyname}")
 
302	#end
 
303	#if($autorfinal == "")
 
304		#set($autorfinal = "Vanguardia")
 
305	#end
 
306	#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
307	#set($xml-url = $ac-url.get(0).text)
 
308	#set($url_actual = $!xml-url )
 
309
 
310	#set($dateF = "#printDateFrom('yyyy-M-d H:m:s' false '')")
 
311	#set($dateF = $dateF.trim())
 
312	<script type="application/ld+json">
 
313	{
 
314	  "@context": "http://schema.org",
 
315	  "@type": "NewsArticle",
 
316	  "mainEntityOfPage": {
 
317		"@type": "WebPage",
 
318		"@id": "#organization"
 
319	  },
 
320	  "headline": "$TituloEsc",
 
321	  #if($ogimage != "")
 
322		"image": {
 
323		  "@type": "ImageObject",
 
324		  "url": "$ogimage",
 
325		  "width": 1200,
 
326		  "height": 597
 
327		},
 
328	  #end
 
329	  "datePublished": "$dateF",
 
330	  "dateModified": "$dateF",
 
331	  "author": {
 
332		"@type": "Person",
 
333		"name": "$autorfinalEsc",
 
334		"url": "https://vanguardia.com.mx$!{urlautorfinal}"
 
335	  },
 
336	   "publisher": {
 
337		"@type": "Organization",
 
338		"name": "Grupo Editorial Coahuila, S.A. de C.V.",
 
339		"logo": {
 
340		  "@type": "ImageObject",
 
341		  "url": "$logo"
 
342		}
 
343	  },
 
344	  #if($fullaccess == "false")
 
345		"isAccessibleForFree": "False",
 
346		"hasPart":{
 
347		"@type": "WebPageElement",
 
348		"isAccessibleForFree": "False",
 
349		"cssSelector" : ".restricted"
 
350	  },
 
351	  #end
 
352	}
 
353	</script>
 
354	<!-- ITEMS EN PAGINA  fullaccess: $fullaccess -->
 
355	<meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
356	<meta itemprop="datePublished" content="$dateF">
 
357	<meta itemprop="dateModified" content="$dateF">
 
358	<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
359		<meta itemprop="url" content="https://vanguardia.com.mx/" />
 
360		<meta itemprop="name" content="Vanguardia" />
 
361		<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
362			<meta itemprop="url" content="$iterVelocityTools.getVariable('0','logo_datos')" />
 
363			<meta itemprop="width" content="300" />
 
364			<meta itemprop="height" content="43" />
 
365		</div>
 
366	</div>
 
367#end
 
368##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
369##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
NUESTRO CONTENIDO PREMIUM