diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-12-10 21:22:01 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-12-10 21:22:01 +0100 |
commit | 67be2746c4a7dc8232c9140c4189665ffa6c349d (patch) | |
tree | 59a49424fbdd0c467804a1f69632266a6cc0732a | |
parent | dc4876e67afbce271ec84ad4681de001ea34c6d5 (diff) |
Atom feed: Include body data for recent changes.
darcs-hash:51ebb84c4b9d13651bfc60f6700375455bb2cfe4
-rwxr-xr-x | journal.lisp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/journal.lisp b/journal.lisp index 8b36dc2..adcb55b 100755 --- a/journal.lisp +++ b/journal.lisp @@ -104,7 +104,10 @@ ("href" ,(link-to :view :post-id id :absolute t))))) - (unless (> number 8) + (when (or (and last-modification + (> last-modification (- (get-universal-time) + (* 30 24 60 60)))) + (<= number 8)) ;; We only include the body for the most recent ;; posts in order to save bandwidth. (with-tag ("content" `(("type" "xhtml") |