This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
celtic_game [2020/12/20 17:19] admin |
celtic_game [2020/12/20 17:19] (current) admin |
||
---|---|---|---|
Line 5: | Line 5: | ||
The first hit when I searched 'celtic games' was this [[https://www.skysports.com/celtic-fixtures|Sky Sports: Celtic Fixtures]] page. Luckily they provide an iCal feed of the games. I used the [[https://sabre.io/vobject/icalendar/|Sabre VObject PHP class]] to parse their [[webcal://www.skysports.com/calendars/football/fixtures/teams/celtic?live=false|calendar file]]. | The first hit when I searched 'celtic games' was this [[https://www.skysports.com/celtic-fixtures|Sky Sports: Celtic Fixtures]] page. Luckily they provide an iCal feed of the games. I used the [[https://sabre.io/vobject/icalendar/|Sabre VObject PHP class]] to parse their [[webcal://www.skysports.com/calendars/football/fixtures/teams/celtic?live=false|calendar file]]. | ||
- | Install VOBject using composer: | + | Install VObject using composer: |
<code bash> | <code bash> | ||
cd projectdir | cd projectdir |