How-to: Weekly High School Coaches poll#

Connect to the FTP server, then open the local (on your computer) directory called "coaches-poll".

FIG. 1 – Open the local  directory called "coaches-poll".

Find last week's folder, right-click on it and select "Copy".

FIG. 2 – Open the local  directory called "coaches-poll".

Then, with your mouse pointer in that same "coaches-poll" directory, right-click and select "Paste"

You should know have abew directory with a name in the format "mm-dd-yy - copy" (example "10-22-19 - Copy"); rename that directory to the current week's date. In this case, I'm reanaming it "10-29-19".

Now open the renamed directory and open up index.html with your favorite HTML editor (Notepad on Windows will do, if you have access to nothing else.)

You'll need to edit the date that heads the poll (Just below the H2 tag that starts the document.)

Then you'll need to edit the rest of the file to reflect the new standings. The poll uses a standard HTML/Bootstrap table to hold the results.

You can, if you choose, edit it in an online HTML editor, then copy the results back to the HTML file. Just do NOT resize cells, rows or columns in the editor. The table is responsive and works as is on phones, tablets, etc. Resizing even a single cell will destroy usability.

FIG. 3 – Open the local  directory called "coaches-poll".

If you do the copy/paste routine, copy and paste ONLY the table from opening to closing tags (<table> ... </table>); the rest of the document you can edit within Notepad.

Make your changes and check them over. Then copy your code from the HTML editor (if you used it) and paste it back into the index.html document. Save it and upload it and its enclosing folder (the one you created back at Step 2) to the server.

For an example, we'll use the Oct 22 poll to demonstrate how to view it alone (to preview it) and then to embed it in a story.

The path to the folder on the server is: https://projects.theday.com/sports/coaches-poll/10-22-19/. there, and you'll see the poll as a standalone page. To embed it in a story you'll need to wrap that URL in an iframe tag. Here's the format:

<p>
<iframe frameborder="0" height="800" src="https://projects.theday.com/sports/coaches-poll/10-22-19/" style="border: 0px;" width="100%"></iframe>
</p>

You'll be changing that link and iframe code each week to reflected your changes.