summaryrefslogtreecommitdiffstats
path: root/www/digest/digesthead.t
blob: ec637dfe8c02f5ab96c9e948b441b770d7c89ae4 (plain)
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
#ifndef MAKE_RSS
#ifdef MAKE_MAIL
#define ZAGOR  Bjrn Stenberg
#define BAGDER Daniel Stenberg
#define LINUSN Linus Nielsen Feltzing

#define NEWSDATE(x) Date: x
#define ITEM ---
#define NAME(x) x
#define ENDDATE
#define LINK(url,name) [URL]url[URL] [TEXT]name[TEXT]

#else
#define _PAGE_ Rockbox Digest
#include "head.t"
#include "news.t"

<small>
<a href="./">digest front page</a>
&middot;
<a href="./digest.rss">digest RSS feed</a>
</small>
<p>
#endif
#else
<?xml version="1.0"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">
<channel>
<title>Rockbox Digest</title>
<link>http://rockbox.haxx.se/digest/digest.html</link>
<description>Detailing the latest and the most significant subjects about Rockbox.</description>
<language>en</language>

#define NEWSDATE(x) <item><title>x</title><link>http://rockbox.haxx.se/digest/digest.html</link> <description>  &lt;ol&gt;
#define ENDDATE &lt;/ol&gt;  </description></item>
#define ITEM &lt;li&gt;
#define NAME(x) x

#define ZAGOR  Bj&ouml;rn Stenberg
#define BAGDER Daniel Stenberg
#define LINUSN Linus Nielsen Feltzing

#define LINK(url, name) &lt;a href=url&gt;name&lt;/a&gt;
#endif