[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] custom script help
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] custom script help
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Thu, 2 Aug 2007 15:35:45 -0500
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZmlAAMSfnHycqWKuiVUhovDty/FTszXGTORFx1ELdcvst6tkACmmdk/v7kxg/0CPCYFI9ORItgoDajtJ0QE5MAvqJhmIEXRG7JWFciUe2VpE8+k8jQvKeKCOHUq67bEiVpv9NP4mR04+z779JjixKKpPBGBr2WcKsxRnGANhwyA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H/lW/c4mcwBa/wRuhrE4tjVH2lowowD865aaQRwmSgZmetb5ufrAuaa596uU9MvJ4XwTQq9SzRJNfwsZgVo6+Gz8ugIUumkeasLnELsLjCEJ7rTdWnyDqq4qDzHYF8It+b9Su0P88aTvSgDKGLAxNoBs+/ozEOmax3IZ9L7fDSw=
- References: <C002D6C0-F07D-486E-B08B-2AA213131E3B (at) oleh.com>
On 8/2/07, Avi Rosenblatt <arosen (at) oleh.com> wrote:
> Hi,
> I'm writing a custom script that parses a mailbox and sends the
> contents to the hobbit server. The problem is some emails are large,
> so I would like the status page to show a list of email subjects
> which, when one is clicked, would display the contents of that
> message. Is that possible? If so, how would I go about sending the
> body of each message and generating a link in the status page.
If your script assembles a message something like this:
LINE="status $MACHINE.$TEST $COLOR `date`
<a href=url_for_message_1>subject of message 1</a>
<a href=url_for_message_2>subject of message 2</a>"
and then sends that to Hobbit using:
$BB $BBDISP "$LINE"
you should get a detail page with clickable links.
$MACHINE should be the machine name with commas instead of dots.
$TEST should be the name of the column you want to report.
Ralph Mitchell