text/x-html; xmosaic %s
text/x-html; xmosaic %s; compose=htmlcompose %s;\
description="HTML Hypertext generated by tkWWW 0.8"
Where htmlcompose is...
#!/bin/sh
WWW_HOME=$1.html export WWW_HOME
cat >$WWW_HOME <<!!EOF!!
<title>HTML generated for `whoami`@`hostname`.`domainname` by TkWWW</title>
<h1>Type your message in here!</h1>
!!EOF!!
tkWWW -wwwnoinfo
mv $1.html $1
The only drawback with using tkWWW this way is that you have
to go through the "generate source" & "save source" dialogs
to get your HTML exported.
Suggestion:
One way to get around this would be to have a command line option
(say -wwwsource) that told it just to act as an HTML editor, reading
in $1 and dumping the exported HTML automatically on exiting.
Martin
PS An "insert file" option would be quite nice too!