This is a simple proof-of-concept of how you can easily generate a full podcast location tag using client-side JavaScript. It's intended to show the simplicity of producing a fully-featured tag
Of note: a) this has no error checking; b) this always chooses the first result. We ask for a country here to a) narrow down the search results, and b) because the OpenStreetMap API does not return a country code.