Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/rss100.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/rss100.tpl  >  Download  
File: templates/rss100.tpl
Role: Configuration script
Content type: text/plain
Description: This is the template for the RSS 100 feeds
Class: x64 Feeds Generator
Generate cached XML feeds using templates
Author: By
Last change:
Date: 9 years ago
Size: 696 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="{tag:charset}"?>
<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
>

  <channel rdf:about="{tag:feed_link}">
    <title>{tag:title}</title>
    <description>{tag:description}</description>
    <link>{tag:link}</link>
    <items>
      <rdf:Seq>
      {loop:items}
        <li rdf:resource="{tag:items[].link}" />
        {/loop:items}
      </rdf:Seq>
    </items>
  </channel>
    {loop:items}
  <item rdf:about="{tag:items[].link}">
    <title>{tag:items[].title}</title>
    <link>{tag:items[].link}</link>
    <description><![CDATA[{tag:items[].description}]]></description>
  </item>
  {/loop:items}
</rdf:RDF>