X-Git-Url: http://gitweb.fperrin.net/?p=atom.el.git;a=blobdiff_plain;f=atom.el;fp=atom.el;h=d159eed7029a85c69e9e33afe78739b0fb6fa599;hp=7d70ac577b445e7c9a65b067a02f2e428c03a3c4;hb=2abc1a9200ef5be03b3ceb60ff2ddfbca25d2f63;hpb=247c11ee16944f2712d78aec6361c021e30ccf51 diff --git a/atom.el b/atom.el index 7d70ac5..d159eed 100644 --- a/atom.el +++ b/atom.el @@ -78,7 +78,7 @@ feed. SELF is the canonical URL to this feed. ID is a unique identifier for this feed. If not given, it -defaults to LINK. +defaults to SELF. AUTHOR is the author of the feed. See `atom-massage-author' for the possible ways to specify it. @@ -92,7 +92,7 @@ UPDATED is the date the feed was last updated. If not given, `(((href . ,self) (rel . "self") (type . "application/atom+xml"))))) (atom-modify-entry atom-feed 'updated (atom-format-time updated)) - (atom-modify-entry atom-feed 'id (or id link)) + (atom-modify-entry atom-feed 'id (or id self link)) atom-feed)) (defun atom-push-entry (atom entry)