2010-09-12 3 views

Répondre

0

Il y a un draft standard d'étendre Atom avec les fils de discussion, mais ce n'est plus actif. Ceci est un flux avec des commentaires:

<feed xmlns="http://www.w3.org/2005/Atom" 
     xmlns:thr="http://purl.org/syndication/thread/1.0"> 
    <id>http://www.example.org/myfeed</id> 
    <title>My Example Feed</title> 
    <updated>2005-07-28T12:00:00Z</updated> 
    <link href="http://www.example.org/myfeed" /> 
    <author><name>James</name></author> 
    <entry> 
    <id>tag:example.org,2005:1</id> 
    <title>My original entry</title> 
    <updated>2006-03-01T12:12:12Z</updated> 
    <link 
     type="application/xhtml+xml" 
     href="http://www.example.org/entries/1" /> 
    <summary>This is my original entry</summary> 
    </entry> 
    <entry> 
    <id>tag:example.org,2005:1,1</id> 
    <title>A response to the original</title> 
    <updated>2006-03-01T12:12:12Z</updated> 
    <link href="http://www.example.org/entries/1/1" /> 
    <thr:in-reply-to 
     ref="tag:example.org,2005:1" 
     type="application/xhtml+xml" 
     href="http://www.example.org/entries/1"/> 
    <summary>This is a response to the original entry</summary> 
    </entry> 
</feed> 
+0

merci beaucoup, je Kwebble –

+0

mis en place un module rome qui implémente les extensions de filetage: https://github.com/rometools/rome-modules – icyerasor

0

Vous pouvez utiliser html dans RSS mais <et> doit être présent comme & lt; et & gt;

<description> 
... 
&lt;!-- comments --&gt; 
&lt;ul&gt; 
    &lt;li&gt;comment1&lt;/li&gt; 
    &lt;li&gt;comment2&lt;/li&gt; 
    &lt;li&gt;comment3&lt;/li&gt; 
    &lt;li&gt;comment4&lt;/li&gt; 
&lt;ul&gt; 
</description> 
Questions connexes