From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: another blog exporter Date: Mon, 10 Feb 2014 09:48:48 +0100 Message-ID: <874n47bbf3.fsf@bzg.ath.cx> References: <52F5137D.2000003@roklein.de> <52F6966C.2040409@roklein.de> <87ppmwra82.fsf@bzg.ath.cx> <52F78FDC.8090402@roklein.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCmYC-00073o-4Q for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 03:49:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCmY4-0002P4-6y for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 03:49:12 -0500 Received: from rs249.mailgun.us ([209.61.151.249]:45325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCmY3-0002Ou-W1 for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 03:49:04 -0500 In-Reply-To: <52F78FDC.8090402@roklein.de> (Robert Klein's message of "Sun, 09 Feb 2014 15:25:32 +0100") 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: Robert Klein Cc: emacs-orgmode@gnu.org Hi Robert, Robert Klein writes: > I posted the latest three posts on http://www.xyzzy.de using > ox-blog. Neat, thanks! > I can use #+ATTR_HTML, but I wasn't sure about using new attributes, > e.g. :highlight and :lineno for source blocks. I didn't want to pollute > ATTR_HTML with things that are of no use for the HTML exporter. You're right. Somehow this calls for a way to let a backend use several affiliated keywords. For example you would have: #+ATTR_HTML: :width 400px #+ATTR_BLOG: :lineno t and the exporter would take both into account, letting you to simply export to HTML without the need to add redundant information. Nicolas, did this cross your mind? Or maybe this is already feasible? > If you don't see a problem in #+ATTR_HTML, I'll happily change this. No, that will pollute the HTML export (I don't expect anything weird in the HTML output with unknown attributes, but the document will not validate correctly, and this is confusing anyway.) Thanks! -- Bastien