Browse code
chore: miscellaneous changes
fiddlerwoaroof authored on 14/10/2022 03:41:57
Showing 4 changed files
Showing 4 changed files
... | ... |
@@ -49,8 +49,8 @@ |
49 | 49 |
,@body) |
50 | 50 |
(format ,stream " ~a~%" ,after))))) |
51 | 51 |
|
52 |
-(defun skip-feed () |
|
53 |
- (when-let ((restart (find-restart 'skip-feed))) |
|
52 |
+(defun skip-feed (c) |
|
53 |
+ (when-let ((restart (find-restart 'skip-feed c))) |
|
54 | 54 |
(invoke-restart restart))) |
55 | 55 |
|
56 | 56 |
(defun save-feed (feed output-file &key (if-exists :supersede)) |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
|
70 | 70 |
(defun log-serialization (feed-url stream feed path) |
71 | 71 |
(declare (ignorable feed-url stream feed path)) |
72 |
- (with-progress-message (stream "Serializing XML" (format nil "done with ~a" feed-url)) |
|
72 |
+ (with-progress-message (stream "Serializing XML" (format nil "done with ~a at ~a" feed-url path)) |
|
73 | 73 |
(save-feed feed (merge-pathnames "feed.xml" path)))) |
74 | 74 |
|
75 | 75 |
(defun feed-relative-pathname (path &optional (feed-base *feed-base*)) |
... | ... |
@@ -27,6 +27,7 @@ |
27 | 27 |
(defmethod yason:encode-slots progn ((object feed-reference)) |
28 | 28 |
(let ((title (title object)) |
29 | 29 |
(path (path object))) |
30 |
+ (format *error-output* "~&title: ~s path: ~s~%" title (directory-of path)) |
|
30 | 31 |
(yason:encode-object-element "url" (url object)) |
31 | 32 |
(when title |
32 | 33 |
(yason:encode-object-element "title" title)) |