Login

12

iGoogle gadget (Read 1193 times)

Just a little something I would find super-cool... I have just started using iGoogle as my own personal start page. I have found modules from nearly all my favorite visit-every-day sites, except here. There is another running log out there that does this:
logyourrun, and of course, I think it would be really cool to be able to add a quick log entry to this site. It might drive up visits to the site too... I know a lot of people who have started using iGoogle recently.
Shea
oooh me too.. I was thinking this yesterday
Sara

2009 Long Branch NJ half marathon
"Work it, make it, do it, Makes us harder, better, faster, stronger!" ~Kanye West
I've toyed with that idea and it's something that I'll be adding.
Awesome, thanks Eric!
my first trophy
Oh yay! Smile That would be very handy.
Run run run run run run run run run run run run run run run run...run like an antelope out of control.

The Hunger Site - click to give free food.
At my boss's request I wrote a little iGoogle gadget today that displays a user's total distances from RunningAHEAD. It uses the scripts feature that you can access from your RA Tools menu. The gadget is not fancy, but it allows you to set its title and the log ID for the user you want to track. You can add multiple instances of it to your iGoogle page in case you like to log stalk as much as I do. (Trent, I'm watching you. Wink)

Click the following link to see a screenshot and optionally add it to your iGoogle page: RunningAHEAD Distance Totals

By default, it will show my log totals, which will be amusing (or sad) to most of you. Click "Edit Settings" off the drop down menu in the gadget's upper right corner to change the title and log ID. The log ID is not the person's RunningAHEAD user name. It's the long hexadecimal string from the user's summary page URL. For example, the URL to my log summary page is http://www.runningahead.com/logs/23fbfe3407d54034bb604d607cb56919. So the log ID for me is 23fbfe3407d54034bb604d607cb56919. Similarly, the log ID for Trent is 259c5652820340638512f715ed2ff6c7.

Note: A user must have their log shared publically (i.e., for everyone to access it) in order for the scripts to work. So if your log (or someone you want to stalk) is private, then you won't be able to use it with this gadget.

Enjoy, and please let me know of any problems you encounter. I already know that the "Powered by RunningAHEAD" link at the bottom only targets the gadget frame, but that's hard to fix since Eric's script generates that HTML. Also, let me know if you'd also be interested in gadgets to display your latest workouts and your PRs. Eric provides scripts for those, so it would be easy to create iGoogle gadgets that display their output too.

Eric, RunningAHEAD rocks! I look forward to seeing what you'll add for iGoogle, but I'm hoping the log upgrades and GPS import features ship first. I'm also hoping the new log upgrades will provide some web service functionality, so I can programmatically add log entries, courses, etc. Then we could make some super cool gadgets... Big grin
Bundle up, it's cold
Cool. Thanks, Bill! I need a boss who tells me to go mess around on RA.
Drew

Hyperbole is the best.
not running in January
Awesome... thank you Bill!
Shaunna

Working my way down from 167 lbs to 147 pounds. Currently 165.5 lbs. I've got my work cut out for me!
ʎǝʞuoɯ ʎʞunɟ
Bill, sweet!

So, can you have the widget allow data entry?
noʎ ɥʇıʍ ǝq ʎǝʞuoɯ ǝɥʇ ʎɐɯ
Frustrating Project
If your a Mac user running Leopard, you can make your own RA Dashboard widget. Leopard has toolwhich pretty much let you make a widget from any web page. I don't remember all the steps off the top of my head, but it's an option in Safari. Seems like all I had to do was draw a box around the summary portion of the training log page. A few clicks later, I had a widget!
20th Century: 800m: 2:04 |1600m: 4:37 |3200m: 10:06 |5k: 16:23 |10k: 35:38 |15k: 54:20
25k: 1:35:59

21st Century: 5k: 19:42 |10k: 43:00

"Do not allow children to mix drinks. It is unseemly, and they use too much vermouth."
Steve Allen

Oswald acted alone.
ʎǝʞuoɯ ʎʞunɟ
True Globule. The only upside to the google version is that it is more portable. Unlike your mother.
noʎ ɥʇıʍ ǝq ʎǝʞuoɯ ǝɥʇ ʎɐɯ
Quote from Trent on 4/22/2008 at 9:08 PM:
So, can you have the widget allow data entry?


Yes, it could allow data entry, but I couldn't push the data into RA. To my knowledge there are no web APIs to RA other than the scripts Eric makes available through the Tools page. The scripts just read log data and return an HTML summary of it.
black cat
awesome, I'm adding it to my page
thanks A
2009 Goals
10K < 60:00, HM< 2:15:00
Bar Harbor, ME HM September
Philadelphia, PA HM November
Cool stuff! Thanks Bill...
Awesome, thanks!!
12