]> git.mxchange.org Git - friendica.git/blob - wip/atom-ext
revamp of item structure
[friendica.git] / wip / atom-ext
1 <feed xmlns="http://www.w3.org/2005/Atom"
2       xmlns:foaf="http://xmlns.com/foaf/0.1"
3       xml:base="http://www.example.org">
4   ...
5   <author>
6     <name>James M Snell</name>
7     <foaf:homepage rdf:resource="/blog" />
8     <foaf:img rdf:resource="/mypic.png" />  
9   </author>
10   <contributor>
11     <name>Jane Doe</name>
12     <foaf:homepage rdf:resource="/janesblog" />
13     <foaf:image rdf:resource="/janespic.png" />
14   </contributor>
15   ...
16 </feed>
17
18
19
20
21 <feed xmlns="http://www.w3.org/2005/Atom"
22       xml:base="http://www.example.org/">
23   <id>http://www.example.org/pictures</id>
24   <title>My Picture Gallery</title>
25   <updated>2005-07-15T12:00:00Z</updated>
26   <author>
27     <name>James M Snell</name>
28   </author>
29   <entry>
30      <id>http://www.example.org/entries/1</id>
31      <title>Trip to San Francisco</title>
32      <link href="/entries/1" />
33      <updated>2005-07-15T12:00:00Z</updated>
34      <summary>A picture of my hotel room in San Francisco</summary>
35      <content type="image/png" src="/mypng1.png" />
36   </entry>
37   <entry>
38     <id>http://www.example.org/entries/2</id>
39     <title>My new car</title>
40     <link href="/entries/2" />
41     <updated>2005-07-15T12:00:00Z</updated>
42     <summary>A picture of my new car</summary>
43     <content type="image/png" src="/mypng2.png" />
44   </entry>
45 </feed>