Function: newsticker--opml-import-outlines

newsticker--opml-import-outlines is a byte-compiled function defined in newst-backend.el.gz.

Signature

(newsticker--opml-import-outlines OUTLINES)

Documentation

Recursively import OUTLINES from OPML data.

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-backend.el.gz
(defun newsticker--opml-import-outlines (outlines)
  "Recursively import OUTLINES from OPML data."
  (mapcar (lambda (outline)
            (let ((name (xml-get-attribute outline 'text))
                  (url (xml-get-attribute outline 'xmlUrl))
                  (children (xml-get-children outline 'outline)))
              (unless (string= "" url)
                (add-to-list 'newsticker-url-list
                             (list name url nil nil nil) t))
              (if children
                        (append (list name)
                                (newsticker--opml-import-outlines children))
                      name)))
          outlines))