1

Embedded PRs Not Working (Read 648 times)

derek


    I use your JavaScript code to embed my latest workouts, log summary and PRs on my blog, but the PR code seems to have stopped working. It's been at least a few days now and unfortunately, I can't recall when it actually stopped. The URL I'm using on my site is: http://www.runningahead.com/scripts/0c719ecbd7144db0900675c1a605aec5/records?all=1

    Derek

    eric :)


      Derek, I changed the definitions of an internal function, which broke the PR handling code. I've fixed the problem and it should be working again. Let me know if this is not the case. eric Smile
      derek


        Derek, I changed the definitions of an internal function, which broke the PR handling code. I've fixed the problem and it should be working again. Let me know if this is not the case. eric Smile
        Just checked and it's working now. Thanks

        Derek

        RunningHammer


          PR script working for me now too. However yesterday i created a new personal record for 0.5 mile distance - this shows up on the site but not in the script (which i use to create a google homepage "widget"). My other PR's for distances of 5mile, 10km, 10mile, HM all show up okay. tried refreshing this a number of times in the browser (firefox 2 on windows) but no joy - any ideas?
          RunningHammer


            PR script working for me now too. However yesterday i created a new personal record for 0.5 mile distance - this shows up on the site but not in the script (which i use to create a google homepage "widget"). My other PR's for distances of 5mile, 10km, 10mile, HM all show up okay. tried refreshing this a number of times in the browser (firefox 2 on windows) but no joy - any ideas?
            sorry i forgot to post the URL i'm using for my PR script: http://www.runningahead.com/scripts/0afb88a2ce9f4aa7b8e21e5f4ab368c9/records any ideas Eric why it's not showing my 0.5 mile record? Cheers D
            eric :)


              sorry i forgot to post the URL i'm using for my PR script: http://www.runningahead.com/scripts/0afb88a2ce9f4aa7b8e21e5f4ab368c9/records any ideas Eric why it's not showing my 0.5 mile record? Cheers D
              RunningHammer, The out of the box script only displays the typical road race distances. To display all your distances, append "?all=1" to it, like this: http://www.runningahead.com/scripts/0afb88a2ce9f4aa7b8e21e5f4ab368c9/records?all=1 eric Smile
              RunningHammer


                You're too quick for me, i was just about to post the fact that i was being a typical user and should practice my own mantrim to RTFM !!!! Your instructions were there all along on the scripts page of course! Thanks Eric Cheers D