From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Reyero Subject: Re: Announcing org-jekyll Date: Tue, 2 Feb 2010 13:57:38 +0100 Message-ID: <55bd243d1002020457y66e82278r3feecb8d38e3761c@mail.gmail.com> References: <55bd243d1001291516m2b3fe054u8da0f64edf6b8d25@mail.gmail.com> <243263DF-04B0-4889-A72D-CBEB7E3C87DD@uva.nl> <87aavsn1xn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcIK8-000562-LX for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 07:57:44 -0500 Received: from [199.232.76.173] (port=44019 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcIK7-00055u-8h for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 07:57:43 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcIK4-0002tY-Tk for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 07:57:43 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:54444) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcIK4-0002sU-Ff for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 07:57:40 -0500 Received: by fxm7 with SMTP id 7so5523fxm.8 for ; Tue, 02 Feb 2010 04:57:38 -0800 (PST) In-Reply-To: <87aavsn1xn.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: org-mode Mailing List On Mon, Feb 1, 2010 at 9:20 PM, Eric Schulte wrote= : > I have been exporting org-mode subtrees to jekyll blog posts on a couple > of projects, and I've found it really handy > - resulting in more attractive web pages than I'm able to generate > =A0directly from org > - for the liquid syntax which jekyll provides for programmatic > =A0generation of elements of html files > - and for the ability to automatically generate xml/atom/rss from my > =A0projects > > One issue that I've not been able to solve is the resolution of > intra-file links when I'm exporting subtrees to external files. =A0For > example say I have the following file > Taking the above idea one step further, if say each subtree has an > "EXPORT_FILE_NAME" property then it would be great to support link > maintenance during export of all such subtrees in a file It is a great idea. Most of my links end up being in http format pointing to the final location of things, which is a brittle solution and prevents following them from org-mode. For exporting subtrees in jekyll format you'd probably want to allow the value of EXPORT_FILE_NAME to be a function that computes it from the entry properties. Another problem is how to export images and attachments. I haven't solved it yet: I manually copy them to their final destination, and have a link in org-mode that will translate to something correct when exported. It'd be great to be able to refer to an attached file from a link in an entry, and copy during export the attachments directory. Best, Juan --=20 http://juanreyero.com/ http://unarueda.com