emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Bjergaard <david.b@duke.edu>
To: emacs-orgmode@gnu.org
Subject: Exporting headlines as blog-posts for Jekyll
Date: Wed, 16 Jan 2013 09:39:23 -0500	[thread overview]
Message-ID: <87k3rdp4ys.fsf@duke.edu> (raw)

Hi,

I'm trying to organize my "lab" notebook with org-mode.  Its working
great for personal use, but since my research is collaborative I need to
be able to share my progress with others.  I want to be able to take a
project file that has headlines in the form:
> * <2013-01-14 Mon> Dated Entry 1				     :export:
and export their contents as html to:
/path/to/jekyll/site/_posts/2013-01-14-Dated-Entry-1.html

Then Jekyll will handle the rest for parsing and building up the final
product.  My inspiration is coming from:
http://orgmode.org/worg/org-tutorials/org-jekyll.html#sec-11

I've tried this code on my file and for some reason the timestamp always
comes out as nil, but when I manually run the code, the timestamp is
properly formatted. My specific implementation is here:
https://gist.github.com/4547520

I've checked all the usual places before posting, and I can't seem to
figure out what's going wrong, any insights would be most appreciated.

Cheers,

    Dave

                 reply	other threads:[~2013-01-16 14:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k3rdp4ys.fsf@duke.edu \
    --to=david.b@duke.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).