From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: How to export property values of agenda selection? Date: Sun, 07 Apr 2013 09:06:19 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOjeM-0008I8-Kh for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 03:04:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOjeH-0005aK-CI for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 03:04:26 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:44730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOjeH-0005a1-5S for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 03:04:21 -0400 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Karl Maihofer Cc: emacs-orgmode@gnu.org 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