publishing results in htm

I have a problem, when publishing the results the individual races are
headed by the race name followed by the date and time. I have
unchecked the boxes in the options tab. On the website the webmaster
uses the race header to select the individual race for the day. How
can I prevent the date and time being included? This is new since
upgrading to 2 bld 2
The file is at http://www.tisc.org.uk/results/09Chiller.htm

Ian Frogley

Does nobody else have this problem, I had to edit the html file before publishing today. I cannot supress the date and time whilst in Sailwave.

Ian Frogley

ifrogley wrote:

···

I have a problem, when publishing the results the individual races are
headed by the race name followed by the date and time. I have
unchecked the boxes in the options tab. On the website the webmaster
uses the race header to select the individual race for the day. How
can I prevent the date and time being included? This is new since
upgrading to 2 bld 2
The file is at http://www.tisc.org.uk/results/09Chiller.htm

Ian Frogley

------------------------------------

-!- http://www.yachtsandyachting.com/ -!- http://www.sailing.org/ -!- http://www.sailwave.com/ -!- Latest versions of sailwave can be downloaded from the 'files' section http://groups.yahoo.com/group/sailwave/ ~ On-Line Sailwave help...http://sailwave.com/help/HTML ~ Mark Thompson's Sailwave User Manual is available from http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdf ~ Convert to daily digest of emails send blank email to sailwave-digest@yahoogroups.com ~ To unsubscribe from the SUG please send blank email to sailwave-unsubscribe@yahoogroups.com Yahoo! Groups Links

I think I had the same problem yesterday. I went to Edit|Edit Race and
cleared all text from the 2nd and 3rd boxes at the top of the page for
each race (date of race and time of first race).

Art

···

--- In sailwave@yahoogroups.com, Ian Frogley <ian.frogley@...> wrote:

Does nobody else have this problem, I had to edit the html file before
publishing today. I cannot supress the date and time whilst in Sailwave.

Ian Frogley

ifrogley wrote:
> I have a problem, when publishing the results the individual races are
> headed by the race name followed by the date and time. I have
> unchecked the boxes in the options tab. On the website the webmaster
> uses the race header to select the individual race for the day. How
> can I prevent the date and time being included? This is new since
> upgrading to 2 bld 2
> The file is at http://www.tisc.org.uk/results/09Chiller.htm
>
> Ian Frogley

You should be able to supress the publishing of the date and time, in Options tab in the publishing box, although that doesn't have any effect.
I used an editing program to edit the html file.

Ian Frogley

art.engel wrote:

···

I think I had the same problem yesterday. I went to Edit|Edit Race and
cleared all text from the 2nd and 3rd boxes at the top of the page for
each race (date of race and time of first race).

Art

--- In sailwave@yahoogroups.com, Ian Frogley <ian.frogley@...> wrote:
  

Does nobody else have this problem, I had to edit the html file before publishing today. I cannot supress the date and time whilst in Sailwave.

Ian Frogley

ifrogley wrote:
    

I have a problem, when publishing the results the individual races are
headed by the race name followed by the date and time. I have
unchecked the boxes in the options tab. On the website the webmaster
uses the race header to select the individual race for the day. How
can I prevent the date and time being included? This is new since
upgrading to 2 bld 2
The file is at http://www.tisc.org.uk/results/09Chiller.htm

Ian Frogley
      
------------------------------------

-!- http://www.yachtsandyachting.com/ -!- http://www.sailing.org/ -!- http://www.sailwave.com/ -!- Latest versions of sailwave can be downloaded from the 'files' section http://groups.yahoo.com/group/sailwave/ ~ On-Line Sailwave help...http://sailwave.com/help/HTML ~ Mark Thompson's Sailwave User Manual is available from http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdf ~ Convert to daily digest of emails send blank email to sailwave-digest@yahoogroups.com ~ To unsubscribe from the SUG please send blank email to sailwave-unsubscribe@yahoogroups.com Yahoo! Groups Links

I believe that is a different placement of the date and time - in a
row of the results. The placement in the title doesn't seem to have an
on/off option but leaving the text boxes blank (under Edit|Edit Race)
means nothing gets printed in the titles.

I do wish there were more control over what does and doesn't get
printed to HTML. I had to edit the HTML files by hand last season.
This year I want to do like you apparently do and write a small
program/script/macro to automatically strip the undesirable stuff out
before publication to the Web.

Art

You should be able to supress the publishing of the date and time, in
Options tab in the publishing box, although that doesn't have any

effect.

I used an editing program to edit the html file.

Ian Frogley

art.engel wrote:
> I think I had the same problem yesterday. I went to Edit|Edit Race and
> cleared all text from the 2nd and 3rd boxes at the top of the page for
> each race (date of race and time of first race).
>
> Art
>
>
>> Does nobody else have this problem, I had to edit the html file

before

>> publishing today. I cannot supress the date and time whilst in

Sailwave.

···

--- In sailwave@yahoogroups.com, Ian Frogley <ian.frogley@...> wrote:

> --- In sailwave@yahoogroups.com, Ian Frogley <ian.frogley@> wrote:
>>
>> Ian Frogley

If you want to suppress the display of something in the html you may be able to customise the style sheet.
In some version of Sailwave (1.95? I forget) the output gained a "Codes Used" table which was added to the bottom (listing DNF, DNQ, etc.). At the time there was no checkbox in the printing setup to turn it off.

I managed to get rid of it by adding this line to the bottom of the style sheet:

h3#codes, col.code, col.desc {display: none;}

What you have to do is find unique identifiers for the bits you want to suppress and then tell the browser not to display them.
The tricky bit is finding UNIQUE identifiers so you don't turn something else off as well.
It's a bit inelegant becuase you generate the file, store the file on the server, download the file to the browser and then not display some of it. However, it might get you out of a hole.
Also, watch out as the generated html sometimes changes between Sailwave versions - so you might have to update your style sheet mods when you upgrade.

Cheers,
Mike

Thanks Mike,

There is a check box under ‘Options’ in the publishing box which
purports to publish or not publish the date and time. See below. This
doesn’t work, i.e. I always get the date and time included in the
header for the individual races. I get over it by editing the html file
before I post to the club website.

I’ll have a look at your suggestions.

Ian Frogley

radford.mike wrote:

···

http://www.yachtsandyachting.com/http://www.sailing.org/http://www.sailwave.com/http://groups.yahoo.com/group/sailwave/http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdfsailwave-digest@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://groups.yahoo.com/group/sailwave/http://groups.yahoo.com/group/sailwave/joinmailto:sailwave-digest@yahoogroups.commailto:sailwave-fullfeatured@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://docs.yahoo.com/info/terms/

That option refers to the series summary table -
whether or not it prints a row of dates/times for each race.

I added the date/time to the individual race titles recently - somebody
asked for it and I figured it’d be useful. I can optionalise it but
why isn’t it useful…? :slight_smile:

CJ

Ian Frogley wrote:

···

http://www.yachtsandyachting.com/http://www.sailing.org/http://www.sailwave.com/http://groups.yahoo.com/group/sailwave/http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdfsailwave-digest@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://groups.yahoo.com/group/sailwave/http://groups.yahoo.com/group/sailwave/joinmailto:sailwave-digest@yahoogroups.commailto:sailwave-fullfeatured@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://docs.yahoo.com/info/terms/www.avg.com

Ah my misunderstanding. When I post to the club website, there is an .asp file which selects the individual race using the race title, and shows only that race on that day in the calendar. Does that make sense? The inclusion of the date and time threw the .asp, and I don't need the race date and time in title as the individual race is shown in the calendar, and the time is already there.
See http://www.tisc.org.uk/topic.asp?TOPIC_ID=501&display=Race

Ian Frogley

Colin Jenkins wrote:

···

That option refers to the series summary table - whether or not it prints a row of dates/times for each race.

I added the date/time to the individual race titles recently - somebody asked for it and I figured it'd be useful. I can optionalise it but why isn't it useful...? :slight_smile:

CJ

Ian Frogley wrote:

Thanks Mike,
There is a check box under 'Options' in the publishing box which purports to publish or not publish the date and time. See below. This doesn't work, i.e. I always get the date and time included in the header for the individual races. I get over it by editing the html file before I post to the club website.

I'll have a look at your suggestions.

Ian Frogley

radford.mike wrote:

If you want to suppress the display of something in the html you may be able to customise the style sheet.
In some version of Sailwave (1.95? I forget) the output gained a "Codes Used" table which was added to the bottom (listing DNF, DNQ, etc.). At the time there was no checkbox in the printing setup to turn it off.

I managed to get rid of it by adding this line to the bottom of the style sheet:

h3#codes, col.code, col.desc {display: none;}

What you have to do is find unique identifiers for the bits you want to suppress and then tell the browser not to display them.
The tricky bit is finding UNIQUE identifiers so you don't turn something else off as well.
It's a bit inelegant becuase you generate the file, store the file on the server, download the file to the browser and then not display some of it. However, it might get you out of a hole.
Also, watch out as the generated html sometimes changes between Sailwave versions - so you might have to update your style sheet mods when you upgrade.

Cheers,
Mike

------------------------------------

-!- http://www.yachtsandyachting.com/ -!- http://www.sailing.org/ -!- http://www.sailwave.com/ -!- Latest versions of sailwave can be downloaded from the 'files' section http://groups.yahoo.com/group/sailwave/ ~ On-Line Sailwave help...http://sailwave.com/help/HTML ~ Mark Thompson's Sailwave User Manual is available from http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdf ~ Convert to daily digest of emails send blank email to sailwave-digest@yahoogroups.com ~ To unsubscribe from the SUG please send blank email to sailwave-unsubscribe@yahoogroups.com Yahoo! Groups Links

------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.8/1985 - Release Date: 03/05/09 07:54:00

Ian answered separately but let me give another view.

There are a lot of things that would be a "good idea" to include on a results webpage. Home town, country, club, skipper name, helm name, crew name, event date, event time, event club, event place, event address, event city, event country, and on and on. However, including all of them would be a bad idea since it would make the tables unreadable. So, it is REALLY helpful if stuff is optional.

I like to put the date of the race in the page title (Publish|Title) rather than as part of each fleet name. That way it only gets printed on the page once. On the other hand, I can suppress printing of date and time by leaving the text boxes under "Edit|Edit race" blank. But, it would be better to have check boxes somewhere as to whether that should be included with the name of the Fleet.

In the same vein, under "Publish|Results|Title" there are many symbols I cannot use but want to. Using # inserts today's date. But, I want to indicate that this is Race #1 of the series. I have to go in and edit the generated HTML file by hand. Similarly, I cannot use a comma or a dash (although a hyphen is usable). I would suggest that the Title should allow ANY ASCII symbol to be used and that today's date be invoked by ### (three in a row, which it is unlikely anyone would want to use) and the current time be invoked by @@@ (instead of just @, same reasoning).

Also, it would be nice if we could decide what to include in the "caption" for each race (including nothing). For example, my PHRF races show "Start:Start 1, Finishes:Finish time, Time:11:00, Distance:23.0 nm" for a race. Now the "Start" information is unhelpful and redundant since the start time is actually shown (which I would prefer to say "Start Time" rather than "Time"). Since I show finish times in the table the "Finishes:Finish time" is pretty useless also. Finally, it would be nice if there was a space after the comma for these items (to be grammatically correct).

Making a lot of this type of stuff optional when publishing might take some time but it would REALLY make the HTML output a lot prettier (and allow each user to generate the items that they really want).

Art

PS - I like the BCR concept but I would prefer to see it as an optional column in the main view with the option to change the formating of the displayed numbers. That would also allow me to change the column name and to adjust where it prints. I currently use a hex editor to hard-edit the program executable so BCR becomes RTW (Rating To Win), the phrase used locally for this concept for the past 20+ years. That saves me having to edit that in the HTML output file.

Something to develop...

A solution could be to use '\#' where you want to display '#' and '\@' for '@', as '\' is not used in Web pages names, this character is useless in HTML, and is commonly used in script languages to designate the character instead of the delimiter (example for '<' and '>')

Phil

···

----- Original Message ----- From: "art.engel" <artengel123@earthlink.net>
To: <sailwave@yahoogroups.com>
Sent: Friday, March 06, 2009 1:18 AM
Subject: [sailwave] Re: publishing results in htm

(...)

In the same vein, under "Publish|Results|Title" there are many symbols I cannot use but want to. Using # inserts today's date. But, I want to indicate that this is Race #1 of the series. I have to go in and edit the generated HTML file by hand. Similarly, I cannot use a comma or a dash (although a hyphen is usable). I would suggest that the Title should allow ANY ASCII symbol to be used and that today's date be invoked by ### (three in a row, which it is unlikely anyone would want to use) and the current time be invoked by @@@ (instead of just @, same reasoning).

(...)

Art,

:slight_smile:

I agree with all that - but - everything in Sailwave is a compromise
because it’s a hobby and done in extremely limited time. Since the
HTML is something users can fiddle with (especially with a good
knowlledge of style sheets) it’s perhaps one of the lesser parts of
Sailwave to date. I do have plans (see dev plan on website) to
completely overhaul it, but I’m not there yet… There are some other
things I need to do first as enablers…

In fact I’m completely overwhelmed and sinking fast. Sailwave has
become something of a phenomenon - it’s downloaded on average once
every hour - and needs somebody or people behind it full time. The SUG
messages are just the tip of the iceburg - most people don’t like to
share their confusion in public…

Maybe ISAF or a software company could buy it off me - I dunno - but
between running 2 businesses, a houshold, other hobbies and of course a
bit of sailing now and again, it’s sometimes hard to give Sailwave the
time is needs and deserves…

Another option is to try and get a name/title sponsor - the more money
coming in form it the more spare time I can justtify diverting to it -
otherwise the wife gets a little frisky… :slight_smile:

Colin J

Sailwave

art.engel wrote:

···

http://www.yachtsandyachting.com/http://www.sailing.org/http://www.sailwave.com/http://groups.yahoo.com/group/sailwave/http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdfsailwave-digest@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://groups.yahoo.com/group/sailwave/http://groups.yahoo.com/group/sailwave/joinmailto:sailwave-digest@yahoogroups.commailto:sailwave-fullfeatured@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://docs.yahoo.com/info/terms/www.avg.com

OK, good idea, Ill sort somehting out. The single
character stuff (# and @) was another compromise - easy to implement

  • but I can see it could be irritating if you need those symbols (I
    picked them thinking they were not useful in a title…!) - I’m a bit
    confused why a comma doesnt work though - i’ll loook at it at the
    weekend - going to the airport later to take my son back to Australia -
    flew him back for a university interview…!

CJ

Philippe DE TROY wrote:

···

artengel123@earthlink.netsailwave@yahoogroups.comhttp://www.yachtsandyachting.com/http://www.sailing.org/http://www.sailwave.com/http://groups.yahoo.com/group/sailwave/http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdfsailwave-digest@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://groups.yahoo.com/group/sailwave/http://groups.yahoo.com/group/sailwave/joinmailto:sailwave-digest@yahoogroups.commailto:sailwave-fullfeatured@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://docs.yahoo.com/info/terms/www.avg.com

Ian,
my suggestion to modify the style sheet is unlikely to help you, I didn't realise you had an automatic process (.asp) in the pipeline. Your website's .asp file will still see the unwelcome content in the results file even if you tweak the style sheet. My method only works to visually suppress content when using a browser.
To avoid you having to edit every results file before you post it can your .asp be modified? Maybe it could check which version of Sailwave produced the .htm (using the meta data in the header) and do something appropriate (or do nothing at all for old versions). It's a bit of a bodge. I agree it would be neater to have the .htm generated correctly in the first place.

Cheers,
Mike

···

--- In sailwave@yahoogroups.com, Ian Frogley <ian.frogley@...> wrote:

Ah my misunderstanding. When I post to the club website, there is an
.asp file which selects the individual race using the race title, and
shows only that race on that day in the calendar. Does that make sense?
The inclusion of the date and time threw the .asp, and I don't need the
race date and time in title as the individual race is shown in the
calendar, and the time is already there.
See http://www.tisc.org.uk/topic.asp?TOPIC_ID=501&display=Race

Ian Frogley

Colin Jenkins wrote:
> That option refers to the series summary table - whether or not it
> prints a row of dates/times for each race.
>
> I added the date/time to the individual race titles recently -
> somebody asked for it and I figured it'd be useful. I can optionalise
> it but why isn't it useful...? :slight_smile:
>
> CJ
>
> Ian Frogley wrote:
>> Thanks Mike,
>> There is a check box under 'Options' in the publishing box which
>> purports to publish or not publish the date and time. See below. This
>> doesn't work, i.e. I always get the date and time included in the
>> header for the individual races. I get over it by editing the html
>> file before I post to the club website.
>>
>>
>>
>>
>> I'll have a look at your suggestions.
>>
>> Ian Frogley
>>
>>
>> radford.mike wrote:
>>> If you want to suppress the display of something in the html you may be able to customise the style sheet.
>>> In some version of Sailwave (1.95? I forget) the output gained a "Codes Used" table which was added to the bottom (listing DNF, DNQ, etc.). At the time there was no checkbox in the printing setup to turn it off.
>>>
>>> I managed to get rid of it by adding this line to the bottom of the style sheet:
>>>
>>> h3#codes, col.code, col.desc {display: none;}
>>>
>>> What you have to do is find unique identifiers for the bits you want to suppress and then tell the browser not to display them.
>>> The tricky bit is finding UNIQUE identifiers so you don't turn something else off as well.
>>> It's a bit inelegant becuase you generate the file, store the file on the server, download the file to the browser and then not display some of it. However, it might get you out of a hole.
>>> Also, watch out as the generated html sometimes changes between Sailwave versions - so you might have to update your style sheet mods when you upgrade.
>>>
>>> Cheers,
>>> Mike
>>>
>>>
>>>
>>> ------------------------------------
>>>
>>> -!- http://www.yachtsandyachting.com/ -!- http://www.sailing.org/ -!- http://www.sailwave.com/ -!- Latest versions of sailwave can be downloaded from the 'files' section http://groups.yahoo.com/group/sailwave/ ~ On-Line Sailwave help...http://sailwave.com/help/HTML ~ Mark Thompson's Sailwave User Manual is available from http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdf ~ Convert to daily digest of emails send blank email to sailwave-digest@yahoogroups.com ~ To unsubscribe from the SUG please
>>> send blank email to sailwave-unsubscribe@yahoogroups.com Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com
>> Version: 8.0.237 / Virus Database: 270.11.8/1985 - Release Date: 03/05/09 07:54:00
>>
>>
>
>
>

I’ll do something about it this weekend…

cj

radford.mike wrote:

···

sailwave@yahoogroups.com<ian.frogley@…>http://www.tisc.org.uk/topic.asp?TOPIC_ID=501&display=Racehttp://www.yachtsandyachting.com/http://www.sailing.org/http://www.sailwave.com/http://groups.yahoo.com/group/sailwave/http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdfsailwave-digest@yahoogroups.comsailwave-unsubscribe@yahoogroups.comwww.avg.comhttp://www.yachtsandyachting.com/http://www.sailing.org/http://www.sailwave.com/http://groups.yahoo.com/group/sailwave/http://www.abyc.org/upload/Sailwave_ABYC_User_Guide.pdfsailwave-digest@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://groups.yahoo.com/group/sailwave/http://groups.yahoo.com/group/sailwave/joinmailto:sailwave-digest@yahoogroups.commailto:sailwave-fullfeatured@yahoogroups.comsailwave-unsubscribe@yahoogroups.comhttp://docs.yahoo.com/info/terms/www.avg.com