clix/publish_atom.lua

changeset 112
9c4b996bdfd8
parent 111
ab7e4845b6c1
child 113
8c9ab9920c79
--- 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();

mercurial