emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "'Mash (Thomas Herbert)" <mashdot@toshine.net>
To: David Engster <deng@randomsample.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org as a static site generator
Date: Wed, 10 Apr 2013 10:17:04 +0100	[thread overview]
Message-ID: <20130410091704.GA13217@localhost> (raw)
In-Reply-To: <87y5d2cxmz.fsf@engster.org>

On 2013-04-01 13:12+0200, David Engster wrote:
> I'd like to use Org as a static site generator. I know quite a few
> people use Org to manage their sites, so I'd like to know what's already
> available and what I'd need to add to make this working properly.
>
> I know of course how to export a bunch of Org files to HTML through the
> publishing features. However, that's not really cutting it, I'm afraid.
>
> Thing of a typical HTML5 template having a <header>, <nav>, <footer>,
> and <article>. I'd like Org to include the different exported files into
> the <article> section, and the rest to remain the same. The <nav> would
> contain a global navigation menu, also highlighting the current active
> section (though CSS, no JS please).
>
> Has anybode done something like this?
>
> -David
>

I rolled my own called "Orgile".

http://toshine.org/etc/orgile-emacs-org-mode-file-html-parser-php-publishing-tool/

I would love someone to help me develop "classOrgile.php" the org-mode
file to HTML parser can be used as a stand-alone PHP class in what
ever tool you want.

I am not much of a developer so this is a garden-shed effort, but as
you can see with http://toshine.org it turned out pretty clean, and
allows me to stay in Emacs and just push up the .org file via Git and
Orgile does the rest.

Note: I have tweaked my current Orgile code on my current site versus
the public version on github, so may need to compare the two and
republish to github.

'Mash

  parent reply	other threads:[~2013-04-10  9:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-01 11:12 Org as a static site generator David Engster
2013-04-01 11:29 ` Vincent Beffara
2013-04-01 11:54   ` David Engster
2013-04-01 12:08     ` Vincent Beffara
2013-04-01 19:09       ` Ian Barton
2013-04-05 16:02         ` Christopher Allan Webber
2013-04-06  8:01           ` Ian Barton
2013-04-06 15:15             ` Christopher Allan Webber
2013-04-06 16:13               ` Ian Barton
2013-04-10  9:17 ` 'Mash (Thomas Herbert) [this message]
2013-04-10 16:59   ` Bastien
2013-05-27 23:48     ` François Pinard
2013-05-29 13:16       ` Eric Schulte

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=20130410091704.GA13217@localhost \
    --to=mashdot@toshine.net \
    --cc=deng@randomsample.de \
    --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).