/[suikacvs]/markup/html/whatpm/t/content-model-atom-threading-1.dat
Suika

Contents of /markup/html/whatpm/t/content-model-atom-threading-1.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Mar 20 09:38:47 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
++ whatpm/t/ChangeLog	20 Mar 2008 09:30:57 -0000
	* ContentChecker.t: |content-model-atom-threading-1.dat|
	added.

	* content-model-atom-threading-1.dat: New test file.

2008-03-20  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ContentChecker/ChangeLog	20 Mar 2008 09:31:15 -0000
	* Atom.pm: Support for |thr:in-reply-to| element.

2008-03-20  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 #data
2     <!-- From RFC 4685 -->
3     <feed xmlns="http://www.w3.org/2005/Atom"
4     xmlns:thr="http://purl.org/syndication/thread/1.0">
5     <id>http://www.example.org/myfeed</id>
6     <title>My Example Feed</title>
7     <updated>2005-07-28T12:00:00Z</updated>
8     <link href="http://www.example.org/myfeed" />
9     <author><name>James</name></author>
10     <entry>
11     <id>tag:example.org,2005:1</id>
12     <title>My original entry</title>
13     <updated>2006-03-01T12:12:12Z</updated>
14     <link
15     type="application/xhtml+xml"
16     href="http://www.example.org/entries/1" />
17     <summary>This is my original entry</summary>
18     </entry>
19     <entry>
20     <id>tag:example.org,2005:1,1</id>
21     <title>A response to the original</title>
22     <updated>2006-03-01T12:12:12Z</updated>
23     <link href="http://www.example.org/entries/1/1" />
24     <thr:in-reply-to
25     ref="tag:example.org,2005:1"
26     type="application/xhtml+xml"
27     href="http://www.example.org/entries/1"/>
28     <summary>This is a response to the original entry</summary>
29     </entry>
30     </feed>
31     #errors
32     /feed;element missing:atom|link|self;s
33    
34     #data
35     <!-- From RFC 4685 -->
36     <feed xmlns="http://www.w3.org/2005/Atom"
37     xmlns:thr="http://purl.org/syndication/thread/1.0">
38     <id>http://www.example.org/myfeed</id>
39     <title>My Example Feed</title>
40     <updated>2005-07-28T12:00:00Z</updated>
41     <link href="http://www.example.org/myfeed" />
42     <author><name>James</name></author>
43     <entry>
44     <id>tag:example.org,2005:1,1</id>
45     <title>A response to the original</title>
46     <updated>2006-03-01T12:12:12Z</updated>
47     <link href="http://www.example.org/entries/1/1" />
48     <thr:in-reply-to
49     ref="tag:example.org,2005:1,0"
50     type="application/xhtml+xml"
51     href="http://www.example.org/entries/1"
52     source="http://www.example.org/myfeed" />
53     <link
54     rel="related"
55     type="application/xhtml+xml"
56     href="http://www.example.org/entries/1" />
57     <summary>This is a response to the original entry</summary>
58     </entry>
59     </feed>
60     #errors
61     /feed;element missing:atom|link|self;s
62    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24