diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2009-11-06 13:52:52 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2009-11-06 13:52:52 +0100 |
commit | 36aa75be02ff29571830d9f529cd4515bfeebbab (patch) | |
tree | dc797b486de0e2055ebf64435e352f651705c783 /utils.lisp | |
parent | 0423744021fe099ce4f29d98de5f4f119df34cfa (diff) |
Support pingbacks.
Ignore-this: 534fc0ed2f9e22c9b6a92cde14bedf2f
darcs-hash:d70c51f9d5d9002dab339dd6ceb79fef2cd89f27
Diffstat (limited to 'utils.lisp')
-rw-r--r-- | utils.lisp | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -367,6 +367,21 @@ ELEMENT-TYPE as the stream's." (spamp comment) (excerpt-of comment)))) +(defun mail-pingback (address pingback entry) + (declare (type journal-pingback pingback)) + (mail address + (format nil "[Pingback] ~A" (title-of entry)) + (format nil "~&Pingback von: ~A~ + ~&Nummer: ~A~ + ~&IP-Adresse: ~A~ + ~&Webbrowser: ~A~ + ~&Als Spam erkannt: ~A" + (url-of pingback) + (id-of pingback) + (submitter-ip pingback) + (submitter-user-agent pingback) + (spamp pingback)))) + (defun revalidate-cache-or-die (content-type) (when (eq *mode* :http) #+clisp |