Scripts below handle export of posts and comments from Serendipity
( PHP blog to Blogofile (
static blog generator.

      Export blog posts and static pages (reads Serendipity database,
      writes blogofile-compatible _posts directory and some extra

      Export blog comments (reads Serendipity database, writes XML
      suitable for Disqus import). Not really related to blogofile,
      can be used in any serendipity-to-disqus scenarios.

Read comments inside both files for more detail.

WARNING: You must edit connection strings inside scripts before running them!!!!