Export Timeline/Audio markers?

I still like to use old-fashioned dope sheets sometimes. Does anyone know of a script, hack, or hidden function that exports the marker information from the Timeline or Audio windows to a text file or the text window? This is usually a list of frame number of the marker, corresponding time in seconds:frames, and labels.