summary refs log tree commit diff
path: root/template/atom.ht
blob: f7d262d3236ddda439b5993bc22558016e2a2a72 (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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="text">Trivium: grammar, logic, rhetoric</title>
  <link rel="alternate" type="text/html"
	href="http://chneukirchen.org/trivium/" />
  <link rel="self" href="http://chneukirchen.org/trivium/index.atom" />
  <author>
    <name>Christian Neukirchen</name>
    <uri>http://chneukirchen.org/</uri>
    <email>chneukirchen@gmail.com</email>
  </author>
  <id>tag:chneukirchen.org,2008:trivium-feed</id>
  <generator version="0.1">trivium.rb</generator>
  <rights type="xhtml">
  <div xmlns="http://www.w3.org/1999/xhtml">
  Copyright © 2008 Christian Neukirchen, chneukirchen@gmail.com
Verbatim copying is permitted as long as this message is preserved.
  </div>
  </rights>
  <updated>${self[:time].iso8601}</updated>
$ self[:entries].each { |entry|
  <entry>
    <title>${entry[:title]}</title>
    <author>
      <name>Christian Neukirchen</name>
      <uri>http://chneukirchen.org/</uri>
      <email>chneukirchen@gmail.com</email>
    </author>
    <link rel="alternate" type="text/html"
	  href="http://chneukirchen.org/trivium/${entry[:id]}" />
    <id>tag:chneukirchen.org,2008:trivium-${entry[:id]}</id>
    <updated>${entry[:date].iso8601}</updated>
    <published>${self[:time].iso8601}</published>
    <content type="html">
${format(entry)}
    </content>
  </entry>
$ }
</feed>