diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2009-11-12 18:48:26 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2009-11-12 18:48:26 +0100 |
commit | c415b90ccbceb81cbe71331beb7e54319d4b6863 (patch) | |
tree | a96a7008c93a92d1af2e75da6c2d90d96ce8cdd2 /main.lisp | |
parent | 7f6e44802a526169724a591b99315b333105ced6 (diff) |
Add action “sitemap”.
Ignore-this: df94e19d8c627a7270d261d85ca535ba
darcs-hash:e684aef65cbe3a8b8cb35656a26859611bd8b50d
Diffstat (limited to 'main.lisp')
-rw-r--r-- | main.lisp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -48,6 +48,7 @@ ((string= "moderate" (car (last *subpath*))) :moderate) ((string= "atom" (car (last *subpath*))) :view-atom-entry) ((string= "rebuild" (car (last *subpath*))) :rebuild) + ((string= "sitemap" (car (last *subpath*))) :sitemap) ((member (car (last *subpath*)) '("rpc" "RPC2") :test #'string=) :xml-rpc) (t nil)))) (*query* (if (member *action* '(:view-atom-entry :xml-rpc)) @@ -148,7 +149,8 @@ ;; Update static files. (update-index-page) (update-journal-entry-page entry) - (update-atom-feed))) + (update-atom-feed) + (update-site-map))) (show-web-journal)) (:moderate (let* ((id (getf *query* :id nil)) (type (getf *query* :type nil)) @@ -342,6 +344,7 @@ :pretty nil :escape nil :stream *standard-output*))) + (:sitemap (show-site-map)) (otherwise (show-web-journal))) #.(restore-sql-reader-syntax-state)) |