Add the teams for the year to the XML database pageThis is the page https://github.com/PHackett/pch-gadgets/blob/master/pch-gadgets/TRCC/data/fixtures/fixtureYearsDB.xml. Note that this page is changed through SVN.The format is pretty obvious. For example, you might add the line - <TeamsInYear year="2011"><Team>Saturday</Team></TeamsInYear> (if there were just Saturday games). Add the year directory XML to SVNFor example, create the directory https://github.com/PHackett/pch-gadgets/tree/master/pch-gadgets/TRCC/data/fixtures/2011Add the fixtures XML to SVNFor example, the file https://github.com/PHackett/pch-gadgets/blob/master/pch-gadgets/TRCC/data/fixtures/2011/Saturday_Fixtures_Data.xml. Once again, the format of this file is pretty obvious. Never the less, probably better off copying an example from a previous year.An example entry might look like so - <Fixture> <Date>Sat, 7 May 2011 12:00:00 UTC</Date> <Opposition>WSL 2</Opposition> <Time>14:00</Time> <Venue>Home</Venue> <Result>NotYetPlayed</Result> </Fixture> Obviously enough, there is one such section per game played in the year. Note the <Result>NotYetPlayed</Result> which implies unsurprisingly, that the game has not been played yet. Create the year pageFor 2011, this will be the page /All-Fixtures/2011. This is just a regular web-page. Have a look at the 2011 page to see what it should look like.Create the Team/Year page
Create the year statistics page
Add the fixtures to the CalendarThe calendar I am refering to is a 'Google' calendar associates with this Google site.It is not possible to have a calendar that is global to a Google site as yet, so until this becomes available I am going to use the calendar associated with the username paulhackett. The contents of this calendar are what is displayed on the home page (Under "TRCC Events"), and may be used by others with a google account. |