2010-09-12 49 views

回答

0

有一個draft standard通過線程討論擴展Atom,但不再有效。這是評論的供稿:

<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

非常感謝,Kwebble – 2010-09-13 11:24:33

+0

我實現了一個實現線程擴展的羅馬模塊:https://github.com/rometools/rome-modules – icyerasor 2015-01-23 10:37:51

0

您可以在RSS中使用html,但<和>必須存在爲& lt;和& 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>