Hi,<div><br></div><div>For our upcoming antarctic balloon campaign, we will be using kst2.  For this, we need to be able to easily submit plots to a log server.  In the past, we have used &quot;elog&quot;, and plan to for this campaign, though there may be better solutions long term.</div>

<div><br></div><div>kst1.x achieved this using a dedicated &#39;extension&#39; which, in enabled at run time:</div><div>-added a configuration dialog to set things like the server, user name, password, etc.</div><div>-added a button to the tool bar which called up the elog submission dialog</div>

<div>-added the elog submission dialog which allowed the user to enter a text note, and decide whether to upload pngs of the plots, the .kst files, or both.  Apply would send the message, along with the pngs and kst files as attachments.</div>

<div><br></div><div>This worked fine, but meant elog specific code which, while not run-time enabled, did add to the overall &#39;cruft&#39; of the project. Most people don&#39;t use elog, and we won&#39;t forever.</div>
<div><br></div><div>I am considering an alternative.</div><div>  -&gt; no configuration dialog</div><div>  -&gt; don&#39;t save the kst file.  I&#39;ve never seen it useful.</div><div>  -&gt; by default, kst2 will store the text note and the kst file in /&lt;logdir&gt;/&lt;ctime&gt;.txt and /&lt;logdir&gt;/&lt;ctime&gt;.png.</div>

<div>  -&gt; in addition, kst2 will run an optionally provided script/command line command once the files have been saved to &lt;logdir&gt;</div><div><br></div><div>The log dialog will have</div><div>  -A filename entry to specify &lt;logdir&gt; (sticky)</div>
<div>  -A text box entry to enter the comment</div>
<div>  -A text line entry to enter the script to be run once the files have been saved to &lt;logdir&gt; (sticky)</div><div><br></div><div>In the text line entry for the script, the following variables will be defined:</div>
<div>  -$PLOT: where the png of the plot has been saved (ie, /&lt;logdir&gt;/&lt;ctime&gt;.png)</div><div>  -$MESSAGE: where the message has been saved(ie, /&lt;logdir&gt;/&lt;ctime&gt;.txt)</div><div>  </div><div>So, for elog, you might enter:</div>
<div>/usr/bin/elog -h <a href="http://blastelogserver.info">blastelogserver.info</a> -u netterfield weakpasswd -f $PLOT -m $MESSAGE</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>
Since it is sticky, the user would only have to enter it once.  If different users need to upload entries to some</div><div>other place, like a wiki, they could write their own shell script to do it, and use the same interface.</div>
<div><br></div><div>-does this seem like a good approach?</div><div><br></div><div>cbn</div><div><br></div>