The Fighting Cock is a forum for fans of Tottenham Hotspur Football Club. Here you can discuss Spurs latest matches, our squad, tactics and any transfer news surrounding the club. Registration gives you access to all our forums (including 'Off Topic' discussion) and removes most of the adverts (you can remove them all via an account upgrade). You're here now, you might as well...
It'd probably be possible to write up some jquery that hits a csv with the opponent, competition, and KO. I know fixtures lists are unstable, but they don't move around that much... Then the jquery finds the first row that is after right now and uses it. Or it deletes past rows or whatever.
Point is, it shouldn't be the sort of thing that needs to be touched after every match.
It's a bit "Oi Gorgeous" mate.
I might add it. It involves me having to change the time for every game so I'm a bit meh.
ExactlyIt's a bit "Oi Gorgeous" mate.
I might add it. It involves me having to change the time for every game so I'm a bit meh.
There's a file with all the fixtures that I have to update by hand. I doubt spurs official has an API. Though who knows…That's awesome, not sure how you are getting the fixtures, but im pretty sure that if you use the Spurs Official .ical that it auto-updates with fixture changes.
It'd be as easy/tricky as from the OS. Problem is, I don't know when the OS updates the "next match" box. The way things are currently, if you ping the bot one minute into Man U, it'll tell you about the next match already. (which is a bit of a design flaw… it should tell you there's a match going on… but whatever…)https://www.google.com/calendar/ical/[email protected]/public/basic.ics
That auto-updates... if you can pull the data out somehow?
Is that a bot?Well, it now works:
This has been updated to now pull info straight from the Official Site, which on the one hand enhances its reliability and reduces my work (no more manual input), but on the other hand is far more brittle (breaks if the formatting of TOS changes).
Cant you just put 4-5 clock faces up in the corner somewhere and let people work it out for themselves!It's a bit "Oi Gorgeous" mate.
I might add it. It involves me having to change the time for every game so I'm a bit meh.