A very simple export of the serendipity entries to a mardown file. Use this as a base to get started and write your own export. This usese the pandoc commandline tool to convert the HTML to MD... http://pandoc.org/