Overview
SI results are generated in a complex html file that cannot simply be pasted into a web page. Because of this the approach for generating results is:
- Generate blank results page from the website front end as for simple results.
- Generate the event results folder on the website server in the results area of website. (Using ftp)
- Add text and links to results folder in advance of the event.
- Upload the results file to the folder.
Creating Results Page
1. Follows the same steps as for creating a page for colour or earlier results systems however do not paste in results.
https://www.bko.org.uk/book/adding-simple-results-bko-website
2. If using live results you can paste in a link to the live_results page as this already exists and will not change.
Live results will be loaded here soon after first finishers. Link here to https://www.bko.org.uk/live_results/ |
Create a folder and upload results
1. Login to the site using FTP with the following credentials.
FTP Username: results@bko.org.uk
FTP server: ftp.bko.org.uk
FTP & explicit FTPS port: 21
Password: Ask Mark Foxwell
If you are comfortable with a command line interface you can access FTP from the dos prompt or any laptop terminal. Explanations of basic commands (put, ls, mkdir) can be found online.
Commonly used graphical interfaces include filezilla and coreftp. The screenshot below is of filezilla.
Enter credentials bar circled in blue. (You can save credentials for future use using site manager under the file menu).
The left hand side shows your local computer file system and the right hand side the directories on the web server.
2. Create a folder for your results if it does not already exist.
Results are held in separate folders on the website server under a hierarchical structure.
Using FTP create a folder in the format /public_html/results/<yyyy>/<mm-dd>
Where yyyy is the year (e.g. 2024) and ddmmm the date e.g 01-27 for 27Jan .
The account defaults to top of results folder, add folders for year and date by right clicking on the right hand side pane.
Add text and links to results folder in advance of the event.
1. Edit the results page to add a link to final results to include this link
The webserver folder /public_html/results/<yyyy>/<ddmmm> maps to the url https://www.bko.org.uk/sites/default/files/results/<yyyy>/<ddmmm>/ .
(For example, for Concorde Chase Barossa results on 28th January 2024, link to https://www.bko.org.uk/sites/default/files/results/2024/28jan/ ).
Note that the link does not need to be to the actual html file. If a file called index.html is uploaded to the folder then it will automatically load at that link.
Upload the results file to the folder.
Export the results file (index.html) from SI Results to your local computer.
1. Log back into ftp.
2. Set the left hand pane to the folder on your local computer containing the results
3. Set the right pane to the target results folder
4. Double click on the index.html file to transfer it.
A note on index.html files
As mentioned above if the folder contains an index.html file,this file will open when clicking on the link to the folder.
This also works for index.htm files (different suffix) but if both index.html and index.htm are present in the same folder, then index.html is opened.
The live results folder contains a holder file caklled index.htm with the message that results will be loaded soon. When the index.html file is uploaded the new file is picked up (may need to refresh your browser). When Live results are deleted after the event, the index.htm file is picked up again.