Require base-uri for feeds
This commit is contained in:
parent
1d5075c232
commit
9dcb1674cd
|
@ -12,7 +12,7 @@
|
||||||
(defvar *feeds* (make-hash-table :test 'equalp))
|
(defvar *feeds* (make-hash-table :test 'equalp))
|
||||||
|
|
||||||
(defun register-feed (&key base-uri name title path)
|
(defun register-feed (&key base-uri name title path)
|
||||||
(when (not (and name title path))
|
(when (not (and base-uri name title path))
|
||||||
(error "Must specify :name, :title, and :path for feeds."))
|
(error "Must specify :name, :title, and :path for feeds."))
|
||||||
(if-let ((verified-path (probe-file path)))
|
(if-let ((verified-path (probe-file path)))
|
||||||
(progn (when (pathname-name verified-path)
|
(progn (when (pathname-name verified-path)
|
||||||
|
|
Loading…
Reference in New Issue