Editing output

Hia,

I'm trying to alter the output when publishing results. I've found the
results.htm template, and that was quite straightforward to edit. I've
wrapped it in the appropriate page, even with server-side includes,
which is great.

However, I have a couple of questions someone might be able to help with?

- Where can I find the bit called by `html.resultswiz()` to edit?

- Would it be possible to let it publish results with a different file
extension? E.g. .asp or .html. It insists on .htm at the moment.

I'd like to edit the html.resultswiz for a couple of reasons, the
main one being that I will then be able to publish almost straight to
the web, rather than spending 45 minutes adjusting it. E.g. I'd like
to make it valid XHTML, with different use of CSS.

I'd be quite happy to submit the XHTML version back in a generic form
for other people to use if they like, there are also a few funky
things I could suggest using CSS that people might find useful, *if*
it is possible to edit the resultshtml.

You can see what I'm trying to get to here:
http://www.ukwindsurfing.com/results/2004/cr1_marazion.asp

I can get it all there apart from the central results bit. With CSS, I
could set it up so that we can publish results on site that don't
include the navigation and print different fleets on different pages
(e.g. try a print preview on that page).

I hope someone can help,

Best regards,

-Alastair
webmaster@ukwindsurfing.com

Hi Alastair,

The publishing system is in desperate need of a revamp...

Here's what happens at present - you publish to a 'template' and pick a
'style'. The resultant HTML is the template together with the style lines
in the header and the tables you chose to include. The tables refer to
style classes defined by the style. *But* you cannot at present control the
HTML generated by the tables.

As it stands you would write a style to approximate what you require. Could
probably get close.

Your results are very very nice. I would love to include a style like that
in the standard repetoire... named appropriately of course :slight_smile:

Have a go at a style and let me know the problems and we'll try and sort
them out as you go. Perhaps creep up on things iteratively.

Any new templates and styles that you create, automatically show up in the
various menus.

Have taken note of extension constraint (again). Will fix with next release
(soon).

Regards,
Colin Jenkins
www.sailwave.com

···

-----Original Message-----
From: Alastair Campbell [mailto:ac@nomensa.com]
Sent: 28 April 2004 22:37
To: sailwave@yahoogroups.com
Subject: [sailwave] Editing output

Hia,

I'm trying to alter the output when publishing results. I've found the
results.htm template, and that was quite straightforward to edit. I've
wrapped it in the appropriate page, even with server-side includes,
which is great.

However, I have a couple of questions someone might be able to help with?

- Where can I find the bit called by `html.resultswiz()` to edit?

- Would it be possible to let it publish results with a different file
extension? E.g. .asp or .html. It insists on .htm at the moment.

I'd like to edit the html.resultswiz for a couple of reasons, the
main one being that I will then be able to publish almost straight to
the web, rather than spending 45 minutes adjusting it. E.g. I'd like
to make it valid XHTML, with different use of CSS.

I'd be quite happy to submit the XHTML version back in a generic form
for other people to use if they like, there are also a few funky
things I could suggest using CSS that people might find useful, *if*
it is possible to edit the resultshtml.

You can see what I'm trying to get to here:
http://www.ukwindsurfing.com/results/2004/cr1_marazion.asp

I can get it all there apart from the central results bit. With CSS, I
could set it up so that we can publish results on site that don't
include the navigation and print different fleets on different pages
(e.g. try a print preview on that page).

I hope someone can help,

Best regards,

-Alastair
webmaster@ukwindsurfing.com

-!- Tired of Hotmail? Try Fastmail -!- http://www.fastmail.fm/
-!- Sick of Spam? Get Spam Pal <free!> -!-
http://www.spampal.org/
http://www.sailwave.com/

Convert to daily digest of emails send blank email to:
sailwave-digest@yahoogroups.com
Yahoo! Groups Links

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.668 / Virus Database: 430 - Release Date: 24/04/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.668 / Virus Database: 430 - Release Date: 24/04/2004

Hi Colin,

I've been having a play around with the publishing... One small request for
when you remove the extension constraint. Please allow the .php extension
(Just in case you were going to leaving some contraint in there to help
ensure web compatability). I'm just in the process of finishing off a
content management system based website of my club and the abiality to use
.php would have been very useful ;o).

The table output, for me worked well, apart from not beingable to specify a
fixed width for he table. The template on the rest to the site is fixed
width so I had to do some playing with text sizes and preay that there
weren't too many races in each series ;o)

My only comment on the style setup, would be that allowing different text
sizes in the published html than the diplayed spreadsheet would be helpful.
If this is possible already, please let me know how :oS

I would appreciate any comments that you have on the output of our club
results. They can be seen at
http://newsite.royalcornwallyachtclub.org/Racing/Results/1st_Series.htm

Cheers

Keith

···

-----Original Message-----
From: Colin Jenkins [mailto:colin@sailwave.com]
Sent: 29 April 2004 08:38
To: sailwave@yahoogroups.com
Subject: RE: [sailwave] Editing output

Hi Alastair,

The publishing system is in desperate need of a revamp...

Here's what happens at present - you publish to a 'template' and pick a
'style'. The resultant HTML is the template together with the style lines
in the header and the tables you chose to include. The tables refer to
style classes defined by the style. *But* you cannot at present control the
HTML generated by the tables.

As it stands you would write a style to approximate what you require. Could
probably get close.

Your results are very very nice. I would love to include a style like that
in the standard repetoire... named appropriately of course :slight_smile:

Have a go at a style and let me know the problems and we'll try and sort
them out as you go. Perhaps creep up on things iteratively.

Any new templates and styles that you create, automatically show up in the
various menus.

Have taken note of extension constraint (again). Will fix with next release
(soon).

Regards,
Colin Jenkins
www.sailwave.com