Thursday, October 09, 2014

Foursquare export for dummies

I use Foursquare to keep track of where I go when travelling. After my recent trip to NYC, I wanted to export the place names of where I went.

This is how you do it:

1) go to https://foursquare.com/feeds/ and copy the RSS link to your clipboard
2) go to http://www.freeformatter.com/xpath-tester.html
3) paste the link from (1) and append ?count=30 
or however many places you visited and want exported. The feed will be in reverse chronological format.
4) enter path expression //item/title
5) select No for "Include the XML item type in output" dropdown
6) copy and paste the ouput to some editor that lets you do a search & replace. Replace extraneous xml tags with blank.

Maybe I'll make a little web app to do all this in one step.

No comments: