Si è verificato un errore nell'elaborarazione del modello.
Java method "com.sun.proxy.$Proxy93.getFileEntry(long)" threw an exception when invoked on com.sun.proxy.$Proxy93 object "com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl@72268a6f"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign fileEntry = DLFileEntryLocalS...  [in template "10154#10192#735807" in macro "getLinkAndAllegati" at line 415, column 73]
	- Reached through: @getLinkAndAllegati  [in template "10154#10192#735807" at line 368, column 9]
----
1<#setting locale="it_IT"> 
2 
3<#assign AssetEntryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil"] /> 
4<#assign assetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService") /> 
5 
6<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
7<#assign journalArticleId = .vars['reserved-article-id'].data/> 
8 
9<#assign article = JournalArticleLocalService.getArticle(groupId, journalArticleId) /> 
10<#assign entry = AssetEntryLocalServiceUtil.fetchEntry("com.liferay.journal.model.JournalArticle", article.resourcePrimKey) /> 
11 
12<#assign AssetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"]> 
13<#assign categoryList = AssetCategoryLocalServiceUtil.getAssetEntryAssetCategories(entry.entryId) /> 
14<#assign UserLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.UserLocalServiceUtil"]> 
15<#assign DLFileEntryLocalServiceUtil =  serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryLocalService') />  
16 
17<#assign currentArticle = JournalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data) /> 
18<#assign currentArticleResourcePrimKey = currentArticle.getResourcePrimKey() /> 
19<#assign currentArticleAssetEntry = AssetEntryLocalServiceUtil.getEntry("com.liferay.journal.model.JournalArticle", currentArticleResourcePrimKey) /> 
20<#assign currentArticleAssetEntryId = currentArticleAssetEntry.getEntryId() /> 
21 
22<#assign entryTitle = htmlUtil.escape(entry.getTitle(locale)?html) /> 
23 
24<#assign siteBaseURL = themeDisplay.getPortalURL() />  
25<#assign imagePath = themeDisplay.getTheme().getContextPath() + themeDisplay.getTheme().getImagesPath() /> 
26 
27<#assign assetRenderer = entry.getAssetRenderer() /> 
28<#assign urlSocial = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() /> 
29 
30<#if article.getExpandoBridge().hasAttribute("TinyURL") > 
31	<#assign urlSocialApp = article.getExpandoBridge().getAttribute("TinyURL")?html /> 
32	 
33	<#if urlSocialApp?? && urlSocialApp != ""> 
34		<#assign urlSocial = "http://w3.webrt.it" + urlSocialApp /> 
35	</#if> 
36</#if> 
37 
38 
39<#assign appImagePath = "" /> 
40<#if Immagine.getData()?? && Immagine.getData() != ""> 
41	<#assign appImagePath = "http://toscana-notizie.it" + Immagine.getData() /> 
42<#else> 
43	<#assign appImagePath = "http://toscana-notizie.it/" + imagePath + "/toscana-notizie-placeholder.png" /> 
44</#if> 
45 
46<#assign appSummary = "" /> 
47<#if entry.getSummary(locale)?? && entry.getSummary(locale) != ""> 
48	<#assign appSummary = entry.getSummary(locale) /> 
49</#if> 
50 
51 
52 
53 
54<#assign Autori = [] /> 
55<#assign temi = [] /> 
56<#assign Provincia = [] /> 
57 
58<#assign currentCategory = 0 /> 
59 
60<#list categoryList as category> 
61    <#assign AssetVocabularyServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyServiceUtil"]> 
62    <#assign assetVocabulary = AssetVocabularyServiceUtil.getVocabulary(category.getVocabularyId()) /> 
63    <#if assetVocabulary.getName() == "Temi"> 
64	 
65		<#if category.getParentCategory()??> 
66			<#assign childCategory = category.getName()/> 
67		<#else> 
68			<#if (currentCategory?? && currentCategory != category.getCategoryId()) > 
69				<#assign currentCategory = category.getCategoryId() /> 
70				<#assign parentCategory = category.getName()/> 
71				<#assign temi = temi + [parentCategory] /> 
72			</#if> 
73		</#if> 
74		 
75    <#elseif assetVocabulary.getName() == "5. Autori"> 
76        <#assign Autori = Autori + [category.getName()] /> 
77	<#elseif assetVocabulary.getName() == "Provincia"> 
78        <#assign Provincia = Provincia + [category.getName()] /> 
79    </#if> 
80</#list> 
81 
82<#list categoryList as category> 
83    <#if category.getParentCategory()??> 
84        <#assign childCategory = category.getName()/> 
85    <#else> 
86        <#assign parentCategory = category.getName()/> 
87    </#if> 
88</#list> 
89 
90<style> 
91.header-title{ 
92    display:none; 
93
94.header-back-to{ 
95    display:none; 
96
97 
98.hide-content{ 
99    visibility:hidden; 
100    height : 0; 
101    padding: 0px !important; 
102    overflow: hidden; 
103
104 
105.content_para{ 
106    float:none !important; 
107
108 
109.hide-content img{ 
110    display:none; 
111
112</style> 
113	 
114<#assign classColumnLeft = "9" /> 
115 
116<#assign currentArticleRelatedLinks = assetLinkLocalService.getDirectLinks(currentArticleAssetEntryId) /> 
117 
118<#assign hasLinkForColumn = "false" /> 
119<#list currentArticleRelatedLinks as related_entry> 
120	<#assign relatedAssetEntryId = related_entry.getEntryId2() /> 
121	<#assign relatedAssetEntry = AssetEntryLocalServiceUtil.getEntry(relatedAssetEntryId) /> 
122	<#assign relatedAssetEntryPrimKey = relatedAssetEntry.getClassPK() /> 
123 
124	<#if relatedAssetEntry.getClassName() == 'com.liferay.journal.model.JournalArticle' > 
125		<#assign hasLinkForColumn = "true" /> 
126	</#if> 
127</#list> 
128 
129<#if (currentArticleRelatedLinks?? && currentArticleRelatedLinks?has_content) && hasLinkForColumn == "true" > 
130	<#assign classColumnLeft = "8" /> 
131</#if> 
132 
133<section class="container rt-container" id="content"> 
134	<div class="row"> 
135		<!-- 1 --> 
136		<div class="col-md-12 portlet-column portlet-column-only" id="column-1"> 
137			<!-- Subheader news --> 
138			<section class="rt-subheader rt-subheader--news"> 
139				<div class="rt-subheader__top"> 
140					<div class="rt-subheader__category-wrapper"> 
141						<#list temi as category> 
142							<div class="rt-subheader__category"> 
143								${category} 
144							</div> 
145						</#list> 
146					</div>	 
147 
148					<div class="rt-subheader__publication"> 
149						 
150						<#assign nomeAutore = "" /> 
151						<#if Autori?? && (Autori?size > 0)> 
152							<div class="rt-subheader__author"> 
153								di 
154								<#list Autori as autore> 
155									<#if autore != "redazione"> 
156										<#assign userAutore = UserLocalServiceUtil.getUserByScreenName(themeDisplay.getCompanyId(), autore) /> 
157										<#if userAutore??  && userAutore?has_content> 
158											<#assign nomeAutore =  userAutore.getFullName() /> 
159										</#if> 
160									<#else> 
161										<#assign nomeAutore = "Redazione" /> 
162									</#if> 
163 
164									<a title="Vai alla pagina dell'autore ${nomeAutore?html}" aria-label="Vai alla pagina dell'autore ${nomeAutore?html}" href="/autori/${nomeAutore?html}"> 
165										 ${nomeAutore?html} 
166									</a> 
167 
168								</#list> 
169							</div> 
170						</#if>		 
171 
172							 
173						<#list Provincia as location> 
174							<div class="rt-news-location"> 
175								<i aria-hidden="true" class="fas fa-map-marker-alt"></i> ${location} 
176							</div> 
177						</#list> 
178 
179						<#assign publishDate = .vars['reserved-article-display-date'].data /> 
180						<#assign publishDate = publishDate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
181						<#assign dateFormatDayMonth = "dd MMMM yyyy"> 
182						<#assign dateFormatHours = "HH:mm"> 
183						<div class="rt-subheader__date">${publishDate?string(dateFormatDayMonth)?remove_beginning("0")}</div> 
184						<div class="rt-subheader__time">${publishDate?string(dateFormatHours)?remove_beginning("0")}</div> 
185						<a class="rt-subheader__button rt-subheader__button-print" onclick="window.print();" href="javascript:void(0);" title="Stampa l'articolo"><i aria-hidden="true" class="far fa-print"></i></a> 
186					</div> 
187				</div> 
188 
189				<div class="rt-subheader__wrapper"> 
190					<div class="rt-subheader__title-wrapper"> 
191						<h1 class="rt-subheader__title"> 
192							${.vars['reserved-article-title'].data}  
193						</h1><@getEditIcon /> 
194					</div> 
195					 
196					<#if ImmagineApertura?? && ImmagineApertura.getData()?? && ImmagineApertura.getData() != "" && ImmagineApertura.getData() == "true" > 
197						<#if Immagine.getData()?? && Immagine.getData() != ""> 
198							 
199							<#assign altIMG = "" /> 
200							<#if (Immagine.getAttribute("alt")?? || Immagine.getAttribute("fileEntryId")??)> 
201								<#assign altIMG = Immagine.getAttribute("alt") /> 
202							<#else> 
203								<#assign altIMG = .vars['reserved-article-title'].data /> 
204							</#if> 
205 
206							<div class="rt-subheader__cover-media" aria-label="${altIMG}" style="background-image: url('${Immagine.getData()}');"> 
207							 
208							</div> 
209							<#if Descrizione?? && Descrizione.getData() != ""> 
210								<div class="rt-subheader__caption"> 
211									${Descrizione.getData()} 
212								</div> 
213							</#if> 
214						</#if> 
215					</#if> 
216 
217					<#if entry.getSummary(locale)?? && entry.getSummary(locale) != ""> 
218						<div class="rt-subheader__excerpt"> 
219							${entry.getSummary(locale)} 
220						</div> 
221					</#if> 
222				</div> 
223 
224			</section> 
225		</div> 
226	</div> 
227	<div class="row has-sidebar"> 
228		<#if Testo?? && Testo.getData() != ""> 
229			<div class="col-md-12 col-lg-${classColumnLeft} portlet-column portlet-column-first" id="column-2"> 
230				<div class="rt-page__content rt-page-content--left"> 
231					<div class="rt-page__content-text"> 
232						 
233						<#if ImmagineApertura?has_content && !getterUtil.getBoolean(ImmagineApertura.getData()) || (ImmagineApertura?has_content && (ImmagineApertura.getData() == "false" || ImmagineApertura.getData() == ""))  > 
234 
235							<#if Immagine.getData()?? && Immagine.getData() != ""> 
236 
237								<#assign altIMG = "" /> 
238								<#if (Immagine.getAttribute("alt")?? || Immagine.getAttribute("fileEntryId")??)> 
239									<#assign altIMG = Immagine.getAttribute("alt") /> 
240								<#else> 
241									<#assign altIMG = .vars['reserved-article-title'].data /> 
242								</#if>	 
243 
244								<figure class="rt-image-align-left"> 
245									<img alt="${altIMG}" src="${Immagine.getData()}" /> 
246									<#if Descrizione?? && Descrizione.getData() != ""> 
247										<figcaption>${Descrizione.getData()}</figcaption> 
248									</#if> 
249								</figure> 
250							</#if> 
251						</#if> 
252						<p> 
253							${Testo.getData()} 
254						</p> 
255					</div> 
256				</div> 
257 
258				<div class="rt-btn-wrapper rt-btn-wrapper--right-align"> 
259					<div class="a2a_kit a2a_kit_size_32 a2a_default_style" data-a2a-title="${.vars['reserved-article-title'].data?html}"> 
260						<a class="a2a_button_facebook"></a> 
261						<a class="a2a_button_twitter"></a> 
262						<a class="a2a_button_email"></a> 
263						<a class="a2a_button_whatsapp"></a> 
264						<a class="a2a_button_linkedin"></a> 
265					</div> 
266				</div> 
267			</div> 
268		</#if> 
269		 
270		<#assign currentArticleRelatedLinks = assetLinkLocalService.getDirectLinks(currentArticleAssetEntryId) /> 
271		<#if (currentArticleRelatedLinks?? && currentArticleRelatedLinks?has_content) > 
272			<div class="col-md-12 col-lg-4 portlet-column portlet-column-last" id="column-3"> 
273 
274				<#assign hasAllegato = "false" /> 
275				<#assign hasLink = "false" /> 
276				<#list currentArticleRelatedLinks as related_entry> 
277					<#assign relatedAssetEntryId = related_entry.getEntryId2() /> 
278					<#assign relatedAssetEntry = AssetEntryLocalServiceUtil.getEntry(relatedAssetEntryId) /> 
279					<#assign relatedAssetEntryPrimKey = relatedAssetEntry.getClassPK() /> 
280 
281					<#if relatedAssetEntry.getClassName() == 'com.liferay.document.library.kernel.model.DLFileEntry' > 
282						<#assign hasAllegato = "true" /> 
283					<#elseif relatedAssetEntry.getClassName() == 'com.liferay.journal.model.JournalArticle' > 
284						<#assign hasLink = "true" /> 
285					</#if> 
286				</#list> 
287 
288				<#if (hasLink == "true") > 
289					<div class="rt-sidebar-content"> 
290						<section class="rt-section rt-section--box rt-section--box-row rt-section--related rt-section--sidebar" aria-label=""> 
291							<div class="rt-section-title-wrapper"> 
292								<h3 class="rt-section-title">Notizie collegate</h3> 
293							</div> 
294							<div class="rt-section__wrapper"> 
295								<#list currentArticleRelatedLinks as related_entry> 
296									<#assign relatedAssetEntryId = related_entry.getEntryId2() /> 
297									<#assign relatedAssetEntry = AssetEntryLocalServiceUtil.getEntry(relatedAssetEntryId) /> 
298									<#assign relatedAssetEntryPrimKey = relatedAssetEntry.getClassPK() /> 
299 
300									<#if relatedAssetEntry.getClassName() == 'com.liferay.journal.model.JournalArticle' > 
301										<#assign relatedArticle = JournalArticleLocalService.getLatestArticle(relatedAssetEntryPrimKey) /> 
302										<#if relatedArticle?? && relatedArticle != ""> 
303											 
304											<#assign assetRendererRelated = relatedAssetEntry.getAssetRenderer() /> 
305											<#assign rendererURLRelated = siteBaseURL + "/-/" + assetRendererRelated.getUrlTitle() /> 
306 
307											<#assign docXml = saxReaderUtil.read(relatedArticle.getContent()) /> 
308 
309											<#assign Immagine = docXml.valueOf("//dynamic-element[@name='Immagine']/dynamic-content/text()") /> 
310											 
311											<#assign fileUrl = "" /> 
312											<#assign altImg = "" /> 
313											<#if Immagine?has_content> 
314												<#assign json = jsonFactoryUtil.createJSONObject(Immagine) /> 
315												<#assign nameImg = json.getString("name") /> 
316												<#assign altImg = json.getString("alt") /> 
317												<#assign fileEntryId = json.getLong("fileEntryId") /> 
318												<#assign uuiD = json.getString("uuid") /> 
319												<#assign groupId = json.getLong("groupId") /> 
320 
321												<#if fileEntryId != 0> 
322													<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />  
323													<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
324												<#else> 
325													<#if groupId != 0 && uuiD != ""> 
326														<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) /> 
327														<#if fileEntry?? > 
328															<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />  
329														</#if>  
330													</#if> 
331												</#if> 
332											<#else> 
333												<#assign fileUrl = imagePath + "/toscana-notizie-placeholder.png" /> 
334											</#if> 
335 
336 
337											<div class="rt-box rt-box--has-image rt-box--has-image-small"> 
338												<div class="rt-box__image"> 
339													<img alt="Immagine ${relatedAssetEntry.getTitle(locale)?html}" src="${fileUrl?html}"> 
340 
341												</div> 
342 
343												<div class="rt-box__text"> 
344													<div class="rt-box__publication"> 
345														<div class="rt-box__date">${relatedAssetEntry.publishDate?string["dd MMMM"]?remove_beginning("0")}</div> 
346														<div class="rt-box__time">${relatedAssetEntry.publishDate?string["HH:mm"]?remove_beginning("0")}</div> 
347													</div> 
348 
349													<div class="rt-box__title"> 
350														<a title="Vai alla pagina ${relatedAssetEntry.getTitle(locale)?html}" aria-label="Vai alla pagina ${relatedAssetEntry.getTitle(locale)?html}" href="${rendererURLRelated?html}"> 
351															${relatedAssetEntry.getTitle(locale)?html} 
352														</a> 
353													</div> 
354												</div> 
355											</div> 
356 
357										</#if> 
358									</#if> 
359								</#list> 
360							</div> 
361						</section> 
362					</div> 
363				</#if> 
364			</div> 
365		</#if> 
366	</div> 
367	 
368	<@getLinkAndAllegati /> 
369	 
370</section> 
371 
372<#macro getLinkAndAllegati> 
373	<#assign assetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService") /> 
374	<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
375	<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
376	 
377	<#assign currentArticle = JournalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data) /> 
378	<#assign currentArticleResourcePrimKey = currentArticle.getResourcePrimKey() /> 
379	<#assign currentArticleAssetEntry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", currentArticleResourcePrimKey) /> 
380	<#assign currentArticleAssetEntryId = currentArticleAssetEntry.getEntryId() /> 
381	<#assign currentArticleRelatedLinks = assetLinkLocalService.getDirectLinks(currentArticleAssetEntryId) /> 
382 
383	<#assign hasAllegato = "false" /> 
384	<#assign hasLink = "false" /> 
385	<#if currentArticleRelatedLinks?? && currentArticleRelatedLinks?has_content> 
386		<#list currentArticleRelatedLinks as related_entry> 
387			<#assign relatedAssetEntryId = related_entry.getEntryId2() /> 
388			<#assign relatedAssetEntry = assetEntryLocalService.getEntry(relatedAssetEntryId) /> 
389			<#assign relatedAssetEntryPrimKey = relatedAssetEntry.getClassPK() /> 
390 
391			<#if relatedAssetEntry.getClassName() == 'com.liferay.document.library.kernel.model.DLFileEntry' > 
392				<#assign hasAllegato = "true" /> 
393			<#elseif relatedAssetEntry.getClassName() == 'com.liferay.journal.model.JournalArticle' > 
394				<#assign hasLink = "true" /> 
395			</#if> 
396		</#list> 
397	</#if> 
398 
399	<#if (hasAllegato == "true")> 
400		<div class="rt-container"> 
401			<div class="rt-wrapper"> 
402				<section class="rt-section rt-section--grid rt-section--grid-3" aria-label="Sezione link e allegati"> 
403					<div class="rt-section-title-wrapper"> 
404						<h2 class="rt-section-title"><i aria-hidden="true" class="far fa-paperclip"></i> Allegati</h2> 
405					</div> 
406 
407					<div class="rt-section__wrapper"> 
408						<#if hasAllegato == "true"> 
409							<#list currentArticleRelatedLinks as related_entry> 
410								<#assign relatedAssetEntryId = related_entry.getEntryId2() /> 
411								<#assign relatedAssetEntry = assetEntryLocalService.getEntry(relatedAssetEntryId) /> 
412								<#assign relatedAssetEntryPrimKey = relatedAssetEntry.getClassPK() /> 
413 
414								<#if relatedAssetEntry.getClassName() == 'com.liferay.document.library.kernel.model.DLFileEntry' > 
415									<#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(relatedAssetEntryPrimKey) /> 
416									<#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() /> 
417									<#if fileEntry?? && fileUrl != ""> 
418										<#if fileEntry.getExtension() == 'mp3'> 
419											<div class="rt-box rt-box--link rt-box--audio"> 
420												<div class="rt-box__header"> 
421													<div class="rt-box__wrapper"> 
422														<div class="rt-box__title"> 
423															<a title="Scarica ${fileEntry.getTitle()}" aria-label="Scarica ${fileEntry.getTitle()}" href="${fileUrl}" target="_blank"> 
424																${fileEntry.getTitle()} 
425															</a> 
426														</div> 
427														<audio controls> 
428															<source src="${fileUrl}" type="audio/ogg"> 
429															<source src="${fileUrl}" type="audio/mpeg"> 
430																Il tuo browser non supporta questo tipo di oggetto html 
431														</audio> 
432													</div> 
433												</div> 
434											</div> 
435										<#else> 
436											<div class="rt-box rt-box--link"> 
437												<div class="rt-box__header"> 
438													<div class="rt-box__wrapper"> 
439														<div class="rt-box__title"> 
440															<a target="_blank" href="${fileUrl}" aria-label="Vedi ${fileEntry.getTitle()}" title="Vedi ${fileEntry.getTitle()}"> 
441																${fileEntry.getTitle()} 
442															</a> 
443														</div> 
444													</div> 
445 
446													<div class="rt-box__icon"> 
447														<i aria-hidden="true" class="far fa-download"></i> 
448													</div> 
449												</div> 
450											</div> 
451										</#if> 
452									</#if> 
453								</#if> 
454							</#list> 
455						</#if> 
456					</div> 
457				</section> 
458			</div> 
459		</div>	 
460	</#if> 
461 
462</#macro> 
463 
464 
465<#macro getEditIcon> 
466	<#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
467		<#if renderResponse??> 
468			<#assign redirectURL = renderResponse.createRenderURL() /> 
469 
470			${redirectURL.setParameter("mvcPath", "/add_asset_redirect.jsp")} 
471			${redirectURL.setWindowState("pop_up")} 
472 
473			<#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" /> 
474 
475			<#if validator.isNotNull(editPortletURL)> 
476				<#assign title = languageUtil.format(locale, "edit-x", entryTitle, false) /> 
477 
478				<@liferay_ui["icon"] 
479					cssClass="icon-monospaced visible-interaction" 
480					icon="pencil" 
481					markupView="lexicon" 
482					message=title 
483					url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});" 
484				/> 
485			</#if> 
486		</#if>	 
487	</#if> 
488</#macro> 
489 
490<script type="text/javascript"> 
491	var a2a_config = a2a_config || {}; 
492	a2a_config.onclick = 1; 
493	a2a_config.locale = "it"; 
494	a2a_config.num_services = 5; 
495	a2a_config.title = '${.vars['reserved-article-title'].data?html}'; 
496	a2a_config.track_links = 'custom'; 
497	a2a_config.track_links_key = '${urlSocial?html}'; 
498	a2a_config.linkurl = '${urlSocial?html}'; 
499	a2a_config.linkname = 'aaaa ${.vars['reserved-article-title'].data?html}'; 
500 
501	a2a_config.templates = a2a_config.templates || {}; 
502	a2a_config.templates.twitter = { 
503		text: "${.vars['reserved-article-title'].data?html}  ${urlSocial?html}", 
504		related: "AddToAny,Twitter" 
505	}; 
506</script> 
507<script async src="https://static.addtoany.com/menu/page.js"></script>