Hi Jon,
please excuse my bad explanations.
To use a similar upload like the Sailracer plugin (I did not look at it
till now) is a great idea! Give me some days to test it.
To the semicolon:
In the dialogue window "Export to clipbord as plain text" Sailwave
offers the direct choice of the separators "Tab", "Space", and "Comma"
by options. The semicolon must be entered manually in the field "Other
string". To remember the scorer to select our standard separator the
additional option "Semicolon" would be helpful.
I hope I explained it better now.
Dierk
Hi Dierk,
You have confused me a bit now. I don't understand how clicking a
single
icon on the desktop would be difficult for a scorer. Especially as
this
could be batch file that initiated the upload to your server.
Although from what I understand of your requirement wouldn't the
Plugin
that sends the results to Sailracer do the job for you if it went to
your
server instead of Sailracer? This is the results in a csv format.
Jon
> **
>
>
> Hi Jon,
> many thanks for Your quick answer and offer.
>
> The stucture and contents of the export are perfect for our
application.
> I want to avoid invoking an additional program and its handling for
our
> less experienced scorers. It would be nice to add an option to
select
> the semicolon as field separator (our standard) directly.
>
> To copy the uploaded file to a write protected directory a
PHP-script is
> required (has admin rights). It takes only a few additional lines of
> code validating and converting the content to our internal
> CSV-structure.
>
> Most of our pages (www.wfg-baldeneysee.org) are created dynamically
by
> PHP. If You are interested go to the regatta table "Regattatabelle".
In
> the third row You will find the 2.4 mR class and "(show English Info
> Page)". On the info page the entry list (competitors) and the
results
> list can be selected (and other informations).
>
> I have done my first tests of layouts on printing results using
HTML5
> and Javascript to format the pages for our requirements. The new
feature
> of setting the class names of styles (columns) is a great help (e.g.
> selecting tags by getElementsByClassName()). I can send a PDF
printout
> to You (and all files used). Only Firefox is a usable browser for
> printing.
>
> Dierk
>
>
> >
> > Hi Dierk,
> >
> > If you could send me a sample of the output you would like to
> > jon@ I'll see what I can do. It might be more flexible if I
>
> > give you a standalone program that will convert the .blw file to a
csv
> file
> > of the format you require.
> >
> > I already have one that does it for the competitors but not for
the
> race
> > results. This might work better for you because you could have an
ini
> file
> > which specified which columns and format things get printed in.
> >
> > Lets have a look at what would be you minimum spec to be useful
and
> what
> > would be your ideal and I'll see what I can do.
> >
> > Regards
> >
> > Jon
> >
> >
> >
> > > **
>
> > >
> > >
> > > Hi Colin and Jon,
> > > the speed of (good and useful!) beta versions is unbelievable.
> Please,
> > > permit me a wish.
> > >
> > > The export of the summery table to the clipboard is a very
valuable
> > > feature of Sailwave. To save the CSV-stucture as a file a spread
> sheet
> > > must be opened, paste from clipboard selected, and all columns
must
> be
> > > set to text format in the import dialogue before closing this
> window.
> > > Then the results can be saved in file. No manual editing of the
> > > CSV-stucture is necessary.
> > >
> > > We need this export for uploading the results to the webserver
by
···
--- In sailwave@yahoogroups.com, Jon Eskdale <jon@...> wrote:
On 11 December 2012 21:27, heppi33 heppi33@... wrote:
> --- In sailwave@yahoogroups.com, Jon Eskdale jon@ wrote:
> > On 10 December 2012 23:19, heppi33 heppi33@ wrote:
> file
> > > transfer (not ftp!) from a form. A PHP-postprocessor is started
> > > automatically on the webserver by this type of data upload.
> > >
> > > This could be simplified drastically if:
> > >
> > > - a button "Export to file" is added in the export dialogue
> > >
> > > - a "Save as" dialogue is opend
> > >
> > > - the default directory is the same as the opened *.blw file
> > >
> > > - the default file name is the same as the *.blw file but has an
> > > extension like ".txt"
> > >
> > > - do not allow the extension ".blw" to protect the data file(s)
> > >
> > > The JSON-structure is too complex to be extracted to our simple
> needs.
> > >
> > > Dierk
> > >
> > >
> > >
> >
> >
> >
> > --
> > Jon Eskdale
> > 07976 709777
> > Skype "eskdale"
> >
>
>
>
--
Jon Eskdale
07976 709777
Skype "eskdale"