On Monday 27 June 2005 11:23, Joseph Reagle wrote:
What to do??
Fortunately,
http://marc.theaimsgroup.com/ provides a Web
archive to these lists with the ability to query based on message-id.
The following procmail script will add a header and signature
containing a URL of the message:
###################################################################
########
# insert X-Archived-At header into messages from Wikimedia lists
# :0fwh will append the "Archived at" at the beginning of the
# message
:0
* ^List-Id: .*Wiki[mp]edia.org
{
MID=`formail -xMessage-Id | tr -d '<' | tr -d '>' | tr -d '
'`
URL="http://marc.theaimsgroup.com/?i=<${MID}>"
:0fw
| (formail -I"X-Archived-At: ${URL}>"; echo "Archived at:
${URL}")
}
Unfortunately, the URL contains the excluded character delimiters '<'
and '>' meaning it is not a valid URL and won't be automatically
clickable in some applications such as KMail.