[ Index ]
 

Code source de Plume CMS 1.2.2

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/manager/templates/default/ -> feed.atom (source)

   1  <?php 
   2  if ($cache->processPage(3600)):
   3      pxTemplateInit('remove_numbers|context:external');
   4      pxGetLastResources(20, '', $category_id);
   5  
   6  echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
   7  ?>
   8  <feed xmlns='http://www.w3.org/2005/Atom'
   9        xml:base='<?php pxInfo('fullurl'); ?>rss.php'
  10        xml:lang='<?php pxInfo('lang'); ?>'>
  11  
  12    <title type="text"><?php pxInfo('name'); ?></title>
  13    <id><?php pxInfo('fullurl'); ?></id>
  14    <link href="./" />
  15    <link rel="self" href="" />
  16    <link rel="alternate" type="text/html" href="<?php pxInfo('fullurl'); ?>" />
  17    <generator uri="http://plume-cms.net/">Plume CMS</generator>
  18    
  19  <?php while (!$last->EOF()): ?>
  20    <entry>
  21      <title type="text"><?php pxLastResTitle('%s'); ?></title>
  22      <link rel="alternate" type="text/html" href="<?php pxLastResPath(); ?>" />
  23      <id><?php pxLastResPath(); ?></id>
  24      <updated><?php pxLastResDateModification('%Y-%m-%dT%H:%M:%SZ'); ?></updated>
  25      <author><name><?php pxLastResAuthor(); ?></name></author>
  26      <content type="xhtml">
  27          <div xmlns="http://www.w3.org/1999/xhtml">
  28              <?php pxLastResDescription(); ?>
  29          </div>
  30      </content>
  31    </entry>
  32  
  33  <?php $last->moveNext(); endwhile; ?>
  34  </feed>
  35  
  36  <?php
  37      $cache->endCache();
  38  endif;
  39  ?>


Généré le : Mon Nov 26 11:57:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics