From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Alexander Subject: Re: Introducing Octopress Exporter Date: Thu, 2 Aug 2012 13:44:20 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swvn9-0007wU-Fq for emacs-orgmode@gnu.org; Thu, 02 Aug 2012 09:50:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Swvn5-00014u-IZ for emacs-orgmode@gnu.org; Thu, 02 Aug 2012 09:50:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:54963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swvn5-00014j-1I for emacs-orgmode@gnu.org; Thu, 02 Aug 2012 09:50:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Swvn2-000404-4f for emacs-orgmode@gnu.org; Thu, 02 Aug 2012 15:50:12 +0200 Received: from 134.134.139.76 ([134.134.139.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Aug 2012 15:50:12 +0200 Received: from tomalexander by 134.134.139.76 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Aug 2012 15:50:12 +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 Aurélien Aptel gmail.com> writes: > > I've never heard of octopress, interesting. The only thing I don't > like is how comments are handled. Since it's all static you relying on > an external service like Disqus. I'm not so fond of losing control > over user contribution like that. Besides, the actual service (disqus) > is pretty terrible anyway. I'm always pissed when the comment I sent > gets processed in weird ways yet doesn't do verbatim/code blocks. > > On Thu, Aug 2, 2012 at 1:21 AM, Tom Alexander paphus.com> wrote: > > The important changes are all at the bottom of the file. Basically I > > just grab the text before the html preprocessor gets to it and go > > through line-by-line to find the code blocks. > > Have you tried Nicolas Goaziou new parser? org-element.el is a big > improvement for org-mode IMHO. > > Yeah, the whole Disqus comments thing can be a pain, but since the pages are all static its a lot easier on your web server and possibly faster since you don't have a server side language rendering the page. Also, having the posts written mostly in plain HTML (with some special markup for the header and code blocks) its easy for anyone who has written HTML to pick it up, and even easier to use other tools like org-mode to post to it. In terms of org-element, I did look at it when I was writing this, and it looks significantly better, but I was getting errors loading org-mode from the repository at the time. After writing this I learned that apparently master is the development branch for this project, not the stable branch. I might re-write this for the new exporter later since I'm sure the old exporter is on its way out.