toolkit/components/feeds/test/xml/rfc4287/entry_content_encoded.xml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0" encoding="iso-8859-1"?>
     2 <!--
     4 Description: atom entry content:encoded and xhtml works
     5 Expect: var content = feed.items.queryElementAt(1, Components.interfaces.nsIFeedEntry).content.plainText(); content == "should appear";
     7 -->
     8 <feed xmlns="http://www.w3.org/2005/Atom"
     9       xmlns:foo="http://www.example.org"
    10       foo:quux="quuux"
    11       xmlns:content="http://purl.org/rss/1.0/modules/content/">
    13   <title>hmm</title>
    15   <author>
    16     <email>hmm@example.com</email>
    17     <name>foo</name>
    18   </author>
    19   <generator version="1.1" uri="http://example.org">Hmm</generator>
    20   <author>
    21     <email>bar@example.com</email>
    22     <name>foo</name>
    23   </author>
    24   <rights type="xhtml">
    25     <div xmlns="http://www.w3.org/1999/xhtml"><i>test</i> rights</div>
    26   </rights>
    29   <entry></entry>
    31   <entry foo:bar="baz">
    32     <title>test</title>
    33     <summary type="xhtml">
    34       <div xmlns="http://www.w3.org/1999/xhtml">
    35 	<b>test</b> content
    36       </div>
    37     </summary>
    38     <content:encoded>
    39       should appear
    40     </content:encoded>
    41   </entry>
    43 </feed>

mercurial