From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: HTML + RDFa export/publishing ? Date: Tue, 21 Apr 2015 16:17:10 -0400 Message-ID: References: <87vbgxxwnd.fsf@inf-11879.int-evry.fr> <87vbgpn272.fsf@inf-11879.int-evry.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykebg-0000bJ-6t for emacs-orgmode@gnu.org; Tue, 21 Apr 2015 16:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ykeba-0007R6-IW for emacs-orgmode@gnu.org; Tue, 21 Apr 2015 16:17:20 -0400 Received: from mail-qg0-x236.google.com ([2607:f8b0:400d:c04::236]:32874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykeba-0007Qm-Dt for emacs-orgmode@gnu.org; Tue, 21 Apr 2015 16:17:14 -0400 Received: by qgdy78 with SMTP id y78so73772753qgd.0 for ; Tue, 21 Apr 2015 13:17:13 -0700 (PDT) In-reply-to: <87vbgpn272.fsf@inf-11879.int-evry.fr> 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: Olivier Berger Cc: "emacs-orgmode@gnu.org" your code doesn't look any uglier than mine ;) You could replace many of your (if ) constructs with (when ) since there is no else clause, but your (if ) constructs work just fine. Olivier Berger writes: > Hi. > > I've finally devoted a bit more time to follow the lines you'd drawn in > the post below, and here's the result : > > http://www-public.telecom-sudparis.eu/~berger_o/test-org-publishing-rdfa.html > > It's not perfect as it doesn't offer a universal compact way to map all > RDFa constructs to some handy and compact org syntax, but given a small > number of patterns, and the corresponding elisp converter code, I think > it achieves a quite interesting solution. > > Many thanks for the suggestion. > > Also, any comments much welcome (and yes, my lisp is ugly ;). > > Best regards, > > John Kitchin writes: > >> Can you give us an example of what you are trying to do? I don't think >> org-mode supports this rich of behavior out of the box, but see >> http://kitchingroup.cheme.cmu.edu/blog/2015/02/05/Extending-the-org-mode-link-syntax-with-attributes/ >> for an example idea of what you could imagine doing with a link type >> approach that could be inline with text. >> -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu