The man page references using %s to substitute the host name for the machines. Are there other substitution variables defined somewhere like IP address?
Can you turn this on for only certain hosts? That's what I was really after.
-- Stewart
-----Original Message----- From: Thomas [mailto:tlp-hobbit at holme-pedersen.dk] Sent: Thursday, March 08, 2007 7:24 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Feature Request - LINK tag?
Check the man page for bbgen - what you are looking for is called docurl I have to pointing to a php page but you can do anything you like.
Stewart_Larsen at doh.state.fl.us wrote:
I'd like to have a tag that I can specify for a host that will make the hostname become a link to something.
For example,
10.1.1.1 host1.localdomain # ntp LINK:http://10.1.1.1
When displayed in the browser, the host name would then become a link the web server running on that host. Or it could be a FTP://, mailto,
or whatever protocols you wanted to put there. Click on the host name and off you go.
I can do the coding, but I am unsure hereto look in the code. If someone can give me a little direction (or code this up faster than I), it would be greatly appreciated. I'd be happy to submit back a patch for this.
Stew
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- BEGIN-ANTISPAM-VOTING-LINKS
Teach CanIt if this mail (ID 132756306) is spam: Spam: https://antispam.doh.ad.state.fl.us/canit/b.php?c=s&i=132756306&m=692219 8b28b8 Not spam: https://antispam.doh.ad.state.fl.us/canit/b.php?c=n&i=132756306&m=692219 8b28b8 Forget vote: https://antispam.doh.ad.state.fl.us/canit/b.php?c=f&i=132756306&m=692219 8b28b8
END-ANTISPAM-VOTING-LINKS