aboutsummaryrefslogtreecommitdiffstats
path: root/wip/atom-ext
blob: e7a88d4e3d36fcc6a7112caf17ca837455bc48d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:foaf="http://xmlns.com/foaf/0.1"
      xml:base="http://www.example.org">
  ...
  <author>
    <name>James M Snell</name>
    <foaf:homepage rdf:resource="/blog" />
    <foaf:img rdf:resource="/mypic.png" />  
  </author>
  <contributor>
    <name>Jane Doe</name>
    <foaf:homepage rdf:resource="/janesblog" />
    <foaf:image rdf:resource="/janespic.png" />
  </contributor>
  ...
</feed>




<feed xmlns="http://www.w3.org/2005/Atom"
      xml:base="http://www.example.org/">
  <id>http://www.example.org/pictures</id>
  <title>My Picture Gallery</title>
  <updated>2005-07-15T12:00:00Z</updated>
  <author>
    <name>James M Snell</name>
  </author>
  <entry>
     <id>http://www.example.org/entries/1</id>
     <title>Trip to San Francisco</title>
     <link href="/entries/1" />
     <updated>2005-07-15T12:00:00Z</updated>
     <summary>A picture of my hotel room in San Francisco</summary>
     <content type="image/png" src="/mypng1.png" />
  </entry>
  <entry>
    <id>http://www.example.org/entries/2</id>
    <title>My new car</title>
    <link href="/entries/2" />
    <updated>2005-07-15T12:00:00Z</updated>
    <summary>A picture of my new car</summary>
    <content type="image/png" src="/mypng2.png" />
  </entry>
</feed>