Available for a limited time only - £10 off a £20 spend at eXpansys! For more details visit this topic!

Please Log In or Register - it's FREE!

 
Reply to this topicStart new topic
 Google Calendar events to Twitter - PHP script
dirtygreek
post Mar 26 2007, 15:20
Post #1


Newbie
Group Icon

Group: Posters
Posts: 1
Joined: 26th March 2007
Member No.: 241,747



Read More

I can't believe I haven't found someone else who has done this, though surely someone has. I don't even really use Twitter except for the programming fun of it, but I figured since it's blowing up right now, I'd try this out.

What this script does is read a Google Calendar feed and check each event's time against the current time. If the event's time falls within a given span around the current time (default is one hour), it will post the event's details to Twitter. In other words, Google Calendar will tell Twitter what you're doing at the current time.

Interfacing your Google Calendar with Twitter in this way is going to take some knowledge of PHP, RSS feeds, and maybe Yahoo Pipes in a pinch, but maybe I or someone else can find a way to make the whole process more simple.

The first thing you need to do is take your Google Calendar XML feed and convert it to true RSS format. Unfortunately, as of now, it's not in the right format. I made a quick Yahoo Pipe to do this. It should be run automatically from the script, so all you need to do is enter your Google login email in the script. It should take care of the rest.

Unfortunately, sometimes Yahoo Pipes hiccups and doesn't return any output. If this happens, just run the script again.

Let me know what you think, feel free to modify the script as long as you give me credit, and tell me if you make any major improvements.

Download It Here
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts Slide to Unlock
10 Bad-Co 952 Today, 04:57
Last post by: dgogeta
No new Upgrade to WM 6.1 (FAILED!)
Upgrade to WM 6.1 (FAILED!
20 porterror 973 Yesterday, 20:59
Last post by: yesdread
No New Posts Upgrade to wm 6.1 on i616 going to be available?
11 squareboy 391 Today, 04:14
Last post by: watttryan
No New Posts Soon-to-be owner of the Advent 4211 - Now got it!
4 tsutton 198 Today, 00:14
Last post by: tsutton
No New Posts how to reset/unlock samsung omnia i900 phone password
reset/unlock phone password
1 vel69 88 Yesterday, 22:25
Last post by: Jlarsen
No New Posts New to i6167
0 RenatoBM 0 Today, 05:18
Last post by: RenatoBM

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


RSS hit counter Lo-Fi Version Time is now: 7th September 2008 - 05:56


Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!

VITO Technology | Slipstream Solutions | Aiko Solutions | PDAMill | Inesoft | SBSH | LingvoSoft | Ruttensoft | Astraware | MadBeetle | Sprite Software

Opera | Westtek | TetraEdge | Z4Soft | KBM Systems | Conduits | Mini Lyrics Magic | Proporta | Semsons | SyncData | Active Kitten | Binaryfish | Textr

SPB Software House | Omega One | OmniSoft | Resco | eSoft Interactive | TenGo | ATEKsoft | imei-check | GpsGate | SplashData | DeveloperOne | monocube

WebIS, home of Pocket Informant, FlexMail and Note2Self

Would your company like to become a 'Plus Partner'? Click Here to contact us!