Function: nnrss-generate-download-script
nnrss-generate-download-script is an interactive and byte-compiled
function defined in nnrss.el.gz.
Signature
(nnrss-generate-download-script)
Documentation
Generate a download script in the current buffer.
It is useful when (setq nnrss-use-local t).
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnrss.el.gz
(defun nnrss-generate-download-script ()
"Generate a download script in the current buffer.
It is useful when `(setq nnrss-use-local t)'."
(interactive)
(insert "#!/bin/sh\n")
(insert "WGET=wget\n")
(insert "RSSDIR='" (expand-file-name nnrss-directory) "'\n")
(dolist (elem nnrss-server-data)
(let ((url (or (nth 2 elem)
(cadr (assoc-string (car elem) nnrss-group-alist)))))
(insert "$WGET -q -O \"$RSSDIR\"/'"
(nnrss-translate-file-chars (concat (car elem) ".xml"))
"' '" url "'\n"))))