Formamos el talento que transformará la sociedad Formamos el talento que transformará la sociedad
SALIDAS PROFESIONALES

Formamos el talento que transformará la sociedad

Nuestra misión es formar a los estudiantes, acompañándoles con asesoramiento personalizado y facilitándoles oportunidades profesionales. Colaboramos con las empresas para conectarles con el mejor talento.

“Formamos profesionales excelentes en ingeniería, preparados para impulsar el crecimiento de las empresas mientras generan un impacto positivo en la sociedad. Con innovación, liderazgo y compromiso, nuestros egresados aportan soluciones sostenibles que marcan la diferencia”.

ROCIO NUÑEZ ARNÉS
Directora de Relaciones con Empresas, Prácticas y Empleo de Tecnun
Foros de empleo 2 al año
+ de 300 Empresas colaboradoras
+ de 10.000 Alumni repartidos por todo el mundo
Estudiantes 1.500 de grado, máster y doctorado
Rocío Núñez
Directora
Elisabeth Urcelay
Manager

Publicador de contenidos

Se ha producido un error al procesar la plantilla.
The string doesn't match the expected date/time/date-time format. The string to parse was: "". The expected format was: "yyyy-MM-dd".
The nested reason given follows:
Unparseable date: ""

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign dateToUse = aArticleXML.value...  [in template "10136#10174#200153182" at line 100, column 5]
----
1<#assign dateFormat = "dd|MM|yyyy"> 
2<#if (locale == "en_US")> 
3    <#assign dateFormat = "yyyy|MM|dd"> 
4<#elseif (locale == "eu_ES")> 
5    <#assign dateFormat = "MM|dd|yyyy"> 
6</#if> 
7<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
8<#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") /> 
9<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
10<#assign groupFriendlyURL = themeDisplay.getScopeGroup().getFriendlyURL() /> 
11<#assign friendlyURL = themeDisplay.getScopeGroup().getPathFriendlyURL(false,themeDisplay) + groupFriendlyURL /> 
12<#assign actualURLFriendly = portalUtil.getHost(request) + friendlyURL /> 
13<#assign PortalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"] /> 
14<#assign URLEncoder = staticUtil["java.net.URLEncoder"] /> 
15<#assign Normalizer = staticUtil["java.text.Normalizer"] /> 
16<#assign currentGroupSite = themeDisplay.getLayout().getGroup().getFriendlyURL()  /> 
17<#if themeDisplay.getLayout().getPrivateLayout() == true > 
18    <#assign state = themeDisplay.getPathFriendlyURLPrivateGroup()/> 
19<#else> 
20    <#assign state = themeDisplay.getPathFriendlyURLPublic()/> 
21</#if> 
22<#assign readMore = languageUtil.get(locale, "leer.mas")> 
23<#assign instanceId = themeDisplay.getPortletDisplay().getId()?replace("com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_", "")> 
24<#assign originalInstanceId = themeDisplay.getPortletDisplay().getId()?replace("com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_", "")> 
25<#assign currentPageUrl = PortalUtil.getLayoutURL(themeDisplay.getLayout(),themeDisplay)> 
26<#assign instanceId ="lovPblW1fC70"> 
27<#assign currentLayoutFriendlyUrl = themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout())> 
28 
29<#-- site_news_asset_publisher_instance_id name of the custom field for the asset publisher instance id of the site --> 
30<#assign site_news_asset_publisher_instance_id = layout.getGroup().getExpandoBridge().getAttribute("site_news_asset_publisher_instance_id")> 
31<#-- by default the main site asset publisher id --> 
32<#assign site_news_asset_publisher_instance_id_default = layout.getGroup().getExpandoBridge().getAttributeDefault("site_news_asset_publisher_instance_id")> 
33<#-- site_news_url name of the custom field url of the news page of the site --> 
34<#assign site_news_url = themeDisplay.getScopeGroup().getExpandoBridge().getAttribute("site_news_url")> 
35<#-- by default the main site news page --> 
36<#assign site_news_url_default = themeDisplay.getScopeGroup().getExpandoBridge().getAttributeDefault("site_news_url")> 
37 
38 
39 <#-- get site_news_url custom field value for the site --> 
40<#list site_news_url?keys as key> 
41	<#if key == locale> 
42		<#assign site_news_url_value = site_news_url?values[key?index]> 
43	</#if> 
44</#list> 
45 
46<#-- get site_news_url custom field default value--> 
47<#list site_news_url_default?keys as key> 
48	<#if key == locale> 
49		<#assign site_news_url_default_value = site_news_url_default?values[key?index]> 
50	</#if> 
51</#list> 
52 
53<#-- assign the url if the site has custom field. Use the default value otherwise--> 
54<#if site_news_url_value??> 
55<#else> 
56	<#if site_news_url_default_value??> 
57		<#assign site_news_url_value = site_news_url_default_value> 
58	</#if> 
59</#if> 
60 
61<#-- assign the instance id if the site has custom field. Use the default value otherwise--> 
62<#if site_news_asset_publisher_instance_id??> 
63<#else> 
64	<#if site_news_asset_publisher_instance_id_default??> 
65		<#assign site_news_asset_publisher_instance_id = site_news_asset_publisher_instance_id_default> 
66	</#if> 
67</#if> 
68 
69<#if entries?has_content> 
70        <div class="row g-5 unav-gridScrollMobile"> 
71            <#list entries as curEntry> 
72                <#assign article = journalArticleLocalService.fetchLatestArticle(curEntry.getClassPK()) /> 
73                <#assign assetRendererDate = curEntry.getAssetRenderer() /> 
74<#assign contentFecha = (article.displayDate?has_content?then(article.displayDate, article.modifiedDate)) /> 
75 
76<#assign contentFechaURLString = contentFecha?date?string["dd/MM/yyyy"] /> 
77 
78<#assign dateFormatNews = "dd MMM. yyyy" /> 
79 
80<#assign contentFechaString = dateUtil.getDate( 
81    contentFecha, 
82    dateFormatNews, 
83    locale 
84) /> 
85                <#assign aArticleXML = saxReaderUtil.read(article.getContentByLocale(locale)) /> 
86                <#assign tituloNoticia = aArticleXML.valueOf("//dynamic-element[@name='Titulo_noticia']/dynamic-content/text()") /> 
87                <#assign entradilla = aArticleXML.valueOf("//dynamic-element[@name='subtitulo']/dynamic-content/text()") /> 
88                <#assign autorNombre = aArticleXML.valueOf("//dynamic-element[@name='Nombre_autor']/dynamic-content/text()") /> 
89                <#assign autorImagen = aArticleXML.valueOf("//dynamic-element[@name='Autor_imagen']/dynamic-content/text()") /> 
90                <#assign jsonObjectString = aArticleXML.valueOf("//dynamic-element[@name='Imagen']/dynamic-content/text()") /> 
91                <#assign idNoticia = curEntry.getClassPK()/> 
92                <#assign video = aArticleXML.valueOf("//dynamic-element[@name='Video_youtube']/dynamic-content/text()") /> 
93                <#assign friendlyContentURL = assetPublisherHelper.getAssetViewURL(portalUtil.getLiferayPortletRequest(renderRequest), portalUtil.getLiferayPortletResponse(renderResponse), curEntry,true) /> 
94                <#assign tituloNoticiaEncoded = friendlyUrlDecode(tituloNoticia)> 
95									 
96								<#assign journalArticleStructure = article.getDDMStructure().getName(locale)/> 
97<#assign dateToUse = article.getDisplayDate() /> 
98 
99<#if journalArticleStructure == "7_Noticia"> 
100    <#assign dateToUse = aArticleXML.valueOf("//dynamic-element[@name='Fecha_noticia']/dynamic-content/text()")?date("yyyy-MM-dd") /> 
101</#if> 
102 
103<#if journalArticleStructure == "7_detalle_opinion"> 
104    <#assign dateToUse = aArticleXML.valueOf("//dynamic-element[@field-reference='fechaNueva']/dynamic-content/text()")?date("yyyy-MM-dd") /> 
105</#if> 
106 
107<#assign contentFechaURLString = dateToUse?string["dd/MM/yyyy"] /> 
108 
109<#assign contentFechaString = dateUtil.getDate( 
110    dateToUse, 
111    "dd MMM. yyyy", 
112    locale 
113) /> 
114 
115<#assign parts = contentFechaString?split(" ")> 
116 
117<#assign contentFechaString = 
118    parts[0] + " " + 
119    parts[1]?cap_first + " " + 
120    parts[2] 
121> 
122                 
123                 
124	 			<#-- Asset publisher instance id in main domain --> 
125	 			<#assign mainDomainInstanceId = "lovPblW1fC70"> 
126	            <#-- Urls generated always the same page for unav requirements--> 
127	            <#-- In main domain, go to main news page and use that asset publisher id. Causes issues with other domains --> 
128	            <#-- TODO: remove once custom fields are created--> 
129	            <#assign urlNews = languageUtil.get(locale, "url.news.details", "/noticias")> 
130	            <#assign instanceId = mainDomainInstanceId> 
131	 			 
132	 			<#-- Configure url and asset publisher instance id with customFields--> 
133	 			<#-- By default configured with main domain news page and asset publisher id. Other domains have to configure it manually in the site configuration --> 
134				<#if site_news_url_value??> 
135					<#assign urlNews = site_news_url_value> 				 
136				</#if> 
137				<#if site_news_asset_publisher_instance_id??> 
138					<#assign instanceId = site_news_asset_publisher_instance_id> 				 
139				</#if> 
140					 
141					 
142<#assign mostrar_noticias_eventos_dominio_unav = themeDisplay.getScopeGroup().getExpandoBridge().getAttribute("mostrar_noticias_eventos_dominio_unav")> 
143<#if mostrar_noticias_eventos_dominio_unav!false> 
144 
145    <#assign urlNews = "https://www.unav.edu/noticias"> 
146    <#assign instanceId = mainDomainInstanceId> 
147<#elseif site_news_url_default_value == site_news_url_value> 
148 
149    <#assign urlNews = site_news_url_value> 
150    <#assign instanceId = mainDomainInstanceId> 
151 
152<#elseif actualURLFriendly?contains("lfr.cloud")> 
153 
154    <#-- 1. Site with default news page --> 
155    <#if site_news_url_default_value == site_news_url_value> 
156 
157        <#assign urlNews = site_news_url_value> 
158        <#assign instanceId = mainDomainInstanceId> 
159 
160    <#else> 
161 
162        <#-- 2. Site with custom news page --> 
163        <#if site_news_url_value?contains("/web"+groupFriendlyURL)> 
164 
165            <#assign urlNews = site_news_url_value> 
166            <#assign instanceId = originalInstanceId> 
167 
168        <#else> 
169 
170            <#assign urlNews = "/web"+groupFriendlyURL + site_news_url_value> 
171            <#assign instanceId = originalInstanceId> 
172 
173        </#if> 
174    </#if> 
175 
176<#else> 
177</#if> 
178	            <#assign urlDetail = urlNews+"/-/contents/"+contentFechaURLString+"/"+tituloNoticiaEncoded+"/content/"+instanceId+"/"+curEntry.getEntryId()>					 
179	             
180<#if validator.isNotNull(video)> 
181    <#assign foto = "https://img.youtube.com/vi/" + video + "/maxresdefault.jpg"> 
182<#else> 
183    <#if jsonObjectString?? && jsonObjectString?has_content> 
184        <#attempt> 
185            <#assign jsonObject = jsonObjectString?eval> 
186            <#assign entryUuid = jsonObject.uuid /> 
187            <#assign entryGroupId = getterUtil.getLong(jsonObject.groupId) /> 
188            <#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(entryUuid, entryGroupId) /> 
189            <#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry", dlFileEntry.fileEntryId) /> 
190            <#assign assetRenderer = assetEntry.assetRenderer /> 
191            <#assign foto = assetRenderer.getURLDownload(themeDisplay) /> 
192        <#recover> 
193            <#assign foto = "" /> 
194        </#attempt> 
195    </#if> 
196</#if> 
197<#assign editMode = false /> 
198 
199<#if request??> 
200    <#assign editMode = (request.getParameter("p_l_mode")!"") == "edit" /> 
201</#if> 
202<div class="col-12 col-md-4"> 
203 
204    <article class="unav-newsCard <#if !editMode>unav-efectoEntradaOculto </#if>"> 
205 
206        <#if validator.isNotNull(video)> 
207            <a 
208                href="#" 
209                id="${idNoticia}" 
210                class="modal_opener" 
211                data-src="https://www.youtube.com/embed/${video}" 
212                data-toggle="modal" 
213                data-target="#noticia_${idNoticia}_modal_video" 
214            > 
215        <#else> 
216            <a href="${urlDetail}"> 
217        </#if> 
218 
219            <div class="unav-newsImageWrapper unav-efectoZoomImagen"> 
220                <img 
221                    class="unav-newsImage" 
222                    src="${foto}" 
223                    alt="${htmlUtil.escape(tituloNoticia)}" 
224                    loading="lazy" 
225                > 
226            </div> 
227 
228        </a> 
229 
230<p class="unav-newsDate">${contentFechaString}</p> 
231 
232        <div class="unav-newsTitle"> 
233 
234            <#if validator.isNotNull(video)> 
235                <a 
236                    href="#" 
237                    class="modal_opener" 
238                    data-src="https://www.youtube.com/embed/${video}" 
239                    data-toggle="modal" 
240                    data-target="#noticia_${idNoticia}_modal_video" 
241                > 
242            <#else> 
243                <a href="${urlDetail}"> 
244            </#if> 
245 
246                <#if (tituloNoticia?length > 200)> 
247                    ${tituloNoticia[0..199]} 
248                <#else> 
249                    ${tituloNoticia} 
250                </#if> 
251 
252            </a> 
253 
254        </div> 
255 
256        <#if validator.isNotNull(video)> 
257            <a 
258                href="#" 
259                class="unav-enlaceFlecha modal_opener" 
260                data-src="https://www.youtube.com/embed/${video}" 
261                data-toggle="modal" 
262                data-target="#noticia_${idNoticia}_modal_video" 
263								style="text-decoration-color: black;color: black;" 
264            > 
265        <#else> 
266            <a 
267                href="${urlDetail}" 
268                class="unav-enlaceFlecha" 
269								style="text-decoration-color: black;color: black;"																																							 
270            > 
271        </#if> 
272 
273            <span class="unav-arrowWrapper"> 
274                <span class="unav-arrow"></span> 
275                <span class="unav-arrowClone"></span> 
276            </span> 
277 
278            <span>${readMore}</span> 
279 
280        </a> 
281 
282    </article> 
283 
284</div> 
285 
286<#if validator.isNotNull(video)> 
287 
288<div 
289    class="modal fade modal-unav" 
290    id="noticia_${idNoticia}_modal_video" 
291    tabindex="-1" 
292    role="dialog" 
293    aria-hidden="true" 
294> 
295 
296    <div class="modal-dialog" role="document"> 
297 
298        <div class="modal-content"> 
299 
300            <div class="modal-body"> 
301 
302                <button 
303                    type="button" 
304                    class="close" 
305                    data-dismiss="modal" 
306                > 
307                    <span>&times;</span> 
308                </button> 
309 
310                <div class="embed-responsive embed-responsive-16by9"> 
311 
312                    <iframe 
313                        id="noticia_${idNoticia}_video_iframe" 
314                        class="embed-responsive-item" 
315                        src="" 
316                        allow="autoplay" 
317                        allowfullscreen 
318                    ></iframe> 
319 
320                </div> 
321 
322            </div> 
323 
324        </div> 
325 
326    </div> 
327<style> 
328																																																		 
329																																																		 
330        @media (max-width: 767.98px) { 
331            .unav-gridScrollMobile { 
332                display: flex !important; 
333                flex-wrap: nowrap !important; 
334                overflow-x: auto !important; 
335                /* 1. Forzamos el imán horizontal */ 
336                scroll-snap-type: x mandatory !important; 
337                scroll-behavior: smooth; 
338                -webkit-overflow-scrolling: touch; 
339                padding-bottom: var(--unav-spacing-md); /* Espacio para la sombra al hacer scroll */ 
340            } 
341             
342            /* Ocultar barra de scroll para mayor limpieza visual */ 
343            .unav-gridScrollMobile::-webkit-scrollbar { display: none; } 
344            .unav-gridScrollMobile { -ms-overflow-style: none; scrollbar-width: none; } 
345 
346            .unav-gridScrollMobile > * { 
347                /* Aseguramos que la tarjeta ocupe el 85% para dejar asomar la siguiente */ 
348                flex: 0 0 85% !important; 
349                max-width: 85% !important; 
350                /* 2. Alineación precisa al inicio */ 
351                scroll-snap-align: start !important; 
352                /* 3. LA MAGIA: Freno de inercia obligatorio en cada tarjeta */ 
353                scroll-snap-stop: always !important;  
354            } 
355        } 
356	 
357.unav-gridScrollMobile { 
358    margin-bottom:36px !important; 
359} 
360	 
361 </style> 
362 
363<script> 
364        document.addEventListener("DOMContentLoaded", () => { 
365            const unavObserver = new IntersectionObserver((entries, obs) => { 
366                entries.forEach((entry) => { 
367                    if (entry.isIntersecting) { 
368                        const gridParent = entry.target.closest('.row'); 
369                        if (gridParent) { 
370                            const cardsInGrid = Array.from(gridParent.querySelectorAll('.unav-efectoEntradaOculto')); 
371                            const index = cardsInGrid.indexOf(entry.target); 
372                            setTimeout(() => { 
373                                entry.target.classList.add('unav-efectoEntradaVisible'); 
374                            }, index * 100);  
375                        } else { 
376                            entry.target.classList.add('unav-efectoEntradaVisible'); 
377                        } 
378                        obs.unobserve(entry.target); 
379                    } 
380                }); 
381            }, { rootMargin: '0px 0px -50px 0px', threshold: 0.1 }); 
382 
383            document.querySelectorAll('.unav-efectoEntradaOculto').forEach((card) => { 
384                unavObserver.observe(card); 
385            }); 
386        });																																																		 
387																																																		 
388$(function () { 
389 
390    $("#${idNoticia}.modal_opener").on("click", function(e){ 
391        e.preventDefault(); 
392 
393        $("#noticia_${idNoticia}_video_iframe") 
394            .attr("src", $(this).data("src") + "?autoplay=1"); 
395    }); 
396 
397    $("#noticia_${idNoticia}_modal_video").on("hidden.bs.modal", function(){ 
398        $("#noticia_${idNoticia}_video_iframe").attr("src", ""); 
399    }); 
400 
401}); 
402</script> 
403 
404</#if> 
405            </#list> 
406        </div> 
407 
408</#if> 
409<#function friendlyUrlDecode title> 
410    <#assign titleFriendly = title?replace("[^A-Za-z0-9À-ú ]", "", "r")?lower_case> 
411    <#assign titleFriendly = titleFriendly?replace("á", "a", "r")> 
412    <#assign titleFriendly = titleFriendly?replace("é", "e", "r")> 
413    <#assign titleFriendly = titleFriendly?replace("í", "i", "r")> 
414    <#assign titleFriendly = titleFriendly?replace("ó", "o", "r")> 
415    <#assign titleFriendly = titleFriendly?replace("ú", "u", "r")> 
416    <#assign titleFriendly = titleFriendly?replace("ñ", "n", "r")> 
417    <#assign titleFriendly = URLEncoder.encode(titleFriendly)> 
418    <#assign titleFriendly = titleFriendly?replace("\\+", "-","r")> 
419    <#return titleFriendly> 
420</#function> 
421																																  
422<style> 
423		.unav-enlaceFlecha { 
424        text-decoration: none; 
425} 
426.unav-gridScrollMobile { 
427    --bs-gutter-x: 1.5rem !important; 
428    --bs-gutter-y: 0 !important; 
429    display: flex; 
430    flex-wrap: wrap; 
431    margin-top: calc(-1 * var(--bs-gutter-y)) !important; 
432    margin-right: calc(-.5 * var(--bs-gutter-x)) !important; 
433    margin-left: calc(-.5 * var(--bs-gutter-x)) !important; 
434} 
435 
436.unav-gridScrollMobile > * { 
437    flex-shrink: 0 !important; 
438    width: 100% !important; 
439    max-width: 100% !important; 
440    padding-right: calc(var(--bs-gutter-x) * .5) !important; 
441    padding-left: calc(var(--bs-gutter-x) * .5) !important; 
442    margin-top: var(--bs-gutter-y) !important; 
443} 
444					 
445</style> 
446																																  
447																																 <script> 
448																																 document.addEventListener("DOMContentLoaded", () => { 
449            const unavObserver = new IntersectionObserver((entries, obs) => { 
450                entries.forEach((entry) => { 
451                    if (entry.isIntersecting) { 
452                        const gridParent = entry.target.closest('.row'); 
453                        if (gridParent) { 
454                            const cardsInGrid = Array.from(gridParent.querySelectorAll('.unav-efectoEntradaOculto')); 
455                            const index = cardsInGrid.indexOf(entry.target); 
456                            setTimeout(() => { 
457                                entry.target.classList.add('unav-efectoEntradaVisible'); 
458                            }, index * 100);  
459                        } else { 
460                            entry.target.classList.add('unav-efectoEntradaVisible'); 
461                        } 
462                        obs.unobserve(entry.target); 
463                    } 
464                }); 
465            }, { rootMargin: '0px 0px -50px 0px', threshold: 0.1 }); 
466 
467            document.querySelectorAll('.unav-efectoEntradaOculto').forEach((card) => { 
468                unavObserver.observe(card); 
469            }); 
470        }); 
471																																 </script>