diff options
Diffstat (limited to '')
-rw-r--r-- | atom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/atom.c b/atom.c index 85393c9..ea58c49 100644 --- a/atom.c +++ b/atom.c @@ -158,7 +158,7 @@ int atomIndexOpen(FILE *file) { const char *template = TEMPLATE( <[q]xml version="1.0" encoding="utf-8"[q]> <feed xmlns="http://www.w3.org/2005/Atom"> - <id>[base]</id> + <id>mailto:[addr]</id> <title>[title]</title> <updated>[updated]</updated> <link rel="self" href="[base]/index.atom"/> @@ -169,6 +169,7 @@ int atomIndexOpen(FILE *file) { strftime(updated, sizeof(updated), "%FT%TZ", gmtime(&now)); struct Variable vars[] = { { "q", "?" }, + { "addr", baseAddress }, { "base", (baseURL ? baseURL : "") }, { "title", baseTitle }, { "updated", updated }, |