Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/atom.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Full name  >  x64 Feeds Generator  >  templates/atom.tpl  >  Download  
File: templates/atom.tpl
Role: Configuration script
Content type: text/plain
Description: This is the template for the Atom0.3 feeds
Class: x64 Feeds Generator
Generate cached XML feeds using templates
Author: By
Last change: Updated to reflect the new changes made to the class and to make it 'a little bit more valid' (please read readme.txt).
Date: 8 years ago
Size: 1,025 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="{tag:charset}"?>
<feed xml:lang="{tag:language}" version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <title>{tag:title}</title>
    <tagline><![CDATA[{tag:description}]]></tagline>
    <generator url="http://www.atomo64.tk/">{tag:generator}(Atomo64 Atom 0.3 Template, v0.2)</generator>
    <id>{tag:id}</id>
    <link rel="alternate" type="text/html"
        href="{tag:link}"/>

    <modified>{tag:date_utc}</modified>
    <author>
        <name>{tag:creator}</name>
    </author>
    {loop:items}
        <entry updated="{tag:items[].published_utc}">
            <title><![CDATA[{tag:items[].title}]]></title>
            <link rel="alternate" type="text/html"
                href="{tag:items[].link}"/>
            <id>{tag:items[].link}</id>
            <summary type="text/plain"><![CDATA[{tag:items[].description}]]></summary>
            <author>
                <name>{tag:items[].author}</name>
                <mail>{tag:items[].mail}</mail>
            </author>
            <dc:subject>{tag:items[].category}</dc:subject>
        </entry>
    {/loop:items}
</feed>