Function: nnatom--read-id

nnatom--read-id is a byte-compiled function defined in nnatom.el.gz.

Signature

(nnatom--read-id ARTICLE)

Documentation

Return the ID of ARTICLE.

If the ARTICLE doesn't contain an ID but it does contain a subject, return the subject. Otherwise, return nil.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnatom.el.gz
(defun nnatom--read-id (article)
  "Return the ID of ARTICLE.
If the ARTICLE doesn't contain an ID but it does contain a subject,
return the subject.  Otherwise, return nil."
  (or (nnatom--dom-line (dom-child-by-tag article 'id))
      (nnatom--read-subject article)))