<nucleusskin>
	<meta>
		<skin name="feeds/atom" />
		<template name="feeds/atom/modified" />
		<template name="feeds/atom/entries" />
		<info><![CDATA[Add Atom 1.0 support to Nucleus CMS]]></info>
	</meta>


	<skin name="feeds/atom" type="application/atom+xml" includeMode="normal" includePrefix="">
		<description>Atom 1.0 weblog syndication</description>
		<part name="index"><![CDATA[<?xml version="1.0" encoding="iso-8859-1"?>

<feed xmlns="http://www.w3.org/2005/Atom">
    <title><%blogsetting(name)%></title>
    <link rel="alternate" type="text/html" href="<%blogsetting(url)%>" />
    <link rel="self" type="application/atom+xml" href="<%blogsetting(url)%><%self%>" />
    <updated><%blog(feeds/atom/modified,1)%></updated>
    <id><%blogsetting(url)%>:<%blogsetting(id)%></id>

    <generator uri="http://nucleuscms.org/">
      <%version%>
    </generator>

    <%blog(feeds/atom/entries,10)%>
</feed>]]></part>

	</skin>


	<template name="feeds/atom/modified">
		<description>Atom feeds: Inserts last modification date</description>
		<part name="ITEM"><![CDATA[<%date(utc)%>]]></part>

	</template>


	<template name="feeds/atom/entries">
		<description>Atom feeds: Feed items</description>
		<part name="ITEM"><![CDATA[
    <entry>
        <title type="html"><![CDATA[<%title%>]]]]><![CDATA[></title>
        <link rel="alternate" type="text/html" href="<%blogurl%>index.php?itemid=<%itemid%>" />
        <author>
            <name><%author%></name>
        </author>
        <updated><%date(utc)%></updated>
        <published><%date(iso8601)%></published>
        <content type="html"><![CDATA[<%body%><%more%>]]]]><![CDATA[></content>
        <id><%blogurl%>:<%blogid%>:<%itemid%></id>
    </entry>]]></part>

	</template>


</nucleusskin>
