Integration of Sailwave with Joomla

Hi,

I'm new to sailwave, but we are looking at using it for doing race
results at our sailing club. We've just re-done our website so that it
runs under the Joomla content management system and I'm wondering what
the best method is for incorporating results from sailwave ?

I know you can publish to a html file and then cut/paste into a wrapper
or an article, but I was wondering if there was a more 'elegant' way of
doing this - such that results might be stored in a database or that
results could be uploaded to a directory where Joomla 'finds' them and
then lists them on the correct page.

Any thoughts from seasoned users of sailwave and Joomla would be much
appreciated...

Many thanks (in advance)

Lawrni

Hi,

You can publish via FTP to a folder om
your server. To store the HTML-file on your webserver, hit Publish and choose ”website”
as destination.

Edit the FTP-prefs in global options.

Espen

···

Fra:
sailwave@yahoogroups.com [mailto:sailwave@yahoogroups.com] På vegne av lawrni
Sendt: 12. juni 2008 20:20
Til: sailwave@yahoogroups.com
Emne: [sailwave] Integration of
Sailwave with Joomla

Hi,

I’m new to sailwave, but we are looking at using it for doing race

results at our sailing club. We’ve just re-done our website so that it

runs under the Joomla content management system and I’m wondering what

the best method is for incorporating results from sailwave ?

I know you can publish to a html file and then cut/paste into a wrapper

or an article, but I was wondering if there was a more ‘elegant’ way of

doing this - such that results might be stored in a database or that

results could be uploaded to a directory where Joomla ‘finds’ them and

then lists them on the correct page.

Any thoughts from seasoned users of sailwave and Joomla would be much

appreciated…

Many thanks (in advance)

Lawrni

--- In sailwave@yahoogroups.com, "Espen Molven" <espenmolven@...>
wrote:

Hi,

You can publish via FTP to a folder om your server. To store the

HTML-file

on your webserver, hit Publish and choose "website" as destination.

Edit the FTP-prefs in global options.

Espen

Hi Espen,

Many thanks for your reply, - yes I know that you can ftp an html
file to a website. I was really wondering if anyone had found a neat
and simple way to integrate this information into Joomla - so that
the results are then automatically listed in some page somewhere
whenever someone ftp's the results to the site (without having to
create static links to hmtml file that do not contain the same
formatting as the rest of the site...

Cheers,

Lawrni

  _____

Fra: sailwave@yahoogroups.com [mailto:sailwave@yahoogroups.com] På

vegne av

lawrni
Sendt: 12. juni 2008 20:20
Til: sailwave@yahoogroups.com
Emne: [sailwave] Integration of Sailwave with Joomla

Hi,

I'm new to sailwave, but we are looking at using it for doing race
results at our sailing club. We've just re-done our website so that

it

runs under the Joomla content management system and I'm wondering

what

the best method is for incorporating results from sailwave ?

I know you can publish to a html file and then cut/paste into a

wrapper

or an article, but I was wondering if there was a more 'elegant'

way of

doing this - such that results might be stored in a database or

that

results could be uploaded to a directory where Joomla 'finds' them

and

then lists them on the correct page.

Any thoughts from seasoned users of sailwave and Joomla would be

much

···

appreciated...

Many thanks (in advance)

Lawrni

Hi,

I understand what you
mean. I once started a project to parse the blw-file with PHP, but no one will
release any documentation on the file, thus it would be hard to get it working
for different versions. If the file had been an XML-file, things would have got
a lot easy. Yes, I know that sailwave can export as XML, but this feature came
after I gave up. There is also a problem concerning editing of the XML-file –
sailwave can’t open it again.

The reason for not making
any “documentation” on the blw-format is that Colin wants to be
free to make changes for the format (I got an email from him some time ago concerning
this). I don’t know what he wants to be free to change, but if it is to
add more fields to compeditors I can’t see any problem, neither for the
current format or an XML-format (even though XML would be easiest to parse with
tools like SimpleXML and so on.)

In my project, I also
planed to let my CMS create a basic blw-file to be used directly in sailwave,
thus removing the “import of compeditors part”. This should also
have included the correct scoringsystem and so on. It is not really difficult, if
someone just can tell me what the different fields in each line in the blw-file
means.

“compalias”,“0”,“20”,""

“comphigh”,“0”,“20”,""

“compnat”,“NOR”,“20”,""

“compfleet”,“Intro”,“20”,""

“compboat”,“TS
kran”,“20”,""

“compclass”,“Optimist”,“20”,""

“compcrew”,“Odd Ola Nordfar”,“20”,""

“comphelm”,“Ola Nordmann”,“20”,""

“compclub”,“Stavanger
Seilforening”,“20”,""

“compexclude”,“0”,“20”,""

“compdivision”,“Tysdag”,“20”,""

“comphelmagegroup”,“15”,“20”,""

“compdistrict”,“Stien”,“20”,""

“comparea”,“4000”,“20”,""

“compregion”,“Stavanger”,“20”,""

“compcrewemail”,“mail@mail.no”,“20”,""

“comphelmsex”,“F”,“20”,""

“comphelmphone”,“510000000”,“20”,""

“compcrewphone”,“900000000”,“20”,""

“compmedicalflag”,“0”,“20”,""

The above is as far as I
can figure out the data for one compeditor. Each line is for one
compeditorfield, and contains 1. fieldname, 2. value, 3. compeditorID and 4.
empty? What is this last field?

Actually, all the lines
contains placeholders for 4 values. The first is always an ID of the line,
which again is divided in to what I think is groups of valuetypes where the
first couple of chars describes the goups. Ex: “comp” for
compeditor, “ser” for series and so on.

Espen

···

Fra:
sailwave@yahoogroups.com [mailto:sailwave@yahoogroups.com] På vegne av lawrni
Sendt: 13. juni 2008 09:42
Til: sailwave@yahoogroups.com
Emne: Re: SV: [sailwave]
Integration of Sailwave with Joomla

— In sailwave@yahoogroups.com,
“Espen Molven” <espenmolven@…>

wrote:

Hi,

You can publish via FTP to a folder om your server. To store the

HTML-file

on your webserver, hit Publish and choose “website” as
destination.

Edit the FTP-prefs in global options.

Espen

Hi Espen,

Many thanks for your reply, - yes I know that you can ftp an html

file to a website. I was really wondering if anyone had found a neat

and simple way to integrate this information into Joomla - so that

the results are then automatically listed in some page somewhere

whenever someone ftp’s the results to the site (without having to

create static links to hmtml file that do not contain the same

formatting as the rest of the site…

Cheers,

Lawrni


Fra: sailwave@yahoogroups.com
[mailto:sailwave@yahoogroups.com]

vegne av

lawrni

Sendt: 12. juni 2008 20:20

Til: sailwave@yahoogroups.com

Emne: [sailwave] Integration of Sailwave with Joomla

Hi,

I’m new to sailwave, but we are looking at using it for doing race

results at our sailing club. We’ve just re-done our website so that

it

runs under the Joomla content management system and I’m wondering

what

the best method is for incorporating results from sailwave ?

I know you can publish to a html file and then cut/paste into a

wrapper

or an article, but I was wondering if there was a more ‘elegant’

way of

doing this - such that results might be stored in a database or

that

results could be uploaded to a directory where Joomla ‘finds’ them

and

then lists them on the correct page.

Any thoughts from seasoned users of sailwave and Joomla would be

much

appreciated…

Many thanks (in advance)

Lawrni

Lawrni,

You might want to consider creating your own PHP file to do the listing for you which you then integrate within Joomla. Idid a Google search using the string “php code for directory and file listing” and I got quite few results! One of the better ones appears to be http://www.opendesigns.org/forum/comments.php?DiscussionID=663. I have not used it myself but intend to look at for integration into a non-Joomla PHP website.

You might want to look at the DocMan addin for Joomla as well.

PS - which version of Joomla are you using?

Kind regards,

Huw

···

-----Original Message-----
From: sailwave@yahoogroups.com [mailto:sailwave@yahoogroups.com]On Behalf Of lawrni
Sent: 13 June 2008 08:42
To: sailwave@yahoogroups.com
Subject: Re: SV: [sailwave] Integration of Sailwave with Joomla

— In sailwave@yahoogroups.com , “Espen Molven” <espenmolven@…>
wrote:

Hi,

You can publish via FTP to a folder om your server. To store the
HTML-file
on your webserver, hit Publish and choose “website” as destination.

Edit the FTP-prefs in global options.

Espen

Hi Espen,

Many thanks for your reply, - yes I know that you can ftp an html
file to a website. I was really wondering if anyone had found a neat
and simple way to integrate this information into Joomla - so that
the results are then automatically listed in some page somewhere
whenever someone ftp’s the results to the site (without having to
create static links to hmtml file that do not contain the same
formatting as the rest of the site…

Cheers,

Lawrni


Fra: sailwave@yahoogroups.com
[mailto:sailwave@yahoogroups.com ] På
vegne av
lawrni
Sendt: 12. juni 2008 20:20
Til: sailwave@yahoogroups.com
Emne: [sailwave] Integration of Sailwave with Joomla

Hi,

I’m new to sailwave, but we are looking at using it for doing race
results at our sailing club. We’ve just re-done our website so that
it
runs under the Joomla content management system and I’m wondering
what
the best method is for incorporating results from sailwave ?

I know you can publish to a html file and then cut/paste into a
wrapper
or an article, but I was wondering if there was a more ‘elegant’
way of
doing this - such that results might be stored in a database or
that
results could be uploaded to a directory where Joomla ‘finds’ them
and
then lists them on the correct page.

Any thoughts from seasoned users of sailwave and Joomla would be
much
appreciated…

Many thanks (in advance)

Lawrni

Huw,

I think uploading from SW is not necessarily the best solution, the displayed directory could be polluted by other uploads by FTP.

I should use a PHP interface to on the target web site, with entry fields like Dates, Event name, Venue, (others), file to upload [ browse ]

Phil

···

----- Original Message -----

From:
Huw Pearce

To: sailwave@yahoogroups.com

Sent: Friday, June 13, 2008 1:49 PM

Subject: RE: SV: [sailwave] Integration of Sailwave with Joomla

Lawrni,

You might want to consider creating your own PHP file to do the listing for you which you then integrate within Joomla. Idid a Google search using the string “php code for directory and file listing” and I got quite few results! One of the better ones appears to be http://www.opendesigns.org/forum/comments.php?DiscussionID=663 . I have not used it myself but intend to look at for integration into a non-Joomla PHP website.

You might want to look at the DocMan addin for Joomla as well.

PS - which version of Joomla are you using?

Kind regards,

Huw

-----Original Message-----
From: sailwave@yahoogroups.com [mailto:sailwave@yahoogroups.com]On Behalf Of lawrni
Sent:
13 June 2008 08:42
To: sailwave@yahoogroups.com
Subject:
Re: SV: [sailwave] Integration of Sailwave with Joomla

— In sailwave@yahoogroups.com , “Espen Molven” <espenmolven@…>
wrote:

Hi,

You can publish via FTP to a folder om your server. To store the
HTML-file
on your webserver, hit Publish and choose “website” as destination.

Edit the FTP-prefs in global options.

Espen

Hi Espen,

Many thanks for your reply, - yes I know that you can ftp an html
file to a website. I was really wondering if anyone had found a neat
and simple way to integrate this information into Joomla - so that
the results are then automatically listed in some page somewhere
whenever someone ftp's the results to the site (without having to
create static links to hmtml file that do not contain the same
formatting as the rest of the site...

Cheers,

Lawrni


Fra: sailwave@yahoogroups.com
[mailto:sailwave@yahoogroups.com ] På
vegne av
lawrni
Sendt: 12. juni 2008 20:20
Til: sailwave@yahoogroups.com
Emne: [sailwave] Integration of Sailwave with Joomla

Hi,

I’m new to sailwave, but we are looking at using it for doing race
results at our sailing club. We’ve just re-done our website so that
it
runs under the Joomla content management system and I’m wondering
what
the best method is for incorporating results from sailwave ?

I know you can publish to a html file and then cut/paste into a
wrapper
or an article, but I was wondering if there was a more ‘elegant’
way of
doing this - such that results might be stored in a database or
that
results could be uploaded to a directory where Joomla ‘finds’ them
and
then lists them on the correct page.

Any thoughts from seasoned users of sailwave and Joomla would be
much
appreciated…

Many thanks (in advance)

Lawrni

Phil,

Whilst I agree, it is down to choice & convenience :wink: I was not saying it was the right solution just a solution.

As I mentioned in my email there is an add-on to Joomla that provides the functionality that you would use.

Kind regards,

Huw

···

-----Original Message-----
From: sailwave@yahoogroups.com [mailto:sailwave@yahoogroups.com]On Behalf Of Philippe De Troy
Sent: 13 June 2008 13:00
To:
sailwave@yahoogroups.com
Subject: Re: SV: [sailwave] Integration of Sailwave with Joomla

Huw,

I think uploading from SW is not necessarily the best solution, the displayed directory could be polluted by other uploads by FTP.

I should use a PHP interface to on the target web site, with entry fields like Dates, Event name, Venue, (others), file to upload [ browse ]

Phil

----- Original Message -----

From: Huw Pearce

To: sailwave@yahoogroups.com

Sent: Friday, June 13, 2008 1:49 PM

Subject: RE: SV: [sailwave] Integration of Sailwave with Joomla

Lawrni,

You might want to consider creating your own PHP file to do the listing for you which you then integrate within Joomla.  Idid a Google search using the string "php code for directory and file listing" and I got quite few results! One of the better ones appears to be [http://www.opendesigns.org/forum/comments.php?DiscussionID=663](http://www.opendesigns.org/forum/comments.php?DiscussionID=663)    . I have not used it myself but intend to look at for integration into a non-Joomla PHP website.
You might want to look at the DocMan addin for Joomla as well.
PS - which version of Joomla are you using?

Kind regards,

Huw

-----Original Message-----
From:
sailwave@yahoogroup s.com [mailto:sailwave@yahoogroups.com]** On Behalf Of** lawrni
Sent: 13 June 2008 08:42
To:
sailwave@yahoogroups.com
Subject: Re: SV: [sailwave] Integration of Sailwave with Joomla

— In sailwave@yahoogroups.com , “Espen Molven” <espenmolven@…>
wrote:

Hi,

You can publish via FTP to a folder om your server. To store the
HTML-file
on your webserver, hit Publish and choose “website” as destination.

Edit the FTP-prefs in global options.

Espen

Hi Espen,

  Many thanks for your reply, - yes I know that you can ftp an html
  file to a website. I was really wondering if anyone had found a neat
  and simple way to integrate this information into Joomla - so that
  the results are then automatically listed in some page somewhere
  whenever someone ftp's the results to the site (without having to
  create static links to hmtml file that do not contain the same
  formatting as the rest of the site...

Cheers,

Lawrni


Fra: sailwave@yahoogroups.com
[mailto:sailwave@yahoogroups.com ] På
vegne av
lawrni
Sendt: 12. juni 2008 20:20
Til: sailwave@yahoogroups.com
Emne: [sailwave] Integration of Sailwave with Joomla

Hi,

I’m new to sailwave, but we are looking at using it for doing race
results at our sailing club. We’ve just re-done our website so that
it
runs under the Joomla content management system and I’m wondering
what
the best method is for incorporating results from sailwave ?

I know you can publish to a html file and then cut/paste into a
wrapper
or an article, but I was wondering if there was a more ‘elegant’
way of
doing this - such that results might be stored in a database or
that
results could be uploaded to a directory where Joomla ‘finds’ them
and
then lists them on the correct page.

Any thoughts from seasoned users of sailwave and Joomla would be
much
appreciated…

Many thanks (in advance)

Lawrni

Phil and Huw,

Many thanks for your suggestions. They are very helpful.

I already have docman running, so I could publish to pdf/html and use
docman, but I'd rather have the results listed on the web page (with
all the menus etc).

I think the 'list files in a directory' approach sounds like a good
one' - I could probably knock up a Joomla component that might do this,
using the script you have referenced.

BTW - I'm using J1.5

Cheers,

Nick