Hi, If I recall, you have a bunch of tagged headings with EMAIL properties, and you want to extract a comma-separated list of email addresses based on tag matching. I posted an example of one approach, using a Babel block to put results inline.
I'm not quite clear on your use case / desired result now. Why do you want results through batch mode on the command line in order to embed them in a webpage? Embed how? Is this something you could perhaps do simply by exporting from Org to HTML? Yours, Christian > Does anybody know how to get the results via Emacs batch mode on the command > line? I'd like to embed the results in a webpage. > > The following is my starting point and of course terribly wrong and it > doesn't work. It's hard for me to find documentation (that I understand). > > $ emacs -batch -l ~/.emacs -eval (progn > (find-file \"~/test.org\") > (org-babel-execute-src-block 'list2csv) > (kill-buffer))" > > Thanks, > Karl