{
  "$type": "site.standard.document",
  "canonicalUrl": "https://rickymoorhouse.uk/blog/2009/2009-09-15-google-calendar-to-twitter",
  "path": "/blog/2009/2009-09-15-google-calendar-to-twitter",
  "publishedAt": "2009-09-15T12:14:20.000Z",
  "site": "at://did:plc:r53zv4vpzeihop3aliwyejlu/site.standard.publication/3mos5q3a7jf2w",
  "textContent": "For our Momentum men's events we have a Google Calendar that we use to manage the upcoming events, and this gets pulled into our website using the Wordpress plugin ICSCalendar. Recently I set up a twitter account  as well, and decided that it would be useful to provide reminders of events on there, which people could then follow and receive SMS updates for.\n\nInitially I had a look around to see what I could find, and came across Calendar Tweet, but that didn't do quite what I was looking for. Then I remembered smtp2web.com, which you can send e-mails to and it will post them to your website over http. So I set up our gmail account to forward the event reminders to my smtp2web e-mail address and built a PHP script to receive the content, parse it and send a nicely formatted message to twitter.\n\nSo I can now set up e-mail reminders for the events in Google Calendar:\n  \n\nand they will automatically get posted on twitter at the right time:  \n\nUpdate: The PHP Code used is available at http://gist.github.com/280986/",
  "title": "Google Calendar to Twitter"
}