Zum Inhalt springen

Achtung! Ihr Browser ist veraltet. Um eine optimale Darstellung sicherzustellen, verwenden Sie bitte einen aktuellen Browser.

Fehler bei der Verarbeitung der Vorlage.
Method public void com.liferay.portlet.MimeResponseImpl.setContentType(java.lang.String) threw an exception when invoked on com.liferay.portlet.RenderResponseImpl@17d34306
1<#assign feedTitle="Landesamt für Besoldung und Versorgung Baden-Württemberg"> 
2<#assign feedSubTitle="Aktuelles aus dem LBV"> 
3<#assign alternativeURL="https://lbv.landbw.de"> 
4<#assign selfURL="https://lbv.landbw.de/feed?p_p_id=101_INSTANCE_RQjYziWxJHOa&amp;p_p_lifecycle=0&amp;p_p_state=exclusive"> 
5 
6<#assign datePattern="yyyy-MM-dd'T'HH:mm:ssZZZ"> 
7<#assign currentDate=dateUtil.getCurrentDate(datePattern, locale)> 
8 
9<feed xmlns="http://www.w3.org/2005/Atom"> 
10    <title>${feedTitle}</title> 
11    <subtitle>${feedSubTitle}</subtitle> 
12    <link href="${alternativeURL}" /> 
13    <link rel="self" href="${selfURL}" /> 
14    <updated>${currentDate}</updated> 
15    <author> 
16        <name>LBV-Redaktion</name> 
17    </author> 
18    <id>${selfURL}</id> 
19 
20    <#if entries?has_content> 
21        <#list entries as curEntry> 
22            <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
23 
24            <#assign renderer= curEntry.getAssetRenderer()/> 
25 
26            <#if assetLinkBehavior != "showFullContent"> 
27                <#assign viewURL = renderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
28            </#if> 
29 
30 
31            <#if renderer.getClassName()=="com.liferay.portlet.journal.model.JournalArticle"> 
32                <#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
33 
34                <#assign content = docXml.valueOf("//dynamic-element[@name='content']/dynamic-content/text()") /> 
35                <#assign summary = stringUtil.shorten(content, 400) /> 
36 
37 
38                <entry> 
39                    <title>${curEntry.getTitle(locale)}</title> 
40                    <summary><![CDATA[${summary}]]></summary> 
41                    <link href="${htmlUtil.escape(viewURL)}"></link> 
42                    <id>${htmlUtil.escape(viewURL)}</id> 
43                    <#assign changeDate=dateFormatFactory.getSimpleDateFormat(datePattern).format(curEntry.getPublishDate())> 
44                    <updated>${changeDate}</updated> 
45                </entry> 
46 
47            </#if> 
48 
49        </#list> 
50    </#if> 
51 
52 
53</feed> 
54 
55 
56 
57${renderResponse.setContentType("application/xml")}