Hernán Urbina Joiro se juramentó como Miembro de Número ante la Junta Directiva de la Academia Nacional de Medicina. Aparece Urbina Joiro cuando lo felicita el presidente de la Academia, Fernándo Sánchez Torres. Lo acompaña el Secretario Perpetuo de la Academia Nacional, Hernando Grott Liévano.
Sociales
Hernán Urbina en la Academia Nacional de Medicina
Se ha producido un error al procesar la plantilla.
Invocation of method 'get' in class [Ljava.lang.String; threw exception java.lang.ArrayIndexOutOfBoundsException at 23836/F/TEMPLATE-EU-01-V-LDJSON[line 119, column 44]
1##----TEMPLATE-EU-01-V-LDJSON----
2
3#set($Titulo = $!articleToolbox.getTag(null,"Headline").data)
4#set($Titulo = $Titulo.replaceAll("\n", ""))
5#set($Titulo = $Titulo.replaceAll('"', " "))
6#set($Titulo = $Titulo.replaceAll('“', " "))
7#set($Titulo = $Titulo.replaceAll('”', " "))
8
9#set($DescTexto = $!articleToolbox.getTag(null,"Subheadline").data)
10#set($DescTexto = $DescTexto.trim() )
11#set($DescTexto = $htmlUtil.escape($DescTexto))
12#set($dateF = "#printDateFrom('yyyy-MM-dd' 'false' 'false')")
13#set($dateF = $dateF.trim())
14#set($dateM = "#printDateFrom('HH:mm:ss' 'false' 'false')")
15#set($dateM = $dateM.trim())
16#set($dateF = $dateF)
17#set($datePublished = "#printDateFrom('yyyy-MM-dd')T#printDateFrom('HH:mm:ssZ')")
18#set($urlPortal = 'https://www.eluniversal.com.co')
19#set($urlPortalMovil = 'https://m.eluniversal.com.co')
20#set($urlCronologia = 'cronologia/-/meta/')
21
22
23#set($ac-canonical-url = $articleContext.selectNodes('articlectx/canonicalurl'))
24#set($xml-canonical-url = $ac-canonical-url.get(0).text)
25#set($xml-canonical-url-trimmed = $!xml-canonical-url.trim())
26
27
28#set($secciones = $!xml-canonical-url.trim().split("/"))
29#set($seccionNombre = $secciones.get(1))
30
31
32#set($articulo = $urlPortal + $xml-canonical-url-trimmed)
33#set($urlArticuloMovil = $urlPortalMovil + $xml-canonical-url-trimmed)
34#set($tipoContenido2 = "TeaserImage")
35#set($tempImage = $articleToolbox.getImageNode($tipoContenido2,"0"))
36#set($TitleImage = "#getTitleImage($tempImage)")
37#set($TitleImage = "#getTitleImage($tempImage)")
38
39##---url imagen ldjson
40#set($imgUrlDet = $articleToolbox.getImageURL("Image", "0", "crop_free"))
41
42##----Inicio data Autor----
43
44#set($numUrlImage = $UrlImage.getSiblings().size())
45 #if($numUrlImage && $numUrlImage != "")
46 #if($numUrlImage >= 1)
47 #set($urlImgArticuloDrupal = $UrlImage.getSiblings().get(0).data)
48 #end
49 #end
50
51#if($imgUrlDet != "")
52 #set($urlImgArticulo = $imgUrlDet)
53#else
54 #set($urlImgArticulo = $urlPortal + $urlImgArticuloDrupal)
55#end
56
57#set($hmAutores = {})
58#set($AuthorName = "")
59#getAcAssignedCatExtended($hmAutores "Autores")
60 #if($hmAutores.size() > 0)
61 #set($numhmAutores = $hmAutores.size() - 1)
62 #foreach($i in [0..$numhmAutores])
63 #set($hmAutor = $hmAutores.get($i))
64 #if($i == 0)
65 #set($AuthorName = $hmAutor.name)
66 #set($LinkAuthor = $hmAutor.friendlyname)
67 #else
68 #set($AuthorName = 'El Universal')
69 #set($LinkAuthor = $hmAutor.friendlyname)
70 #end
71 #end
72 #end
73##----Fin data Autor----
74
75##---kewyword---
76#set($hmTopic = {})
77 #getAcAssignedCatExtended($hmTopic "Topic")
78 #if($hmTopic.size() > 0)
79 #set($temas = "")
80 #set($numhmTopic = $hmTopic.size() - 1)
81 #foreach($i in [0..$numhmTopic])
82
83 ##set($tema = $hmTopics.name)
84 #set($temas = "$temas $hmTopics.name")
85
86 #set($hmTopics = $hmTopic.get($i))
87 #set($metaCXtemas = {})
88
89 #set($temp = $hmTopics.name)
90 #end
91 #end
92
93#set($temasCompleto = $temas.trim())
94#set($newTemasCompleto = $temasCompleto.replaceAll("\$hmTopics\.name\s*", "").replaceAll(" - ", ","))
95##----set($urlImagenLdJson = $UrlImage.getSiblings().get(0)) ----
96
97#set($urlAutor = "") ## Inicializa la variable $urlAutor como una cadena vacía
98
99## Verifica si la variable $LinkAuthor no está vacía y no contiene solo espacios en blanco
100#if($LinkAuthor && !$LinkAuthor.trim().isEmpty())
101 #set($urlAutor = $urlPortal + $urlCronologia + $LinkAuthor.trim()) ## Asigna la URL completa
102#else
103 #set($urlAutor = $urlPortal) ## Asigna la URL del portal si $LinkAuthor está vacía o contiene solo espacios
104#end
105
106
107
108
109#set($textUrlImgArticuloDrupal = "urlImgArticuloDrupal") ## Reemplaza "texto a buscar" con el texto que deseas buscar en $urlImgArticulo
110
111## Verificar si $urlImgArticulo contiene el texto de $textUrlImgArticuloDrupal
112#if($urlImgArticulo.contains($textUrlImgArticuloDrupal))
113 ## El texto de $textUrlImgArticuloDrupal se encuentra en $urlImgArticulo
114 #set( $urlImgArticulo = '//www.eluniversal.com.co/externos/banners/LOGO-EU-01.jpg')
115#end
116
117
118#set($dimensionesImg = $urlImgArticulo.trim().split("binrepository/"))
119#set($dimensionesImgNums = $dimensionesImg.get(1))
120#set($dimensionesImg = $dimensionesImgNums.split("/"))
121#set($dimensionesImg = $dimensionesImg.get(0))
122#set($dimensionesImg = $dimensionesImg.split("x"))
123#set($heigthImg = $dimensionesImg.get(1))
124#set($withImg = $dimensionesImg.get(0))
125
126
127
128<script type="application/ld+json" id="jsonLd">
129{
130 "@context": "http://schema.org",
131 "@type": "NewsArticle",
132 "mainEntityOfPage": "$articulo",
133 "name": "El Universal",
134 "identifier": "$reserved-article-id.data",
135 "headline": "$Titulo",
136 "articleSection": "$seccionNombre",
137 "url": "$articulo",
138 "datePublished": "$datePublished",
139 "dateModified": "$datePublished",
140 "author": [
141 {
142 "@context": "http://schema.org",
143 "@type": "Person",
144 "url": "$urlAutor",
145 "name": "$AuthorName"
146 }
147 ],
148 "image": [
149 {
150 "@context": "http://schema.org",
151 "@type": "ImageObject",
152 "caption":"$TitleImage",
153 "url": "$urlImgArticulo",
154 "height": $heigthImg,
155 "width": $withImg
156 }
157 ],
158 "description": "$!DescTexto",
159 #set($article_is_restricted = $articleToolbox.article_is_restricted())
160 #if ($article_is_restricted)
161 #set($solosuscri = 0)
162 #set($soloregist = 0)
163 #set($todopublic = 0)
164 #foreach($product in $articleToolbox.getProductList())
165 #if ($product.get("name") == "Suscriptores")
166 #set($solosuscri = 1)
167 #elseif ($product.get("name") == "Premium")
168 #set($soloregist = 1)
169 #elseif ($product.get("name") == "Libre")
170 #set($todopublic = 1)
171 #end
172 #end
173 #if (($solosuscri == 0) && ($soloregist == 0) && ($todopublic == 1))
174 "isAccessibleForFree": true,
175 #else
176 "isAccessibleForFree": false,
177 #end
178 #else
179 "isAccessibleForFree": true,
180 #end
181 "isPartOf": {
182 "@type": ["CreativeWork", "Product"],
183 "name" : "El universal | Cartagena",
184 "productID": "https://www.eluniversal.com.co/"
185 }, "publisher": {
186 "@id": "https://www.eluniversal.com.co/#publisher",
187 "@type": "NewsMediaOrganization",
188 "foundingDate": "1948-03-08",
189 "logo": {
190 "@type": "ImageObject",
191 "height": "37",
192 "url": "https://www.eluniversal.com.co/externos/logo-eu-rediseno-2021.svg",
193 "width": "348"
194 },
195 "masthead": "https://www.eluniversal.com.co/perfiles",
196 "name": "Periódico El Universal",
197 "sameAs": [
198 "https://www.facebook.com/eluniversalcartagena",
199 "https://twitter.com/ElUniversalCtg",
200 "https://www.instagram.com/eluniversalctg/",
201 "https://www.youtube.com/eluniversalmedia"
202 ],
203 "url": "https://www.eluniversal.com.co"
204 }
205 }
206</script>
207
208
209
210<script>
211 // si el documento esta listo
212 (function() {
213var im = document.querySelectorAll('.art-gallery');
214 // si im diferente de null && diferente de undefined
215if (im !== null && im !== undefined) {
216
217// recorrer las imagnes y agregar attributo itemprop="image" si esta dentro de div class="lazyloaded"
218for (var i = 0; i < im.length; i++) {
219 //console.log(im[i].children[0].children[0].children[0])
220 im[i].children[0].children[0].children[0].setAttribute('itemprop','image')
221 if (im[i].parentElement.classList.contains('lazyloaded')) {
222 im[i].setAttribute('itemprop', 'image');
223 }
224}
225}
226});
227
228</script>
229## -- Crea un elemento <link>
230#set($linkAlternate= {})
231#set($temp = $linkAlternate.put("rel","alternate"))
232#set($temp = $linkAlternate.put("media","only screen and (max-width: 768px)"))
233#set($temp = $linkAlternate.put("href","$urlArticuloMovil"))
234$iterVelocityTools.addLinkTag($linkAlternate)
235
236##-- Crea un elemento <link> para precargar una imagen de artículo
237
238#set($urlPortal = 'https://www.eluniversal.com.co')
239#set($urlPortalMovil = 'https://m.eluniversal.com.co')
240
241##---url imagen articulo
242#set($imgUrlDet = $articleToolbox.getImageURL("Image", "0", "crop_free"))
243
244##----Inicio data Autor----
245
246#set($numUrlImage = $UrlImage.getSiblings().size())
247 #if($numUrlImage && $numUrlImage != "")
248 #if($numUrlImage >= 1)
249 #set($urlImgArticuloDrupal = $UrlImage.getSiblings().get(0).data)
250 #end
251 #end
252
253 #if($imgUrlDet != "")
254 #set($urlImgArticulo = $imgUrlDet)
255 #else
256 #set($urlImgArticulo = $urlPortal + $urlImgArticuloDrupal)
257 #end
258
259#set($linkImagePreload= {})
260#set($temp = $linkImagePreload.put("rel","preload"))
261#set($temp = $linkImagePreload.put("as","image"))
262#set($temp = $linkImagePreload.put("href","$urlImgArticulo"))
263$iterVelocityTools.addLinkTag($linkImagePreload)
264
265
266 ##-- agregar themeColor
267#set($metaTheme = {})
268#set($temp = $metaTheme.put("name","theme-color"))
269#set($temp = $metaTheme.put("content","#AF0E29"))
270$iterVelocityTools.addMetaTag( $metaTheme )
Comentarios ()