media_description.xml - sfeed_tests - sfeed tests and RSS and Atom files
(HTM) git clone git://git.codemadness.org/sfeed_tests
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
media_description.xml (1399B)
---
1 <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
2 <channel>
3
4 <!-- "type specifies the type of text embedded. Possible values are either
5 "plain" or "html". Default value is "plain". All HTML must be entity-encoded.
6 It is an optional attribute." -->
7
8 <item>
9 <title>plain (default)</title>
10 <media:description>This was some really bizarre band I listened to as a young lad.</media:description>
11 </item>
12
13 <item>
14 <title>plain</title>
15 <media:description type="plain">This was some really bizarre band I listened to as a young lad.</media:description>
16 </item>
17
18 <item>
19 <title>html</title>
20 <media:description type="html">This was some really bizarre band I listened to as a young lad.</media:description>
21 </item>
22
23 <!-- invalid type attribute values -->
24
25 <!-- invalid: but sfeed handles it as "plain" -->
26 <item>
27 <title>text</title>
28 <media:description type="text">This was some really bizarre band I listened to as a young lad.</media:description>
29 </item>
30
31 <!-- invalid: but sfeed handles it as "html" -->
32 <item>
33 <title>xhtml</title>
34 <media:description type="xhtml">This was some really bizarre band I listened to as a young lad.</media:description>
35 </item>
36
37 <!-- invalid: but sfeed handles it as "plain" (default) -->
38 <item>
39 <title>bogus (plain)</title>
40 <media:description type="bogus">This was some really bizarre band I listened to as a young lad.</media:description>
41 </item>
42
43 </channel>
44 </rss>