Se ha producido un error al procesar la plantilla.
Invocation of method 'getImageProperties' in  class com.liferay.portal.util.IterTemplateContent threw exception XYZ_E_INVALIDARG_ZYX at 56065/F/METRICAS_DETALLE[line 142, column 41]
1##----Metricas Detalle-----
 
2
 
3## *************** TITULO ********************
 
4#set($TituloEsc = $!articleToolbox.getTag(null,"Headline").data)
 
5#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
6#set($TituloEsc = $TituloEsc.replaceAll('"', "'"))
 
7
 
8## *************** ENTRADILLA|DESCRIPCIÓN ********************
 
9#set($DescTexto = $!articleToolbox.getTag(null,"Lead").data)
 
10#set($DescTexto = $DescTexto.trim() )
 
11#set($DescTexto = $htmlUtil.stripHtml($DescTexto))
 
12#set($DescTexto = $htmlUtil.escape($DescTexto))
 
13#set($DescTexto = $DescTexto.replaceAll('"', "'"))
 
14
 
15## *************** LOGO ********************
 
16#set($logo = "$iterVelocityTools.getVariable('0','logo')" )
 
17#set($logo = $logo.trim() )
 
18#set($logo = $htmlUtil.escape($logo))
 
19#set($logo = $logo.replaceAll("/","\/") )
 
20
 
21## *************** SECCION ********************
 
22#set($section = "")
 
23#set($section_url = "")
 
24#set($ac-sectionDateFrom =  $articleContext.selectNodes('articlectx/sections//section[@from]'))
 
25#if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
 
26	#foreach ($atrib in $ac-sectionDateFrom.get(0).attributes()  )
 
27		#if($atrib.name == "name")
 
28			#set($section = $!atrib.data)
 
29		#end
 
30		#if($atrib.name == "url")
 
31			#set($section_url = $!atrib.data)
 
32		#end
 
33		
 
34	#end
 
35#end
 
36
 
37## *************** AUTOR ********************
 
38#set($hmAutores = {})
 
39#getAcAssignedCatExtended_v1($hmAutores "Author")
 
40#set($autorfinal = "")
 
41#set($urlautorfinal = "")
 
42#if($hmAutores.size() > 0)
 
43	#set($hmAutor = $hmAutores.get(0))
 
44	#set($autorfinal = $hmAutor.name)
 
45	#set($urlautorfinal = "#metadataUrl_v1('cronologia')${hmAutor.friendlyname}")
 
46#else
 
47	#set($autorfinal = "El Heraldo.hn")
 
48	#set($urlautorfinal = "https://www.elheraldo.hn")
 
49#end
 
50
 
51## *************** CREADOR ********************
 
52#set($hmCreadores = {})
 
53#getAcAssignedCatExtended_v1($hmCreadores "Author_Real")
 
54#set($creadorFinal = "")
 
55#if($hmCreadores.size() > 0)
 
56	#set($hmCreador = $hmCreadores.get(0))
 
57	#set($creadorFinal = $hmCreador.name)
 
58#else
 
59	#set($creadorFinal = $autorfinal)
 
60#end
 
61
 
62
 
63###************** METADATOS  TEMAS*******************
 
64#set($keywordsfinal = "")
 
65#set($auxCatalagoTema = {})
 
66#getAcAssignedCatExtended_v1($auxCatalagoTema "Topic")
 
67#if($auxCatalagoTema.size() > 0)
 
68	#foreach($keyword in $auxCatalagoTema)
 
69		#if($keywordsfinal == "")
 
70			#set($keywordsfinal = '"' + $keyword.name + '"')
 
71		#else
 
72			#set($keywordsfinal = $keywordsfinal + ',"' +$keyword.name + '"')
 
73		#end
 
74	#end
 
75#end
 
76
 
77###************** METADATOS  LUGARES*******************
 
78#set($auxCatalagoLocation = {})
 
79#getAcAssignedCatExtended_v1($auxCatalagoLocation "Location")
 
80#if($auxCatalagoLocation.size() > 0)
 
81	#foreach($keyword in $auxCatalagoLocation)
 
82		#if($keywordsfinal == "")
 
83			#set($keywordsfinal = '"'+$keyword.name+'"')
 
84		#else
 
85			#set($keywordsfinal = $keywordsfinal + ", "+'"' +$keyword.name+'"')
 
86		#end
 
87	#end
 
88#end
 
89
 
90###************** METADATOS  PERSONAS*******************
 
91#set($auxCatalagoPeople = {})
 
92#getAcAssignedCatExtended_v1($auxCatalagoPeople "People")
 
93#if($auxCatalagoPeople.size() > 0)
 
94	#foreach($keyword in $auxCatalagoPeople)
 
95		#if($keywordsfinal == "")
 
96			#set($keywordsfinal = '"'+$keyword.name+'"')
 
97		#else
 
98			#set($keywordsfinal = $keywordsfinal + ", "+'"' +$keyword.name+'"')
 
99		#end
 
100	#end
 
101#end
 
102
 
103###************** METADATOS  EQUIPOS*******************
 
104#set($auxCatalagoTeams = {})
 
105#getAcAssignedCatExtended_v1($auxCatalagoOrganizations "Teams")
 
106#if($auxCatalagoTeams.size() > 0)
 
107	#foreach($keyword in $auxCatalagoTeams)
 
108		#if($keywordsfinal == "")
 
109			#set($keywordsfinal = '"'+$keyword.name+'"')
 
110		#else
 
111			#set($keywordsfinal = $keywordsfinal + ", "+'"' +$keyword.name+'"')
 
112		#end
 
113	#end
 
114#end
 
115
 
116###************** METADATOS  INSTITUCIONES*******************
 
117##set($auxCatalagoInstitutions = {})
 
118##getAcAssignedCatExtended_v1($auxCatalagoOrganizations "Institutions")
 
119##if($auxCatalagoInstitutions.size() > 0)
 
120	##foreach($keyword in $auxCatalagoInstitutions)
 
121		##if($keywordsfinal == "")
 
122			##set($keywordsfinal = '"'+$keyword.name+'"')
 
123		##else
 
124			##set($keywordsfinal = $keywordsfinal + ", "+'"' +$keyword.name+'"')
 
125		##end
 
126	##end
 
127##end
 
128##************************************************************************
 
129
 
130###************** FECHA *******************
 
131#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
132#set($xml-url = $ac-url.get(0).text)
 
133#set($url_actual = $!xml-url )
 
134#set($dateF = "#printDateFrom_v1('yyyy-MM-dd' 'false' 'false')")
 
135#set($dateF = $dateF.trim())
 
136#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
 
137#set($dateM = $dateM.trim())
 
138#set($dateF = $dateF + "T" + $dateM)
 
139
 
140###************** IMAGEN *******************
 
141#set ($pub_imagen = $articleToolbox.getImageURL("Image","0","crop_1200x900"))
 
142#set ($pub_imagen_dim = $articleToolbox.getImageProperties( "$pub_imagen" ))
 
143#set ($thumb_imagen = $articleToolbox.getImageURL("Image","0","crop_51_100"))
 
144
 
145###************** CUERPO DE NOTA *******************
 
146#set($TextoTotalEsc = $!articleToolbox.getTag(null,"Text").data)
 
147#set($TextoTotalEsc = $TextoTotalEsc.replaceAll("<p>", ""))
 
148#set($TextoTotalEsc = $TextoTotalEsc.replaceAll("</p>", ""))
 
149#set($TextoTotalEsc = $htmlUtil.escape($TextoTotalEsc))
 
150
 
151#if(!$DescTexto || $!DescTexto == "")
 
152   #set($DescTexto = $TituloEsc)
 
153#end
 
154	
 
155#if($Jwplayer && $Jwplayer.data != "" || $Jwplayer_Text && $Jwplayer_Text.data != "")
 
156	#set ($videoExt = '.mp4')
 
157#if($Jwplayer && $Jwplayer.data != "")
 
158		#set ($videoID=$!Jwplayer.data)
 
159		#set ($videoID=$videoID.replaceAll('"',''))
 
160	#set ($urlImg = "https://cdn.jwplayer.com/v2/media/$!videoID/poster.jpg?width=320")
 
161	#set ($urlVideo = "https://content.jwplatform.com/videos/$!videoID")
 
162#else
 
163	#set ($videoID=$!Jwplayer_Text.data)
 
164		#set ($videoID=$videoID.replaceAll('"',''))
 
165	#set ($urlImg = "https://cdn.jwplayer.com/v2/media/$videoID/poster.jpg?width=320")
 
166	#set ($urlVideo = "https://content.jwplatform.com/videos/$videoID")
 
167#end
 
168
 
169
 
170<script type="application/ld+json">
 
171	{
 
172		"@context": "https://schema.org",
 
173		"@type": "VideoObject",
 
174		"mainEntityOfPage": "#siteUrl()$url_actual",
 
175		"name": "$TituloEsc",
 
176		"@id": "#siteUrl()$url_actual",
 
177		"url": "#siteUrl()$url_actual",
 
178		"embedUrl": "$urlVideo$videoExt",
 
179		"encodingFormat": "video/mp4",
 
180		"datePublished": "$dateF",
 
181		"dateCreated": "$dateF",
 
182		"description": "$DescTexto",
 
183		"thumbnailUrl": "$urlImg",
 
184		"thumbnail" : "$urlImg",
 
185		"uploadDate": "$dateF",
 
186		"author": "$autorfinal",
 
187		"headline": "$TituloEsc",
 
188		"creator": ["$creadorFinal"],
 
189		"keywords": [$keywordsfinal],
 
190		"image": {
 
191			"@type": "ImageObject",
 
192				"url": "$pub_imagen",
 
193				"width": $pub_imagen_dim.width,
 
194			"height": $pub_imagen_dim.height
 
195		},
 
196		"publisher": {
 
197			"@type": "Organization",
 
198			"name": "El Heraldo",
 
199			"logo": {
 
200				"@type": "ImageObject",
 
201				"url": "$iterVelocityTools.getVariable('0','logo')"
 
202			}
 
203		},
 
204		"sameAs" : [
 
205			"https://www.facebook.com/diarioelheraldo/",
 
206			"https://twitter.com/diarioelheraldo/",
 
207			"https://instagram.com/diarioelheraldo/"
 
208		]
 
209	}
 
210</script>
 
211<script type="application/ld+json">
 
212	{
 
213		"@context": "https://schema.org",
 
214		"@type": "NewsArticle",
 
215		"mainEntityOfPage": "#siteUrl()$!articleToolbox.getArticleViewer("canonical")",
 
216		"name": "$TituloEsc",
 
217		"headline": "$TituloEsc",
 
218		"description": "$!DescTexto",
 
219		"url": "#siteUrl()$url_actual",
 
220		"thumbnailUrl": "$urlImg",
 
221		"datePublished": "$dateF",
 
222		"dateCreated": "$dateF",
 
223		"dateModified": "$dateF",
 
224		"articleSection": "$section",
 
225		"creator": ["$creadorFinal"],
 
226		"keywords": [$keywordsfinal],
 
227		"author": [{
 
228			"@type": "Person",
 
229			"name": "$autorfinal",
 
230			"url": "$urlautorfinal"
 
231		}],
 
232		"image": {
 
233		  "@type": "ImageObject",
 
234		  "url": "$pub_imagen",
 
235		  "width": 1200,
 
236		  "height": 900
 
237		},
 
238		"publisher": {
 
239		  "@type": "Organization",
 
240		  "name": "El Heraldo",
 
241		  "logo": {
 
242			"@type": "ImageObject",
 
243			"url": "$iterVelocityTools.getVariable('0','logo')"
 
244		  }
 
245		},
 
246		"sameAs" : [
 
247			"https://www.facebook.com/diarioelheraldo/",
 
248			"https://twitter.com/diarioelheraldo/",
 
249			"https://instagram.com/diarioelheraldo/"
 
250		],
 
251		"articleBody": "$!TextoTotalEsc"
 
252	}
 
253</script>
 
254
 
255#else
 
256
 
257<script type="application/ld+json">
 
258	{
 
259		"@context": "https://schema.org",
 
260		"@type": "NewsArticle",
 
261		"mainEntityOfPage": "#siteUrl()$!articleToolbox.getArticleViewer("canonical")",
 
262		"name": "$TituloEsc",
 
263		"headline": "$TituloEsc",
 
264		"description": "$!DescTexto",
 
265		"url": "#siteUrl()$url_actual",
 
266		"thumbnailUrl": "$thumb_imagen",
 
267		"datePublished": "$dateF",
 
268		"dateCreated": "$dateF",
 
269		"dateModified": "$dateF",
 
270		"articleSection": "$section",
 
271		"creator": ["$creadorFinal"],
 
272		"keywords": [$keywordsfinal],
 
273		"author": [{
 
274			"@type": "Person",
 
275			"name": "$autorfinal",
 
276			"url": "$urlautorfinal"
 
277		}],
 
278		"image": {
 
279		  "@type": "ImageObject",
 
280		  "url": "$pub_imagen",
 
281		  "width": 1200,
 
282		  "height": 900
 
283		},
 
284		"publisher": {
 
285		  "@type": "Organization",
 
286		  "name": "El Heraldo",
 
287		  "logo": {
 
288			"@type": "ImageObject",
 
289			"url": "$iterVelocityTools.getVariable('0','logo')"
 
290		  }
 
291		},
 
292		"sameAs" : [
 
293			"https://www.facebook.com/diarioelheraldo/",
 
294			"https://twitter.com/diarioelheraldo/",
 
295			"https://instagram.com/diarioelheraldo/"
 
296		],
 
297		"articleBody": "$!TextoTotalEsc"
 
298	}
 
299</script>
 
300#end
 
301<meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="#siteUrl()$url_actual" />
 
302<meta itemprop="datePublished" content="$dateF">
 
303<meta itemprop="dateModified" content="$dateF">
 
304<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
305	<meta itemprop="url" content="https://www.elheraldo.hn/" />
 
306	<meta itemprop="name" content="El Heraldo" />
 
307	<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
308		<meta itemprop="url" content="$iterVelocityTools.getVariable('0','logo')" />
 
309		<meta itemprop="width" content="300" />
 
310		<meta itemprop="height" content="43" />
 
311	</div>
 
312</div>
 
313
 
314##Permutive
 
315#set($sectionname = $iterVelocityTools.getVariable("0", "SectionName"))
 
316#set($separator = ",")
 
317#set($keywords = "")
 
318#if ($auxCatalagoTema) 
 
319	#foreach($hmtopic in $auxCatalagoTema)
 
320		#set($keywords = $keywords+'"'+$hmtopic.name+'"')
 
321		  #if($velocityHasNext)
 
322		  #set($keywords = $keywords+$separator) 
 
323		  #end 
 
324	#end
 
325#end
 
326#set($authors ="")
 
327#if ($hmAutores)
 
328	#foreach($hmAutor in $hmAutores)
 
329		#set($authors = $authors+'"'+$hmAutor.name+'"')
 
330		  #if($velocityHasNext)
 
331		  #set($authors = $authors+$separator) 
 
332		  #end 
 
333	#end
 
334#end
 
335
 
336
 
337#set($metaTwitter = {})
 
338#set($temp = $metaTwitter.put("name","twitter:card"))
 
339#set($temp = $metaTwitter.put("content","summary_large_image"))
 
340$!iterVelocityTools.addMetaTag($metaTwitter)
 
341
 
342#set($metaTwitter = {})
 
343#set($temp = $metaTwitter.put("name","twitter:site"))
 
344#set($temp = $metaTwitter.put("content","@diarioelheraldo"))
 
345$!iterVelocityTools.addMetaTag($metaTwitter)
 
346
 
347#set($metaTwitter = {})
 
348#set($temp = $metaTwitter.put("name","twitter:title"))
 
349#set($temp = $metaTwitter.put("content","$!TituloEsc"))
 
350$!iterVelocityTools.addMetaTag($metaTwitter)
 
351
 
352#set($metaTwitter = {})
 
353#set($temp = $metaTwitter.put("name","twitter:description"))
 
354#set($temp = $metaTwitter.put("content","$!DescTexto"))
 
355$!iterVelocityTools.addMetaTag($metaTwitter)
 
356
 
357#set($metaTwitter = {})
 
358#set($temp = $metaTwitter.put("name","twitter:image"))
 
359#set($temp = $metaTwitter.put("content","$pub_imagen"))
 
360$!iterVelocityTools.addMetaTag($metaTwitter)
 
361
 
362#set($metaTwitter = {})
 
363#set($temp = $metaTwitter.put("name","twitter:url"))
 
364#set($temp = $metaTwitter.put("content","#siteUrl()$url_actual"))
 
365$!iterVelocityTools.addMetaTag($metaTwitter)
 
366
 
367#set($ArticleID = $reserved-article-id.data)
 
368#set($Hierarchy = "")
 
369
 
370#set($ac-Hierarchy =  $articleContext.selectNodes('articlectx/sections//section[@url]'))
 
371#if($ac-Hierarchy && $ac-Hierarchy.size() > 0)
 
372	#foreach ($attrib in $ac-Hierarchy.get(0).attributes()  )
 
373		#if($attrib.name == "url")
 
374			#set($Hierarchy = $!attrib.data)
 
375		#end
 
376	#end
 
377#end
 
378
 
379
 
380#set( $fechaPublicacion = $reserved-article-create-timespan-utc.data )
 
381#set( $fechaPublicacion = $numberTool.toNumber($fechaPublicacion).intValue() )
 
382#set( $fechaPublicacion = ($fechaPublicacion * 1000))
 
383#set( $fechaPublicacion = $dateTool.format( "yyyy-MM-dd'T'HH:mm:ssZ", $fechaPublicacion ) )
 
384#set($dim3 = "Estandar")
 
385#set($dim5 = "0")
 
386#set($dim6 = "Estandar")
 
387#if($Youtube && $Youtube.data != "" || $Youtube_Text && $Youtube_Text.data != "" || $Jwplayer && $Jwplayer.data != "" || $Jwplayer_Text && $Jwplayer_Text.data != "" || $Multimedia && $Multimedia.data != "" || $Multimedia_Text && $Multimedia_Text.data != "")
 
388	#set($dim3 = "Nota-Video")
 
389#end
 
390#set($ac_section =  $articleContext.selectNodes('articlectx/sections//section'))
 
391
 
392
 
393#if($ac_section.size() > 0)
 
394	#foreach ($secc in $ac_section  )
 
395		#foreach ($atrib in $secc.attributes())	  
 
396			#if($atrib.name == "name")
 
397				#if($!atrib.data == "Videos")
 
398					#set($dim3 = "Video")
 
399				#end
 
400				#if($!atrib.data == "Fotogalerías")
 
401					#set($dim3 = "Fotogaleria")
 
402				#end
 
403			#end
 
404		#end 
 
405	#end
 
406#end
 
407
 
408
 
409#set ($Premium = false)
 
410#set ($datawall  = false)
 
411#set($hmAClassification = {})
 
412#getAcAssignedCatExtended_v1($hmAClassification "Advertising_Classification")
 
413
 
414#if($hmAClassification.size() > 0)
 
415	#foreach( $permission in $hmAClassification )
 
416		
 
417		#if($permission.name == "No GAE")
 
418				#set($dim5 = "1")
 
419			#elseif($permission.name == "Premium")
 
420				#set ($Premium = "true")
 
421			#elseif($permission.name == "Registro")
 
422				#set ($datawall  = "true")
 
423		#end
 
424
 
425	#end
 
426#end
 
427
 
428
 
429
 
430#set($PageType = $dim6)
 
431#if($dim6 == "")
 
432	#set($PageType = "Estandar")
 
433#end
 
434<script type="application/json" id="mather">
 
435{
 
436	"articleId": "$ArticleID",
 
437	"datePublished": "$fechaPublicacion",
 
438	"articleType": "$PageType",
 
439	"articleUpdateTime": "$fechaPublicacion",
 
440	"author": ["$creadorFinal"],
 
441	"categories": [$keywordsfinal],
 
442	"cms": "ITERWEB",
 
443	"documentTitle": "$TituloEsc",
 
444	"hierarchy": "$Hierarchy",
 
445	"pageType": "Article",
 
446	"publicationName": "El Heraldo",
 
447	"section": "$section"
 
448}
 
449</script>
 
450
 
451
 
452
 
453#set($thumb_ev = $articleToolbox.getImageURL("Image","0","crop_30x30"))
 
454<script>
 
455	//EV.Dab.init();
 
456	var params = JSON.stringify({
 
457		articleId: "$ArticleID",
 
458		site: "elheraldo.hn",
 
459		title: "$TituloEsc",
 
460		authors: ["$creadorFinal"],
 
461		category: "$dim3",
 
462		section: "$section_url.substring(1)",
 
463		tags: [$keywordsfinal],
 
464		premium: $Premium,
 
465		datawall: $datawall,
 
466		thumbnail_url: "$thumb_ev",
 
467		article_url: "#siteUrl()$url_actual",
 
468		contentType: "$dim3",
 
469	});
 
470</script>
 
471
 
472
 
473<!-- Charbeat here -->
 
474
 
475<!-- end chartbeat -->
 
476
 
477#getAcAssignedExtendedAllCat($hmTopics "Topic")
 
478#foreach($key in $hmTopics.keySet())
 
479	#set($hmTopic = $hmTopics.get($key))
 
480	#set($metaTopic = {})
 
481	#set($temp = $metaTopic.put("name","keywords"))
 
482	#set($temp = $metaTopic.put("content","$hmTopic.name"))
 
483	#set($temp = $metaTopic.put("data-id","$hmTopic.id"))
 
484	#set($temp = $metaTopic.put("data-voc-name","topic"))
 
485	#set($temp = $metaTopic.put("data-voc-id","$hmTopic.idp"))
 
486	$iterVelocityTools.addMetaTag($metaTopic)
 
487#end
 
488
 
489
 
490#getAcAssignedExtendedAllCat($hmAuthors "Author")
 
491#foreach($key in $hmAuthors.keySet())
 
492	#set($hmAuthor = $hmAuthors.get($key))
 
493	#set($metaAuthor = {})
 
494	#set($temp = $metaAuthor.put("name","keywords"))
 
495	#set($temp = $metaAuthor.put("content","$hmAuthor.name"))
 
496	#set($temp = $metaAuthor.put("data-id","$hmAuthor.id"))
 
497	#set($temp = $metaAuthor.put("data-voc-name","author"))
 
498	#set($temp = $metaAuthor.put("data-voc-id","$hmAuthor.idp"))
 
499	$iterVelocityTools.addMetaTag($metaAuthor)
 
500#end
 
501
 
502#getAcAssignedExtendedAllCat($hmLocations "Location")
 
503#foreach($key in $hmLocations.keySet())
 
504	#set($hmLocation = $hmLocations.get($key))
 
505	#set($metaLocation = {})
 
506	#set($temp = $metaLocation.put("name","keywords"))
 
507	#set($temp = $metaLocation.put("content","$hmLocation.name"))
 
508	#set($temp = $metaLocation.put("data-id","$hmLocation.id"))
 
509	#set($temp = $metaLocation.put("data-voc-name","location"))
 
510	#set($temp = $metaLocation.put("data-voc-id","$hmLocation.idp"))
 
511	$iterVelocityTools.addMetaTag($metaLocation)
 
512#end
 
513
 
514#getAcAssignedExtendedAllCat($hmPeoples "People")
 
515#foreach($key in $hmPeoples.keySet())
 
516	#set($hmPeople = $hmPeoples.get($key))
 
517	#set($metaPeople = {})
 
518	#set($temp = $metaPeople.put("name","keywords"))
 
519	#set($temp = $metaPeople.put("content","$hmPeople.name"))
 
520	#set($temp = $metaPeople.put("data-id","$hmPeople.id"))
 
521	#set($temp = $metaPeople.put("data-voc-name","people"))
 
522	#set($temp = $metaPeople.put("data-voc-id","$hmPeople.idp"))
 
523	$iterVelocityTools.addMetaTag($metaPeople)
 
524#end
 
525
 
526#getAcAssignedExtendedAllCat($hmInstitutions "Institutions")
 
527#foreach($key in $hmInstitutions.keySet())
 
528	#set($hmInstitution = $hmInstitutions.get($key))
 
529	#set($metaInstitution = {})
 
530	#set($temp = $metaInstitution.put("name","keywords"))
 
531	#set($temp = $metaInstitution.put("content","$hmInstitution.name"))
 
532	#set($temp = $metaInstitution.put("data-id","$hmInstitution.id"))
 
533	#set($temp = $metaInstitution.put("data-voc-name","people"))
 
534	#set($temp = $metaInstitution.put("data-voc-id","$hmInstitution.idp"))
 
535	$iterVelocityTools.addMetaTag($metaInstitution)
 
536#end
 
537
 
538#getAcAssignedExtendedAllCat($hmTeams "Teams")
 
539#foreach($key in $hmTeams.keySet())
 
540	#set($hmTeam = $hmTeams.get($key))
 
541	#set($metaTeam = {})
 
542	#set($temp = $metaTeam.put("name","keywords"))
 
543	#set($temp = $metaTeam.put("content","$hmTeam.name"))
 
544	#set($temp = $metaTeam.put("data-id","$hmTeam.id"))
 
545	#set($temp = $metaTeam.put("data-voc-name","people"))
 
546	#set($temp = $metaTeam.put("data-voc-id","$hmTeam.idp"))
 
547	$iterVelocityTools.addMetaTag($metaTeam)
 
548#end
 
549
 
550#getAcAssignedExtendedAllCat($hmFacts "Fact_Checking")
 
551#foreach($key in $hmFacts.keySet())
 
552	#set($hmFact = $hmFacts.get($key))
 
553	#set($metaFact = {})
 
554	#set($temp = $metaFact.put("name","keywords"))
 
555	#set($temp = $metaFact.put("content","$hmFact.name"))
 
556	#set($temp = $metaFact.put("data-id","$hmFact.id"))
 
557	#set($temp = $metaFact.put("data-voc-name","people"))
 
558	#set($temp = $metaFact.put("data-voc-id","$hmFact.idp"))
 
559	$iterVelocityTools.addMetaTag($metaFact)
 
560#end
 
561
 
562#getAcAssignedExtendedAllCat($hmJournalT "Journalism_Type")
 
563#foreach($key in $hmJournalT.keySet())
 
564	#set($hmJournal = $hmJournalT.get($key))
 
565	#set($metaJournal = {})
 
566	#set($temp = $metaJournal.put("name","keywords"))
 
567	#set($temp = $metaJournal.put("content","$hmJournal.name"))
 
568	#set($temp = $metaJournal.put("data-id","$hmJournal.id"))
 
569	#set($temp = $metaJournal.put("data-voc-name","journalism_type"))
 
570	#set($temp = $metaJournal.put("data-voc-id","$hmJournal.idp"))
 
571	$iterVelocityTools.addMetaTag($metaJournal)
 
572#end
 
573
 
574#getAcAssignedExtendedAllCat($hmAdsClass "Advertising_Classification")
 
575#foreach($key in $hmAdsClass.keySet())
 
576	#set($hmAds = $hmAdsClass.get($key))
 
577	#set($metaAdsClass = {})
 
578	#set($temp = $metaAdsClass.put("name","keywords"))
 
579	#set($temp = $metaAdsClass.put("content","$hmAds.name"))
 
580	#set($temp = $metaAdsClass.put("data-id","$hmAds.id"))
 
581	#set($temp = $metaAdsClass.put("data-voc-name","advertising_classification"))
 
582	#set($temp = $metaAdsClass.put("data-voc-id","$hmAds.idp"))
 
583	$iterVelocityTools.addMetaTag($metaAdsClass)
 
584#end
 
585
 
586#getAcAssignedExtendedAllCat($hmBrandCont "Branded_Content")
 
587#foreach($key in $hmBrandCont.keySet())
 
588	#set($hmBrand = $hmBrandCont.get($key))
 
589	#set($metaBrandCont = {})
 
590	#set($temp = $metaBrandCont.put("name","keywords"))
 
591	#set($temp = $metaBrandCont.put("content","$hmBrand.name"))
 
592	#set($temp = $metaBrandCont.put("data-id","$hmBrand.id"))
 
593	#set($temp = $metaBrandCont.put("data-voc-name","branded_content"))
 
594	#set($temp = $metaBrandCont.put("data-voc-id","$hmBrand.idp"))
 
595	$iterVelocityTools.addMetaTag($metaBrandCont)
 
596#end
 
597
 
598
 
599##------------------------------OG:IMAGE VIDEOS---------------------------------------------
 
600#set($SectionName = $iterVelocityTools.getVariable("0", "SectionName"))
 
601
 
602#if($Jwplayer && $Jwplayer.data != "" && $SectionName=="Videos")
 
603	#set($metaFacebook = {})
 
604	#set ($urlImg = "https://cdn.jwplayer.com/v2/media/$!Jwplayer.data/poster.jpg?width=720")
 
605	#set($temp = $metaFacebook.put("property","og:image"))
 
606	#set($temp = $metaFacebook.put("content","$!urlImg"))
 
607   $!iterVelocityTools.addMetaTag($metaFacebook)
 
608#end
 
609
 
610##------------------------------META:TIPO DE CONTENIDO---------------------------------------------
 
611 #set($metaTipoContenido = {})
 
612 #set($temp = $metaTipoContenido.put("property","tipo-contenido"))
 
613  #set($temp = $metaTipoContenido.put("content","$!dim3"))
 
614$!iterVelocityTools.addMetaTag($metaTipoContenido)
 
615
 
616##------------------------------META:FECHA ARTICULO---------------------------------------------
 
617 #set($metaDatePublished = {})
 
618 #set($temp = $metaDatePublished.put("property","date-published"))
 
619  #set($temp = $metaDatePublished.put("content","$!dateF"))
 
620$!iterVelocityTools.addMetaTag($metaDatePublished)
 
621
 
622##------------------------------META: AUTHOR---------------------------------------------
 
623 #set($metaAuthorName = {})
 
624 #set($temp = $metaAuthorName.put("name","author"))
 
625 #set($temp = $metaAuthorName.put("content","$!autorfinal"))
 
626$!iterVelocityTools.addMetaTag($metaAuthorName)
 
627
 
628##------------------------------META: CREADOR---------------------------------------------
 
629 #set($metaCreador = {})
 
630 #set($temp = $metaCreador.put("property","creador"))
 
631 #set($temp = $metaCreador.put("content","$!creadorFinal"))
 
632$!iterVelocityTools.addMetaTag($metaCreador)
 
633##------------------------------META: max-image-preview----------------------------------------
 
634 #set($metaMaxImage = {})
 
635 #set($temp = $metaMaxImage.put("name","robots"))
 
636 #set($temp = $metaMaxImage.put("content","max-image-preview:large"))
 
637$!iterVelocityTools.addMetaTag($metaMaxImage)
 
638##------------------------------META: og:img W----------------------------------------
 
639 #set($metaOgImgW = {})
 
640 #set($temp = $metaOgImgW.put("property","og:image:width"))
 
641 #set($temp = $metaOgImgW.put("content","$!pub_imagen_dim.width"))
 
642$!iterVelocityTools.addMetaTag($metaOgImgW)
 
643##------------------------------META: og:img H----------------------------------------
 
644 #set($metaOgImgW = {})
 
645 #set($temp = $metaOgImgW.put("property","og:image:height"))
 
646 #set($temp = $metaOgImgW.put("content","$!pub_imagen_dim.height"))
 
647$!iterVelocityTools.addMetaTag($metaOgImgW)
 
648
 
649<div itemprop="author" itemscope itemtype="https://schema.org/Person">
 
650	<meta itemprop="name" content="$!autorfinal">
 
651	<meta itemprop="url" content="$!urlautorfinal">
 
652</div> 
Héroe y Villano

El Héroe: Cristiano Ronaldo

Mundial. El astro portugués pasó a la historia al convertirse en el primer jugador en anotar en cinco mundiales: Alemania 2006, Sudáfrica 2010, Brasil 2014, Rusia 2018 y Qatar 2022. En el partido de ayer, CR7 anotó un gol de penal frente a la selección de Ghana, a la que superaron 3-2, sumando con ello ocho goles en sus 18 partidos disputados con la selección de Portugal.

Tags: