[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/summary/rss/ -> blogs_rss10.template (source)

   1  <?xml version="1.0" encoding="{$locale->getCharset()}"?>
   2  <?xml-stylesheet href="{$url->getUrl("/styles/rss.css")}" type="text/css"?>
   3  <rdf:RDF
   4   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   5   xmlns="http://purl.org/rss/1.0/"
   6   xmlns:dc="http://purl.org/dc/elements/1.1/"
   7  >
   8   <channel rdf:about="{$url->getRssUrl()}?summary=1&amp;profile=rss10&amp;type={$type}">
   9    <title>{$serviceName}</title>
  10    <description>Your service description</description>
  11    <link>{$url->getBaseUrl(false)}/summary.php</link>
  12   </channel>
  13    {foreach from=$blogs item=blog}
  14     {assign var=url value=$blog->getBlogRequestGenerator()}    
  15    <item rdf:about="{$url->blogLink()}">
  16     <title>{$blog->getBlog()|escape}</title>
  17     <dc:title>{$blog->getBlog()|escape}</dc:title>
  18     <description>{$blog->getAbout()|escape}</description>
  19     <link>{$url->blogLink()}</link>
  20     {assign var="blogDate" value=$blog->getCreateDateObject()}
  21     <dc:date>{$locale->formatDate($blogDate, "%Y-%m-%d %H:%M:%S")}</dc:date>
  22     {assign var="blogOwner" value=$blog->getOwnerInfo()}
  23     <dc:creator>{$blogOwner->getUsername()}</dc:creator>
  24    </item>
  25    {/foreach}
  26  </rdf:RDF>


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics