x
 
Create New Page
 View Previous Changes    ( Last updated by Lisa Wess )

Atom 1.0

This is an Atom 1.0 Template.

{assign_variable:master_weblog_name="weblog1"
{assign_variable
:atom_feed_location="group/template"

{exp
:rss:feed weblog="{master_weblog_name}"

<?xml version
="1.0" encoding="{encoding}"?> 
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{weblog_language}"

<
title type="text">{exp:xml_encode}{weblog_name}{/exp:xml_encode}</title
<
subtitle type="text">{exp:xml_encode}{weblog_description}{/exp:xml_encode}</subtitle
<
link rel="alternate" type="text/html" href="{weblog_url}" /> 
<
link rel="self" type="application/atom+xml" href="{path={atom_feed_location}}" /> 
<
updated>{gmt_edit_date format='%Y-%m-&#xd;T;%H:%i:&#xsZ;'}</updated
<
rights>Copyright (c{gmt_date format="%Y"}{author}</rights
<
generator uri="http://www.pmachine.com/" version="{version}">ExpressionEngine</generator
<
id>tag:{trimmed_url},{gmt_date format="%Y:%m:%d"}</id


{exp:weblog:entries weblog="{master_weblog_name}" limit="15" rdf="off" dynamic_start="on"
<entry
<
title type="html">{exp:xml_encode}{title}{/exp:xml_encode}</title
<
link rel="alternate" type="text/html" href="{url_title_path=site/index}" /> 
<
id>tag:{trimmed_url},{gmt_date format="%Y"}:{relative_url}/{weblog_id}.{entry_id}</id
<
published>{gmt_entry_date format="%Y-%m-&#xd;T;%H:%i:&#xsZ;"}</published
<
updated>{gmt_edit_date format='%Y-%m-&#xd;T;%H:%i:&#xsZ;'}</updated
<
author
<
name>{author}</name
<
email>{email}</email
{if url}<uri>{url}</uri>{/if} 
</author
{categories} 

<category term="{exp:xml_encode}{category_name}{/exp:xml_encode}" 
scheme="{path=site/index}" 
label="{exp:xml_encode}{category_name}{/exp:xml_encode}" />{/categories} 
<content type="html"><![CDATA[ 
{body} {extended} 
]]
></content
</
entry
{/exp:weblog:entries}


</feed

{/exp:rss:feed} 

Thread

Category:RSS Category:Templates

Category:EE1

Categories: