From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Herbert Subject: Re: Publishing notes to a website Date: Tue, 15 Mar 2011 00:28:42 +0000 Message-ID: <20110315002842.97947dzdm85pn484@webmail.tuffmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=54403 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzI7x-0000eI-KO for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 20:28:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzI7w-00074T-4Z for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 20:28:45 -0400 Received: from mxout-08.mxes.net ([216.86.168.183]:39095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzI7v-00074I-Vw for emacs-orgmode@gnu.org; Mon, 14 Mar 2011 20:28:44 -0400 Received: from wm1.irbs.net (wm1.irbs.net [216.86.168.168]) by smtp.mxes.net (Postfix) with ESMTP id 35FC2509D9 for ; Mon, 14 Mar 2011 20:28:43 -0400 (EDT) Received: from localhost (wm1.irbs.net [216.86.168.168]) by wm1.irbs.net (Postfix) with ESMTPA id 0EECF4FF681 for ; Mon, 14 Mar 2011 20:28:43 -0400 (EDT) Content-Disposition: inline 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: emacs-orgmode@gnu.org Kyle Sexton mocker.org> writes: > I'm looking for advice on ways people are publishing their org notes > to a website. So far I've looked at blorgit and it's really nice, but > the dependency for a backend emacs session and running through sinatra > makes me wary of putting it out on my server for the world. > > 1. What methods are people using to publish their org notes? > 2. Anyone have sample sites that I can see what the output looks like? Kyle, I have been actually been working on a simple clean solution for =20 writing in org-mode and keeping the file as org-mode. What I have come =20 up with is a "Textile" like PHP class that translates org-mode files =20 into HTML. It is still very very alpha and hope to release the code soon for =20 people to look at, work and improve or completely scrap and take my =20 idea and do it better. You can see it in action at http://toshine.org where I have built a =20 simple flatfile CMS that reads .org files in a folder, reads the =20 org-mode header, and creates menus, creates post titles, meta =20 descriptions, dates etc and is then passed through my "orgile" php =20 class that spits out HTML. My aim was to simply keep the files as =20 org-mode and stick them in a folder and let the CMS deal with the =20 rest. Also I didn't like the complexity of "Jekyll" =20 http://jekyllrb.com/ installing ruby gems, YAML and all that. I have a =20 single php file for the CMS and a single php file for the "orgile" =20 class. The class is totally independent of the CMS, like "textile" and =20 the "textile class". If you look at the bottom of a website article you can see the .org =20 file. I still have a lot to do and currently I have just added the =20 features that I needed like basic HTML markup, footnotes and =20 blockquotes. My aim really was to spend time writing my articles and =20 throwing them into a folder. Most of the time I correct the file via =20 "Tramp" in Emacs and don't have to republish anything as the file is =20 just read. I have though added PHP cache_lite in my CMS so the pages are created =20 as HTML via "orgile" but served as the cached HTML page. Saves PHP =20 processing for pages that don't change the whole time. I just remove =20 the page from cache if I make a edit later. Anyway have a look and just to say I am totally focused on staying, =20 working and dealing only with org-mode files so I can concentrate on =20 the writing. Hopefully "orgile" will become useful for people or at =20 least spark some better programmers writing a better version of it. 'Mash http://toshine.org