viernes
5 y 1
5 y 1
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 831] at 21233/F/TEMPLATE-EC-50-MOVIL[line 46, column 20]
1##----TEMPLATE-EC-50-MOVIL----
2#set($url = "#siteUrl()#printURLAssignedSection()")
3#set($url = $url.replace("/m/","/"))
4
5#set($sectionID = "#printAssignedSectionID")
6#set ($sectionName = $!iterVelocityTools.getVariable($sectionID , "PubliSectionName") )
7
8#set($urlamp = "#printAcUrlAltECM()")
9#set($urlamp = "https://www.elcolombiano.com/amp$urlamp")
10#set($urlamp = $urlamp.replace("/m/","/"))
11
12#set($ampLink= {})
13#set($temp = $ampLink.put("rel","amphtml"))
14#set($temp = $ampLink.put("href","$urlamp"))
15$iterVelocityTools.addLinkTag($ampLink)
16
17<div class="template-ec-50-movil" url-site="#siteUrl()" url-section="#printURLAssignedSection()" url-amp="$urlamp">
18 #set($metaCX = {})
19 #set($temp = $metaCX.put("name","cXenseParse:url"))
20 #set($temp = $metaCX.put("content","$url"))
21 $iterVelocityTools.addMetaTag( $metaCX )
22
23 #set($fechapub = "#printOnlyDateModExtend('yyyy-M-d H:m:s')")
24 #set($metaA = {})
25 #set($temp = $metaA.put("property","article:published_time"))
26 #set($temp = $metaA.put("content","$fechapub"))
27 $iterVelocityTools.addMetaTag( $metaA )
28
29<!-- Inicio META TAG AUTOR -->
30#set($hmAutores = {})
31#getAcAssignedCatExtended($hmAutores "Autores")
32
33#set($hmAutor = $hmAutores.get(0))
34#set ($catId = $hmAutor.id)
35#if($catId)
36 #set ($aboutAuthor = $aboutCategoryArticles.getArticle($catId))
37#end
38
39#set($metaAuthor = {})
40#set($temp = $metaAuthor.put("name","author"))
41#if($aboutAuthor)
42 #set($temp = $metaAuthor.put("content",$!aboutAuthor.Instrumental_Autor.data))
43#else
44 #set($temp = $metaAuthor.put("content",""))
45#end
46$iterVelocityTools.addMetaTag($metaAuthor )
47
48<!-- Inicio META TAGS CXSENSE -->
49#set($metaPageClass = {})
50#set($temp = $metaPageClass.put("name","cXenseParse:pageclass"))
51#set($temp = $metaPageClass.put("content","article"))
52$iterVelocityTools.addMetaTag($metaPageClass)
53
54#set($metaArticleId = {})
55#set($temp = $metaArticleId.put("name","cXenseParse:recs:articleid"))
56#set($temp = $metaArticleId.put("content",$reserved-article-id.data))
57$iterVelocityTools.addMetaTag($metaArticleId)
58
59#set ($portalBeanLocator = $portal.getClass().forName('com.liferay.portal.kernel.bean.PortalBeanLocatorUtil'))
60#set ($dateFormatFactory = $portalBeanLocator.locate('com.liferay.portal.kernel.util.DateFormatFactoryUtil'))
61#set ($indexFormat = $dateFormatFactory.getSimpleDateFormat('yyyy/MM/dd HH:mm:ss'))
62#set($ac-sectionDateFrom = $articleContext.selectNodes('articlectx/sections//section[@from]'))
63#if($ac-sectionDateFrom.size() > 0)
64 #foreach ($atrib in $ac-sectionDateFrom.get(0).attributes() )
65 #if($atrib.name == "from")
66 #set ($dResultado = $indexFormat.parse("$atrib.data"))
67 #end
68 #end
69#end
70
71#if($dResultado && $dResultado != "")
72#set($metaPublishTime = {})
73#set($temp = $metaPublishTime.put("name","cXenseParse:recs:publishtime"))
74#set($temp = $metaPublishTime.put("content",$dateTool.format("yyyy-MM-d'T'hh:mm:ss.000'Z'",$dResultado)))
75$iterVelocityTools.addMetaTag($metaPublishTime)
76#end
77
78#set($metaCategory = {})
79#set($temp = $metaCategory.put("name","cXenseParse:recs:category"))
80#set($temp = $metaCategory.put("content","$sectionName"))
81$iterVelocityTools.addMetaTag($metaCategory)
82
83<!-- Fin META TAGS CXSENSE -->
84
85<!-- metas de login de redes sociales-->
86
87<meta name="google-signin-scope" content="profile email">
88<meta name="google-signin-client_id" content="1066384773801-9khkfgmhf1ebbu54ik3tsdbel1ke1eo1.apps.googleusercontent.com">
89<script src="https://apis.google.com/js/platform.js" async defer></script>
90<script src="https://www.gstatic.com/firebasejs/7.22.0/firebase-app.js" defer></script>
91<script src="https://www.gstatic.com/firebasejs/7.22.0/firebase-analytics.js" defer></script>
92<script src="https://www.gstatic.com/firebasejs/7.22.0/firebase-auth.js" defer></script>
93
94</div>
95
96
97
98
99
100
101
La adquisición de 23.437 hectáreas por parte de una multinacional chilena para la siembra de pino Tecunumani, en el Nordeste antioqueño, ha generado una serie de controversias con al menos cuatro de los siete municipios en los que tiene cultivos la compañía por los impactos ambientales, económicos y sociales, inherentes a la actividad maderera.