From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Org based websites w/o export Date: Tue, 20 May 2014 10:46:36 +0200 Message-ID: <87k39g6dn7.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wmfk6-0004y4-VH for emacs-orgmode@gnu.org; Tue, 20 May 2014 04:49:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wmfk1-0001uF-Pj for emacs-orgmode@gnu.org; Tue, 20 May 2014 04:49:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:56951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wmfk1-0001u3-I0 for emacs-orgmode@gnu.org; Tue, 20 May 2014 04:49:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WmfiK-0000Wx-U4 for emacs-orgmode@gnu.org; Tue, 20 May 2014 10:48:00 +0200 Received: from ip-pool-135.iue.it ([192.167.90.135]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 May 2014 10:48:00 +0200 Received: from rasmus by ip-pool-135.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 May 2014 10:48:00 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Ken Mankoff writes: > I've just come across an interesting website generator that I think has > potential for making Org websites. I have no affiliation with this > project, but thought it might interest this community. I have an > interest in an org-based website, but none of the existing ones have met > my needs yet. > > Jr https://github.com/Xeoncross/jr is a static static (yes 2x) site > generator. Most static site generators work by you writing markdown, > then you converting to HTML locally, and then you uploading the static > HTML pages. Existing Org site generators work like this to, I think - > export to markdown and then convert again with Jekyll. Or of course you > can convert Org to HTML directly. > > Jr works by having javascript render the markdown to HTML. That is, you > write markdown, upload markdown w/o running a generator, and the > generator runs in the browser of the viewer. > > This is efficient for the server (simpler pages) and author (no need to > run a static site generator), but may be globally inefficient for a > popular site (many browser doing rendering). > > If Jr or a fork rendered Org to HTML instead of Markdown to HTML, then > we could have website that are directly written in Org. A starting place > for this is the existing Javascript support for Org here > http://orgmode.org/manual/JavaScript-support.html but that still > requires you to export the Org file to HTML before uploading it to the > web. > > Anyway... maybe of interest to some of y'all. I'll be watching that > program develop and may be contributing to an Org port of it as I have > time. Looks interesting; thanks for sharing. I'll check it out later. One concern, is that for NoScript user, JS is kind of pain compared to "real" static HTML. . . I'm guessing these sites completely broken without JS. Has anyone tested the Jerkyll Org plugin¹? It might be v2-specific, but it would be nice to just be able to commit your Org files. . . –Rasmus Footnotes: ¹ http://jekyllrb.com/docs/plugins/ -- May contains speling mistake