An error occurred while processing the template.
Encountered "-" at 199527016/F/D_METRIC[line 157, column 45]
Was expecting one of:
    "," ...
    ")" ...
    
1##----DETAIL_METRIC----
 
2<div class="D_METRIC">
 
3
 
4## *************** TITULO ********************
 
5#set($TituloEsc = $!articleToolbox.getTag(null,"Headline").data)
 
6#set($TituloEsc = $TituloEsc.replaceAll("\n", ""))
 
7#set($TituloEsc = $TituloEsc.replaceAll('"', "'"))
 
8
 
9## *************** ENTRADILLA|DESCRIPCIÓN ********************
 
10#set($DescTexto = $!articleToolbox.getTag(null,"Lead").data)
 
11#set($DescTexto = $DescTexto.trim() )
 
12#set($DescTexto = $htmlUtil.stripHtml($DescTexto))
 
13#set($DescTexto = $htmlUtil.escape($DescTexto))
 
14#set($DescTexto = $DescTexto.replaceAll('"', "'"))
 
15#set($DescTexto = $DescTexto.replaceAll('”', "'"))
 
16#set($DescTexto = $DescTexto.replaceAll('“', "'"))
 
17#set($DescTexto = $DescTexto.replaceAll('\\', ""))
 
18
 
19## *************** LOGO ********************
 
20#set($logo = "$iterVelocityTools.getVariable('0','logo')" )
 
21#set($logo = $logo.trim() )
 
22#set($logo = $htmlUtil.escape($logo))
 
23#set($logo = $logo.replaceAll("/","\/") )
 
24
 
25## *************** SECCION ********************
 
26#set($section = "")
 
27#set($section_url = "")
 
28#set($ac-sectionDateFrom =  $articleContext.selectNodes('articlectx/sections//section[@from]'))
 
29#if($ac-sectionDateFrom && $ac-sectionDateFrom.size() > 0)
 
30	#foreach ($atrib in $ac-sectionDateFrom.get(0).attributes()  )
 
31		#if($atrib.name == "name")
 
32			#set($section = $!atrib.data)
 
33		#end
 
34		#if($atrib.name == "url")
 
35			#set($section_url = $!atrib.data)
 
36		#end
 
37	#end
 
38#end
 
39
 
40##PRIMERO OBTENEMOS LA FECHA DE CREACION - PUBLICACION - MODIFICACION EN EL FORMATO QUE DESCRIBES
 
41#set( $fechaCreacion = $reserved-article-create-timespan-utc.data )
 
42#set( $fechaCreacion = $numberTool.toNumber($fechaCreacion).intValue() )
 
43#set( $fechaCreacion = ($fechaCreacion * 1000))
 
44#set( $fechaCreacion = $dateTool.format( "yyyy-MM-dd'T'HH:mm:ss", $fechaCreacion ))
 
45#set( $fechaCreacionOG = $fechaCreacion + "-05:00")
 
46
 
47#set( $fechaModificacion = $reserved-article-modified-timespan-utc.data )
 
48#set( $fechaModificacion = $numberTool.toNumber($fechaModificacion).intValue() )
 
49#set( $fechaModificacion = ($fechaModificacion * 1000))
 
50#set( $fechaModificacion = $dateTool.format( "yyyy-MM-dd'T'HH:mm:ss", $fechaModificacion ))
 
51#set( $fechaModificacionOG = $fechaModificacion + "-05:00")
 
52
 
53##LUEGO CON LAS SIGUIENTES LINEAS INSERTAMOS UN META EN EL HEAD
 
54#set($metaFecha = {})
 
55#set($temp = $metaFecha.put("property","article:modified_time"))
 
56#set($temp = $metaFecha.put("content","$fechaModificacionOG"))
 
57$!iterVelocityTools.addMetaTag($metaFecha)
 
58
 
59## *************** AUTOR ********************
 
60#set($hmAutores = {})
 
61#getAcAssignedCatExtended_v1($hmAutores "Author")
 
62#set($autorfinal = "")
 
63#set($urlautorfinal = "")
 
64#if($hmAutores.size() > 0)
 
65	#set($hmAutor = $hmAutores.get(0))
 
66	#set($autorfinal = $hmAutor.name)
 
67	#set($urlautorfinal = "#siteUrl()#metadataUrl_v1('autor')${hmAutor.friendlyname}")
 
68	#set($urlautorfinal = $urlautorfinal.replaceAll('http:', "https:"))
 
69#else
 
70	#set($autorfinal = "La Estrella de Panamá")
 
71	#set($urlautorfinal = "https://www.laestrella.com.pa/")
 
72#end
 
73
 
74###************** METADATOS  TEMAS*******************
 
75#set($keywordsfinal = "")
 
76#set($auxCatalagoTema = {})
 
77#getAcAssignedCatExtended_v1($auxCatalagoTema "Topic")
 
78#if($auxCatalagoTema.size() > 0)
 
79	#foreach($keyword in $auxCatalagoTema)
 
80		#if($keywordsfinal == "")
 
81			#set($keywordsfinal = '"' + $keyword.name + '"')
 
82		#else
 
83			#set($keywordsfinal = $keywordsfinal + ',"' +$keyword.name + '"')
 
84		#end
 
85	#end
 
86#end
 
87
 
88###************** METADATOS  LUGARES*******************
 
89#set($auxCatalagoLocation = {})
 
90#getAcAssignedCatExtended_v1($auxCatalagoLocation "Location")
 
91#if($auxCatalagoLocation.size() > 0)
 
92	#foreach($keyword in $auxCatalagoLocation)
 
93		#if($keywordsfinal == "")
 
94			#set($keywordsfinal = '"'+$keyword.name+'"')
 
95		#else
 
96			#set($keywordsfinal = $keywordsfinal + ", "+'"' +$keyword.name+'"')
 
97		#end
 
98	#end
 
99#end
 
100
 
101###************** METADATOS  PERSONAS*******************
 
102#set($auxCatalagoPeople = {})
 
103#getAcAssignedCatExtended_v1($auxCatalagoPeople "People")
 
104#if($auxCatalagoPeople.size() > 0)
 
105	#foreach($keyword in $auxCatalagoPeople)
 
106		#if($keywordsfinal == "")
 
107			#set($keywordsfinal = '"'+$keyword.name+'"')
 
108		#else
 
109			#set($keywordsfinal = $keywordsfinal + ", "+'"' +$keyword.name+'"')
 
110		#end
 
111	#end
 
112#end
 
113
 
114###************** FECHA *******************
 
115#set($ac-url = $articleContext.selectNodes('articlectx/url'))
 
116#set($xml-url = $ac-url.get(0).text)
 
117#set($url_actual = $!xml-url )
 
118
 
119#set($dateF = "#printDateFrom_v1('yyyy-MM-dd' 'false' 'false')")
 
120#set($dateF = $dateF.trim())
 
121#set($dateM = "#printDateFrom_v1('HH:mm:ss' 'false' 'false')")
 
122#set($dateM = $dateM.trim())
 
123#set($dateF = $dateF + "T" + $dateM)
 
124
 
125###************** IMAGEN *******************
 
126#set($pub_imagen_small = $articleToolbox.getImageURL("Image","0","crop_small"))
 
127#set($pub_imagen_medium = $articleToolbox.getImageURL("Image","0","crop_medium"))
 
128#set($pub_imagen = $articleToolbox.getImageURL("Image","0","crop_superbig"))
 
129#set($thumb_imagen = $articleToolbox.getImageURL("Image","0","crop_big"))
 
130#if($pub_imagen == "")
 
131    #set($pub_imagen = "https://www.laestrella.com.pa/news-portlet/getogimage/de457601-eb8c-4ca5-a2d4-85d30415e397.png")
 
132	#set($pub_imagen_small = "https://www.laestrella.com.pa/news-portlet/getogimage/de457601-eb8c-4ca5-a2d4-85d30415e397.png")
 
133	#set($pub_imagen_medium = "https://www.laestrella.com.pa/news-portlet/getogimage/de457601-eb8c-4ca5-a2d4-85d30415e397.png")
 
134#end
 
135
 
136###************** CUERPO DE NOTA *******************
 
137#set($TextoTotalEsc = $!articleToolbox.getTag(null,"Text").data)
 
138#set($TextoTotalEsc = $TextoTotalEsc.replaceAll("<p>", ""))
 
139#set($TextoTotalEsc = $TextoTotalEsc.replaceAll("</p>", ""))
 
140#set($TextoTotalEsc = $htmlUtil.escape($TextoTotalEsc))
 
141#set($TextoTotalEsc = $TextoTotalEsc.replaceAll('"', "'"))
 
142#set($TextoTotalEsc = $TextoTotalEsc.replaceAll('”', "'"))
 
143#set($TextoTotalEsc = $TextoTotalEsc.replaceAll('“', "'"))
 
144#set($TextoTotalEsc = $TextoTotalEsc.replaceAll('\\', ""))
 
145
 
146#if(!$DescTexto || $!DescTexto == "")
 
147   #set($DescTexto = $TituloEsc)
 
148#end
 
149
 
150#set($urlCanonical = "#siteUrl()$!articleToolbox.getArticleViewer('canonical')")
 
151#set($urlCanonical = $urlCanonical.replaceAll('http:', "https:"))
 
152
 
153#set($lpost = $articleToolbox.getLastPost())
 
154#if($lpost)
 
155  #set($posts = $articleToolbox.getLivePosts())
 
156  #set($firstPost = $posts.get(0))
 
157 #set($lastPost = $posts.get($posts.size() - 1))
 
158  #set($coverageStart = $dateTool.format("yyyy-MM-dd'T'HH:mm:ssXXX", $firstPost.creationdate))
 
159  #set($coverageEnd = $dateTool.format("yyyy-MM-dd'T'HH:mm:ssXXX", $lastPost.creationdate))
 
160
 
161<script type="application/ld+json">
 
162{
 
163  "@context": "https://schema.org",
 
164  "@type": "LiveBlogPosting",
 
165  "mainEntityOfPage": {
 
166    "@type": "WebPage",
 
167    "@id": "$urlCanonical"
 
168  },
 
169  "headline": "$TituloEsc",
 
170  "description": "$!DescTexto",
 
171  "url": "$urlCanonical",
 
172  "image": {
 
173    "@type": "ImageObject",
 
174    "url": "$pub_imagen"
 
175  },
 
176  "inLanguage": "es-PA",
 
177  "author": {
 
178    "@type": "Person",
 
179    "name": "$autorfinal",
 
180    "url": "$urlautorfinal"
 
181  },
 
182  "publisher": {
 
183    "@type": ["NewsMediaOrganization","Organization"],
 
184    "sameAs" : [
 
185      "https://twitter.com/EstrellaOnline/",
 
186      "https://www.facebook.com/LaEstrelladePanama/",
 
187      "https://www.instagram.com/laestrellaonline/",
 
188      "https://www.youtube.com/channel/UCD9pkWvLd4IhgG2XTqTHsig",
 
189      "https://es.wikipedia.org/wiki/La_Estrella_de_Panam%C3%A1",
 
190      "https://www.laestrella.com.pa/sitemap.xml"
 
191    ],
 
192    "name": "La Estrella de Panamá",
 
193    "logo": {
 
194      "@type": "ImageObject",
 
195      "url": "$iterVelocityTools.getVariable('0','favicon')",
 
196      "height": 128,
 
197      "width": 128
 
198    }
 
199  },
 
200  "datePublished": "$fechaModificacionOG",
 
201  "dateModified": "$fechaModificacionOG",
 
202  "coverageStartTime": "$coverageStart",
 
203  "coverageEndTime": "$coverageEnd",
 
204  "liveBlogUpdate": [
 
205    #set($comma = "")
 
206    #foreach($post in $posts)
 
207      #set($xmldata = $xmlTool.parse($post.content))
 
208      #set($headline = $xmldata.getChild("dynamic-element").getChild("dynamic-content").getText())
 
209      #set($date = $dateTool.format("yyyy-MM-dd'T'HH:mm:ssXXX", $post.creationdate))
 
210      $comma{
 
211        "@type": "BlogPosting",
 
212        "headline": "$!stringTool.escape($headline)",
 
213        "articleBody": "$!stringTool.escape($headline)",
 
214        "datePublished": "$date"
 
215      }
 
216      #set($comma = ",")
 
217    #end
 
218  ]
 
219}
 
220</script>
 
221#end
 
222
 
223<script type="application/ld+json">
 
224	{
 
225		"@context": "https://schema.org",
 
226		"@type": ["NewsArticle","Article","ReportageNewsArticle"],
 
227		"headline": "$TituloEsc",
 
228		"datePublished": "$fechaModificacionOG",
 
229		"dateModified": "$fechaModificacionOG",
 
230		"dateCreated": "$fechaCreacionOG",
 
231		"description": "$!DescTexto",
 
232		"articleBody": "$!TextoTotalEsc",
 
233		"keywords": [$keywordsfinal],
 
234		"author": [{
 
235			"@type": "Person",
 
236			"name": "$autorfinal",
 
237			"url": "$urlautorfinal"
 
238		}],
 
239		"articleSection": "$section",
 
240		"mainEntityOfPage": [{
 
241			"@type": ["WebPage","ItemPage"],
 
242			"@id": "$urlCanonical",
 
243			"name": "$TituloEsc"
 
244		}],
 
245		"inLanguage":"es-PA",
 
246		"image": {
 
247          "@type": "ImageObject",
 
248          "url": ["$pub_imagen_small","$pub_imagen_medium","$pub_imagen"]
 
249        },
 
250		"publisher": {
 
251          "@type": ["NewsMediaOrganization","Organization"],
 
252		  "sameAs" : ["https://twitter.com/EstrellaOnline/", "https://www.facebook.com/LaEstrelladePanama/", "https://www.instagram.com/laestrellaonline/", "https://www.youtube.com/channel/UCD9pkWvLd4IhgG2XTqTHsig", "https://es.wikipedia.org/wiki/La_Estrella_de_Panam%C3%A1","https://www.laestrella.com.pa/sitemap.xml"],
 
253          "name": "La Estrella de Panamá",
 
254          "logo": {
 
255            "@type": "ImageObject",
 
256            "url": "$iterVelocityTools.getVariable('0','favicon')",
 
257			"height":128,
 
258			"width":128
 
259          }
 
260        }
 
261		##"url": "#siteUrl()$url_actual",
 
262		##"thumbnailUrl": "$thumb_imagen",
 
263		##"creator": ["$creadorFinal"],
 
264	}
 
265</script>
 
266
 
267<meta itemprop="headline" content="$TituloEsc"/>
 
268<span itemprop="author" itemscope itemtype="https://schema.org/Person">
 
269	<meta itemprop="name" content="$autorfinal"/>
 
270	<a href="$urlautorfinal" itemprop="url">$autorfinal</a>
 
271</span>
 
272<meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="$urlCanonical" />
 
273<meta itemprop="datePublished" content="$fechaModificacionOG">
 
274<meta itemprop="dateModified" content="$fechaModificacionOG">
 
275<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
 
276	<meta itemprop="url" content="https://www.laestrella.com.pa/" />
 
277	<meta itemprop="name" content="La Estrella de Panamá" />
 
278	<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
 
279		<meta itemprop="url" content="https://www.laestrella.com.pa/base-portlet/webrsrc/ctxvar/17c1100d-1caa-4f16-92c0-4644de9ab5ad.png" />
 
280		<meta itemprop="width" content="128" />
 
281		<meta itemprop="height" content="128" />
 
282	</div>
 
283</div>
 
284<meta name="robots" content="max-image-preview:large">
 
285
 
286
 
287##KEYWORDS
 
288
 
289#getAcAssignedExtendedAllCat($hmTopics "Topic")
 
290#foreach($key in $hmTopics.keySet())
 
291    #set($hmTopic = $hmTopics.get($key))
 
292    #set($metaTopic = {})
 
293    #set($temp = $metaTopic.put("name","keywords"))
 
294    #set($temp = $metaTopic.put("content","$hmTopic.name"))
 
295    #set($temp = $metaTopic.put("data-id","$hmTopic.id"))
 
296    #set($temp = $metaTopic.put("data-voc-name","topic"))
 
297    #set($temp = $metaTopic.put("data-voc-id","$hmTopic.idp"))
 
298    $iterVelocityTools.addMetaTag($metaTopic)
 
299#end
 
300
 
301#getAcAssignedExtendedAllCat($hmAuthors "Author")
 
302#foreach($key in $hmAuthors.keySet())
 
303    #set($hmAuthor = $hmAuthors.get($key))
 
304    #set($metaAuthor = {})
 
305    #set($temp = $metaAuthor.put("name","keywords"))
 
306    #set($temp = $metaAuthor.put("content","$hmAuthor.name"))
 
307    #set($temp = $metaAuthor.put("data-id","$hmAuthor.id"))
 
308    #set($temp = $metaAuthor.put("data-voc-name","author"))
 
309    #set($temp = $metaAuthor.put("data-voc-id","$hmAuthor.idp"))
 
310    $iterVelocityTools.addMetaTag($metaAuthor)
 
311#end
 
312
 
313#getAcAssignedExtendedAllCat($hmPeoples "People")
 
314#foreach($key in $hmPeoples.keySet())
 
315    #set($hmPeople = $hmPeoples.get($key))
 
316    #set($metaPeople = {})
 
317    #set($temp = $metaPeople.put("name","keywords"))
 
318    #set($temp = $metaPeople.put("content","$hmPeople.name"))
 
319    #set($temp = $metaPeople.put("data-id","$hmPeople.id"))
 
320    #set($temp = $metaPeople.put("data-voc-name","people"))
 
321    #set($temp = $metaPeople.put("data-voc-id","$hmPeople.idp"))
 
322    $iterVelocityTools.addMetaTag($metaPeople)
 
323#end
 
324
 
325#set($metaTwitter = {})
 
326#set($temp = $metaTwitter.put("name","twitter:card"))
 
327#set($temp = $metaTwitter.put("content","summary_large_image"))
 
328$!iterVelocityTools.addMetaTag($metaTwitter)
 
329
 
330#set($metaTwitter = {})
 
331#set($temp = $metaTwitter.put("name","twitter:site"))
 
332#set($temp = $metaTwitter.put("content","@EstrellaOnline"))
 
333$!iterVelocityTools.addMetaTag($metaTwitter)
 
334
 
335#set($metaTwitter = {})
 
336#set($temp = $metaTwitter.put("name","twitter:title"))
 
337#set($temp = $metaTwitter.put("content","$!TituloEsc"))
 
338$!iterVelocityTools.addMetaTag($metaTwitter)
 
339
 
340#set($metaTwitter = {})
 
341#set($temp = $metaTwitter.put("name","twitter:description"))
 
342#set($temp = $metaTwitter.put("content","$!DescTexto"))
 
343$!iterVelocityTools.addMetaTag($metaTwitter)
 
344
 
345#set($metaTwitter = {})
 
346#set($temp = $metaTwitter.put("name","twitter:image"))
 
347#set($temp = $metaTwitter.put("content","$pub_imagen"))
 
348$!iterVelocityTools.addMetaTag($metaTwitter)
 
349
 
350#set($metaTwitter = {})
 
351#set($temp = $metaTwitter.put("name","twitter:url"))
 
352#set($temp = $metaTwitter.put("content","$urlCanonical"))
 
353$!iterVelocityTools.addMetaTag($metaTwitter)
 
354
 
355</div> 

Meduca invierte $1.1 millones en reparaciones menores de escuelas

Las intervenciones menores en todo el país, incluyen trabajos de mantenimiento correctivo

Con una inversión de $1.1 millones, el Ministerio de Educación (Meduca) atiende 754 centros educativos en concepto de reparaciones menores, durante los cuatro primeros meses de la actual administración, aunque se espera cubrir 2,500 escuelas en todo el país, dentro de los próximos años.

Las intervenciones menores en todo el país, incluyen trabajos de mantenimiento correctivo (plomería, electricidad, soldadura, techos, entre otros), entrega de materiales y evaluaciones técnicas que, posteriormente, recibirán se consideran de acuerdo con sus prioridades.

 A la fecha, el Meduca hizo 480 evaluaciones para identificar necesidades en 756 centros educativos, que requieren pronta atención en su estructuras.

Mediante el convenio suscrito entre los ministerios de Educación, Gobierno y Justicia, durante los primeros días, se concretó la reparación de 1,100 sillas, labor que se realiza diariamente para que el inicio del año escolar 2020 los centros educativos estén en capacidad de recibir a los estudiantes.

Con el apoyo de los ministerios de Obras Públicas, Vivienda, Salud, Seguridad Pública, la Autoridad de Aseo Urbano y Domiciliario y la Alcaldía de Panamá, el Meduca brinda mantenimiento a un centenar de colegios de todo el territorio nacional. Las obras iniciaron en la Escuela de Artes y Oficio Melchor Lasso de la Vega.

De igual manera, la institución educativa estableció acuerdos con ciertas ONG para resolver algunas necesidades de los centros educativos, con el apoyo de mano de obra calificada y de jóvenes de riesgo social que prestan sus servicios.

Lo Nuevo