>Suggestions and Feature Requests>Twitter Integration
Apparently this is still pretty low on the priority list, since the last time it was discussed was over a year ago, back in 2010. I was going to look at creating a Greasemonkey script or Firefox/Chrome extension to add these buttons to the workout page next to each workout - it doesn't look too difficult, given the Twitter documentation for the API and Tweet button. The hardest part will be ensuring it parses each workout correctly with the proper data to include in the default text - If I get something like this developed soon, I'll let everyone know.
- Charlotte 10 Miler - PR! 1:13:04 [Goal: 1:13:42]
- Kiawah 1/2 Marathon
- Running Streak [Goal: 730 Days] (462 and counting!)
FYI, I just created version 0.1 of this Greasemonkey script. So far it does the very basics - on an individual workout page, it creates a "Tweet" button that when pressed, opens a Twitter popup that has editable text prefilled with:
"Ran [YY miles] in [XX:YY.ZZ]. (via http://runningAHEAD.com) [link to individual workout page]"
I'm in the process of ensuring it works with equivalent messages for Bike/Swim/Weight/Other workouts as well, and then I'll publish it to userscripts.org and make an announcement on the forums here.
Down the road, I may have time to make more updates to this script, including the following:
Eric: FYI, Twitter's "tweet" button is now really easy to integrate into a site (documentation here) and this really wouldn't be too hard to add in a prettier/cleaner format - I'm using XPath commands and regular expressions to grab and parse elements, and insert the new one in the right location, but all of this would be moot if you could just use your existing site variables to propagate the fields of the Tweet button and lay it in the proper place. I know it's not a high priority for you and that's why I put this script together, but it shouldn't be tough, when you do have the time to commit, to turn this into a site feature and make this script obsolete.
The Year of the Monkey
Rock n Roll Ross!!
I'm running somewhere tomorrow. It's going to be beautiful. I can't wait.
I know it's not a hard thing to add., but there never seem to be a right time for me to work on this. I'll see what I can do after I settle into my new home.
FYI, just wanted to point out I started a separate thread that announces the TwitterAHEAD Greasemonkey script you can install to post your workouts to Twitter.