Software /
code /
clix
Changeset
110:9c4b996bdfd8
clix.publish_atom: Why were there an argument given to :up() ???
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 02 Jul 2013 17:04:14 +0200 |
parents | 109:ab7e4845b6c1 |
children | 111:8c9ab9920c79 |
files | clix/publish_atom.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/clix/publish_atom.lua Tue Jul 02 17:03:34 2013 +0200 +++ b/clix/publish_atom.lua Tue Jul 02 17:04:14 2013 +0200 @@ -24,7 +24,7 @@ -- Required: id, title, updated, author (which must have a name) local entry_id = opts.id or new_uuid(); local atom_entry = verse.stanza("entry", { xmlns = xmlns_atom}) - :tag("id"):text(entry_id):up(id) + :tag("id"):text(entry_id):up() :tag("title"):text(opts.title or ""):up() :tag("updated"):text(opts.updated or datetime()):up(); atom_entry:tag("author"):tag("name"):text(opts.author or os.getenv("USER") or "Unknown author"):up();