Function: newsticker--parse-text-container

newsticker--parse-text-container is a byte-compiled function defined in newst-backend.el.gz.

Signature

(newsticker--parse-text-container NODE)

Documentation

Handle content according to `type' attribute.

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-backend.el.gz
(defun newsticker--parse-text-container (node)
  "Handle content according to ``type'' attribute."
  (let ((content (car (xml-node-children node))))
    (if (string= "html" (xml-get-attribute node 'type))
        ;; element contains entity escaped html
        content
      ;; plain text or xhtml
      (newsticker--unxml content))))