From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Need help exporting subtrees to html Date: Thu, 31 Dec 2009 10:17:56 -0700 Message-ID: <87pr5vf4fv.fsf@gmail.com> References: <55bd243d0912270834j73859a65veae0d06d39755257@mail.gmail.com> <3780C6B3-72F7-4438-8100-A307D9716857@gmail.com> <55bd243d0912271131r55927ec3w9edf16ff605f9f9c@mail.gmail.com> <773F1CE8-2EB7-4D29-BCD8-126C64EF6532@gmail.com> <55bd243d0912310550u79d37a3dia3ec509f5f04aa03@mail.gmail.com> <87tyv7f4kc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQOf0-0003It-4z for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 12:18:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQOeu-0003Cl-L5 for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 12:18:04 -0500 Received: from [199.232.76.173] (port=54428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQOeu-0003Ci-E7 for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 12:18:00 -0500 Received: from mail-yx0-f191.google.com ([209.85.210.191]:48186) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQOeu-000513-O3 for emacs-orgmode@gnu.org; Thu, 31 Dec 2009 12:18:00 -0500 Received: by yxe29 with SMTP id 29so36702689yxe.14 for ; Thu, 31 Dec 2009 09:18:00 -0800 (PST) In-Reply-To: <87tyv7f4kc.fsf@gmail.com> (Eric Schulte's message of "Thu, 31 Dec 2009 10:15:15 -0700") 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: Juan Reyero Cc: org-mode Mailing List , Carsten Dominik Also, please share your results with Worg - http://orgmode.org/worg/org-tutorials/org-jekyll.php - http://orgmode.org/worg/org-blog-wiki.php Thanks -- Eric "Eric Schulte" writes: > Juan Reyero writes: > >> On Thu, Dec 31, 2009 at 9:15 AM, Carsten Dominik >> wrote: >>> On Dec 27, 2009, at 8:31 PM, Juan Reyero wrote: >>>> On Sun, Dec 27, 2009 at 7:35 PM, Carsten Dominik >>>> wrote: >>>>> On Dec 27, 2009, at 5:34 PM, Juan Reyero wrote: >>>>>> I have written a function to export org-mode subtrees as jekyll post= s, >>>>>> http://juanreyero.com/open/org-jekyll/ =C2=A0The idea is that any en= try in >>>>>> an org-publish project that has a :blog: keyword and an :on: property >>>>>> with a timestamp should be exported to a _posts directory with the >>>>>> year-month-day-title.html that jekyll expects, with the properties as >>>>>> front-matter. > [...] >> Looks like it is not going to be a small investment. For the time >> being I'll stick to writing blog posts as first-level entries, and >> I'll try to figure it out when I find some more time. Thank you very >> much for your answers. >> > > Hi, > > If it helps, I've been doing something similar to support publishing > updates on the org-babel development -- using the code shown here [1] > under the "Development Updates" section. This generates a files in > _posts for each subtree of of the "tasks" and "bugs" sections which have > a time-stamp in their properties. It should be fairly straightforward > to adapt this code to export all properties as YAML frontmatter. > > Best -- Eric > > Footnotes:=20 > [1] http://eschulte.github.com/babel-dev/publish.html