So I have about 90 more entries of my walks to go through. I did a few manually, but I bet I could do this automatically with AppleScript or something.
This are the bits of the files I want:
<durationString>30'11"</durationString>
<distanceString>0.96 mi</distanceString>
<pace>31'30" / mi</pace>
I just want a little script that pulls out that middle data in a way so I could copy and paste that into a spreadsheet manually. So the end result would be:
30'11" 0.96 mi 31'30" / mi
Which would automatically format itself to filling three cells that I could clean up so it can be used to calculate averages in total. I'd put the date in separately.
A snippet or link to a tutorial would be appreciated. Something that dumps it all into a plain text file would be fine.
This are the bits of the files I want:
<durationString>30'11"</durationString>
<distanceString>0.96 mi</distanceString>
<pace>31'30" / mi</pace>
I just want a little script that pulls out that middle data in a way so I could copy and paste that into a spreadsheet manually. So the end result would be:
30'11" 0.96 mi 31'30" / mi
Which would automatically format itself to filling three cells that I could clean up so it can be used to calculate averages in total. I'd put the date in separately.
A snippet or link to a tutorial would be appreciated. Something that dumps it all into a plain text file would be fine.