From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Reyero Subject: Re: Announcing org-jekyll Date: Tue, 2 Feb 2010 14:56:42 +0100 Message-ID: <55bd243d1002020556s51641fa8q48d3daa9641956b7@mail.gmail.com> References: <55bd243d1001291516m2b3fe054u8da0f64edf6b8d25@mail.gmail.com> <55bd243d1002011114y1c1058an1f427aaf23efb83b@mail.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 1NcJFH-0007VY-Uf for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 08:56:48 -0500 Received: from [199.232.76.173] (port=35733 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcJFH-0007V0-Gu for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 08:56:47 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcJFF-0005B1-ED for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 08:56:47 -0500 Received: from gv-out-0910.google.com ([216.239.58.187]:24958) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcJFF-0005Ac-1k for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 08:56:45 -0500 Received: by gv-out-0910.google.com with SMTP id l14so579gvf.17 for ; Tue, 02 Feb 2010 05:56:43 -0800 (PST) In-Reply-To: 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: Rick Moynihan Cc: org-mode Mailing List On Tue, Feb 2, 2010 at 11:37 AM, Rick Moynihan wr= ote: > On 1 February 2010 19:14, Juan Reyero wrote: >> On Mon, Feb 1, 2010 at 12:23 PM, Rick Moynihan = wrote: >>> On 29 January 2010 23:16, Juan Reyero wrote: >>>> Full description: http://juanreyero.com/open/org-jekyll/ >>>> Source code: http://github.com/juanre/org-jekyll >>> >>> I'm not entirely clear on how the org-publish-project-alist relates to >>> org-jekyll and org-jekyll-export-blog? =A0What do you need to do to set >>> this up, other than annotate headlines with :blog: keywords and :on: >>> properties? >> >> You set it up so that the files that contain blog entries belong to an >> org-publish project, as described for example in >> http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php >>> I've found that calling org-jekyll-export-blog, seems to do nothing... >> >> It should, if the file from which you are calling is part of an >> org-publish project, and there are entries with the :blog: tag and the >> :on: property. > > Ok, it turns out that there were several problems I had... =A0After some > time in the emacs debugger, it turned out that the default values for > org-jekyll-category and org-jekyll-localize-dir are non-nil... which > was causing the _posts/ directory to be set to a directory that > doesn't exist. =A0Overriding these to nil fixed the first problem. Souds like the most sensible default, just changed in the repository. It should only fail if you happened to have a :lang: property in your entries, though. > The second problem was that my tags and property keys are all in > uppercase, yet org-jekyll only works for lower-case keys. Changed that too. Now it accepts both lower- and upper-case :BLOG: and :ON= :. > Also it would be nice for org-jekyll-export-blog to fail with an > error, rather than just dying silently. =A0Alternatively even better > might be for it to construct the _post and category directories it > needs if they don't already exist.... Changed to create the directories if they don't exist. Now the biggest thing still on my list is taking care of accented characters in entry names. Looks like some browsers don't like them in urls. Best, Juan --=20 http://juanreyero.com/ http://unarueda.com