[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/templates/default/ -> feed_1.0.tpl (source)

   1  <?xml version="1.0" encoding="utf-8" ?>
   2  
   3  <rdf:RDF {$namespace_display_dat}
   4     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   5     xmlns:admin="http://webns.net/mvcb/"
   6     xmlns:content="http://purl.org/rss/1.0/modules/content/"
   7     xmlns:dc="http://purl.org/dc/elements/1.1/"
   8     xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   9     xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  10     xmlns="http://my.netscape.com/rdf/simple/0.9/">
  11  <channel>
  12      <title>{$metadata.title}</title>
  13      <link>{$metadata.link}</link>
  14      <description>{$metadata.description}</description>
  15      <dc:language>{$metadata.language}</dc:language>
  16  {if $metadata.showMail}
  17      <admin:errorReportsTo rdf:resource="mailto:{$metadata.email}" />
  18  {/if}
  19  
  20      {$metadata.additional_fields.image_rss10_channel}
  21  
  22      <items>
  23        <rdf:Seq>
  24  {foreach from=$entries item="entry"}
  25          <rdf:li resource="{serendipity_rss_getguid entry=$entry is_comments=$is_comments}" />
  26  {/foreach}
  27        </rdf:Seq>
  28      </items>
  29  </channel>
  30  
  31  {$metadata.additional_fields.image_rss10_rdf}
  32  {$once_display_dat}
  33  
  34  {foreach from=$entries item="entry"}
  35  <item rdf:about="{$entry.feed_guid}">
  36      <title>{$entry.feed_title}</title>
  37      <link>{$entry.feed_entryLink}{if $is_comments}#c{$entry.commentid}{/if}</link>
  38  {if !empty($entry.body)}
  39      <description>
  40      {$entry.feed_body|@escape} {$entry.feed_ext|@escape}
  41      </description>
  42  {/if}
  43  
  44      <dc:publisher>{$entry.feed_blogTitle}</dc:publisher>
  45      <dc:creator>{$entry.feed_email} ({$entry.feed_author})</dc:creator>
  46      <dc:subject>
  47      {foreach from=$entry.categories item="cat"}{$cat.feed_category_name}, {/foreach}</dc:subject>
  48      <dc:date>{$entry.feed_timestamp}</dc:date>
  49      <wfw:comment>{$serendipityBaseURL}wfwcomment.php?cid={$entry.feed_id}</wfw:comment>
  50  {if !$is_comments}
  51          <slash:comments>{$entry.comments}</slash:comments>
  52          <wfw:commentRss>{$serendipityBaseURL}rss.php?version={$metadata.version}&amp;type=comments&amp;cid={$entry.feed_id}</wfw:commentRss>
  53  {/if}    
  54      {$entry.per_entry_display_dat}
  55  </item>
  56  {/foreach}
  57  
  58  </rdf:RDF>
  59  


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics