For a quick work around, Pandoc can read in HTML, so perhaps you can export org to HTML and then process it with Pandoc.
You can even use the following script so you can pipe it from the command line.
#!/usr/bin/emacs --script
;read stdin into a temp buffer
;go into org-mode
;output the buffer as a string and pipe to stdout
(with-temp-buffer
(progn
(condition-case nil
(let (line)
(while (setq line (read-from-minibuffer ""))
(insert line)
(insert "\n")))
(error nil))
(org-mode)
(princ (org-export-as-html nil nil nil 'string))
))
Chris.