ListLatest.html 1.74 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers">
	<channel>
		<title>{settings.rss.channel.title}</title>
		<link>{settings.rss.channel.link}</link>
		<description>{settings.rss.channel.description}</description>
		<language>{settings.rss.channel.language}</language>
		<f:if condition="{settings.rss.channel.copyright}">
			<copyright>{settings.rss.channel.copyright}</copyright>
		</f:if>
		<pubDate>
			<f:format.date format="r" date="now" />
		</pubDate>
		<lastBuildDate>
			<f:format.date format="r" date="now" />
		</lastBuildDate>
		<f:if condition="{settings.rss.channel.category}">
			<category>{settings.rss.channel.category}</category>
		</f:if>
		<atom:link href="{f:uri.page(pageType: 837, absolute: 1) -> f:format.htmlentities()}" rel="self" type="application/rss+xml" />
		<generator>{settings.rss.channel.generator}</generator>
		<f:if condition="{extensions}">
			<f:for each="{extensions}" as="extension">
				<item>
					<guid isPermaLink="false">extension-{extension.lastVersion.uid}</guid>
29 30 31 32
					<pubDate><f:format.date format="r">{extension.lastVersion.uploadDate}</f:format.date></pubDate>
					<title><f:format.htmlspecialchars>{extension.lastVersion.title} [{extension.extKey}] (v{extension.lastVersion.versionString})</f:format.htmlspecialchars></title>
					<link><f:format.htmlentities><f:uri.action pageUid="{settings.pages.extensionDetailPID}" action="show" controller="Extension" arguments="{extension : extension}" absolute="1" /></f:format.htmlentities></link>
					<description>{extension.lastVersion.uploadComment}</description>
33 34 35 36 37
				</item>
			</f:for>
		</f:if>
	</channel>
</rss>